blob_id large_stringlengths 40 40 | language large_stringclasses 1
value | repo_name large_stringlengths 5 119 | path large_stringlengths 4 271 | score float64 2.52 4.84 | int_score int64 3 5 | text stringlengths 26 4.09M |
|---|---|---|---|---|---|---|
822d75c669dc7ed47e8bb8bce7099dac14d1d570 | C# | nano-byte/common | /src/Common/Values/EnumExtensions.cs | 2.65625 | 3 | // Copyright Bastian Eicher
// Licensed under the MIT License
using System.Reflection;
namespace NanoByte.Common.Values;
/// <summary>
/// Contains extension methods for <see cref="Enum"/>s.
/// </summary>
public static class EnumExtensions
{
/// <summary>
/// Checks whether a flag is set.
... |
c3cd64a10a8da26a53c6bb43606585e7c690bdfb | C# | Abbylester/AKA | /Programming4NE1/CSharp/source/12 Loops/02 ForLoop/ForLoop.cs | 3.5625 | 4 | using System;
class ForLoop
{
public static void Main()
{
// Variable Declaration
int iCounter ; // It's just as easy to declare this within the For Loop itself
// Starting at 0 ; While Var is less than 10 ; Increment Var by 1 each loop
for ( iCounter = 0 ; iCounter < 10 ; iCounter++ )
... |
e0dd70a0a5c0a01f42cc4c1d937c78a3532f8f60 | C# | aninamaev/XAndZeroGame | /XAndZeroGameDodo/Players/ComputerPlayer.cs | 3.0625 | 3 | using System;
namespace XAndZeroGameDodo
{
public class ComputerPlayer : Player
{
public override void Move(byte x, byte y)
{
if ((x < 3) && (y < 3))
Table.GameTable[x, y] = 0;
}
public override void InitiateMove()
{
var random = ... |
2e986eff9d21ea34f280d4f6da716768f9829e63 | C# | aeinstein/BrainSimulator | /Sources/Modules/ToyWorld/Utils/VRageRIP/Lib/Collections/AsyncBuffer.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace VRage.Library.Collections
{
public class AsyncBuffer<T> : IDisposable
{
private readonly Queue<T> m_queue;
private readonly Queue<TaskCompletionSource<T>> m_waitingTasks;
pu... |
cf42ffe056b9529f749771be13e7584a34dc1f4a | C# | rhinos07/OSMScout | /OpenStreetMap Scout (Forms)/SlippyMap/FormObjectDetails.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace OpenStreetMapScout.SlippyMap
{
/// <summary>
/// show details of object
/// </summary>
public partial class FormOb... |
2cc426e6056024cf664a1d098a5f8d52c182659f | C# | Dhaya06/FS_WORK | /BusinessObjects/purchase_product.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessCommon;
using System.Data.SqlClient;
namespace BusinessObjects
{
public class purchase_product
{
public int pid {set;get;}
public int stock_id {set;get;}
... |
8e9dc515c8322c5ec8d19b467011226b56b90e43 | C# | KornnerStudios/KSoft | /KSoft.IO.TagElementStreams/TagElementStreamBookmark.cs | 2.859375 | 3 | using System;
using System.Diagnostics.CodeAnalysis;
#if CONTRACTS_FULL_SHIM
using Contract = System.Diagnostics.ContractsShim.Contract;
#else
using Contract = System.Diagnostics.Contracts.Contract; // SHIM'D
#endif
namespace KSoft.IO
{
/// <summary>
/// Helper type for exposing the <see cref="TagElement... |
94461101dd207aeda6a2649787f07b3857922a86 | C# | conovich/AILikeYou | /Assets/Scripts/Player_New/AIReaderRecorder_New.cs | 2.53125 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
public class AIReaderRecorder_New : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void WriteActionsToFile(... |
c624bdee9f9c176a0b1bbe5ea1b8603c364bcde5 | C# | RobertDurfee/RoslynPath | /RPElementBuilder.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace RoslynPath
{
internal class RPElementBuilder : IRPElementBuilder
{
protected Dictionary<string, string> Options { get; set; }
public IRPElement Element { get; protected set; }
private... |
1bcbb44a05ea692ef0021f6c8944926741c298eb | C# | kpedltd/store-adminer | /StoreAdminer/Forms/UserForm.cs | 2.71875 | 3 | using StoreAdminer.Data;
using StoreAdminer.Data.Models;
using StoreAdminer.Data.Services;
using System.Collections.Generic;
using System.Windows.Forms;
namespace StoreAdminer.Forms {
public partial class UserForm : Form {
private User user;
private readonly UserService userService = UserService.... |
1e82285d96e3f3a32abf81ad7709e82099eb6a85 | C# | ST52084/C_Course_002 | /Lessons 8/ClassWork/ConsoleApp1/Program.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
/*
var doublespis = new List<double>();
Console.WriteLine("Введите цифру:");
string a;
double result = 0;
do
{
a = (Console.ReadLine());
try
{
doubl... |
6a91aaa4248b60c0f7ed71f6fcb20a98e48f2b2a | C# | wangf0228GitHub/ZXJ | /PhotoelectricSystemDesign/SerialDemo1/SerialDemo1/Form1.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SerialDemo1
{
public partial class Form1 : Form
{
public Form1()
{
... |
f9c906036d97e18ab55aa8d27a84d38dc51a6dcf | C# | leumaskabiena/GlenwoodMedicalCentre- | /GlenwoodMedicalCentre/Controllers/Select2Controller.cs | 2.90625 | 3 | using GlenwoodMed.Data.Tables;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace GlenwoodMedicalCentre.Controllers
{
public class Select2Controller : Controller
{
//GET: Select2
// [HttpGet]
// public ActionResult GetAtt... |
f96067123f27ef8bd7faad9f469860bce380c58d | C# | thewhiteflower110/.net | /dataGrid.cs | 2.734375 | 3 | namespace WindowsFormsApp7
{
public partial class Form1 : Form
{
SqlConnection con = new SqlConnection("Data Source=(localdb)\\ProjectsV13;Initial Catalog=db1;Integrated Security=True;Connect Timeout=15;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;MultiSubnetFailover=False");
... |
9fb49bc30e9dbc838c8ac79dd5f6780094bc9330 | C# | JamesSkemp/MyMDB | /PawJershauge.IMDBFlatFiles/base files/util.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
namespace PawJershauge.IMDBFlatFiles
{
public static class util
{
//public static string ConnnectionString = "Data Source=WSW7ODPAW;Initial Ca... |
ba83a2445c62c6ab785c57ef40706c901ae78803 | C# | phiradet/BiGramTrie | /CreateBiGramTrie/Trie2.cs | 2.84375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Xml.Serialization;
namespace CreateBiGramTrie
{
[Serializable()]
public class Trie
{
... |
e63207fd2d22f0f91c65117d88e2778e57dae368 | C# | Ico093/TelerikAcademy | /C#OOP/Homework/04.DefiningClassesPart1/DefiningClassesPart1/01.GSM/CallHistory.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class GSMCallHistoryTest
{
public static void Test()
{
try
{
GSM Samsung = new GSM("Samsung S4", "Samsung", 1200, "Ivan", BatteryTypes.Lilon, 140, 23, 4.7, 512000);
... |
509bd7b3daf05cd4a167ee1884d246cfea2f96aa | C# | zmjheart/C-Homework | /WindowsFormsAppP95 test ListBox/WindowsFormsAppP95 test ListBox/Form1.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsAppP95_test_ListBox
{
public partial class Form1 : Form
{
public F... |
b0f9db86278f9745ba77521ab74c13fae08b40c3 | C# | yijunyu/demo | /datasets/corefx-1.0.4/src/System.Collections/tests/BitArray/BitArray_CtorTests.cs | 2.515625 | 3 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace System.Collections.Tests
{
public c... |
6fde325cc4fab832488f892be835d4e89dcb6b5f | C# | shendongnian/download4 | /first_version_download2/567119-54047394-188954581-2.cs | 3.921875 | 4 | public class Program
{
private static int callCount = 0;
private static int WriteToConsole(int lemmings)
{
callCount += 1;
int currentCall = callCount;
Console.WriteLine("Call number {0} has Lemmings = {1}", currentCall, lemmings);
int i = lemmings;
Console.WriteLine("Cal... |
bd3cc21a11670e8611d9b470b2f5e24c60bb2fb7 | C# | shendongnian/download4 | /code7/1330818-35887360-112781829-2.cs | 3.15625 | 3 | public interface IOptional
{
bool HasBeenSet { get; }
}
public struct Optional<T> : IOptional
{
internal readonly T Val;
public Optional(T value)
{
Val = value;
HasBeenSet = true;
}
public Optional(Optional<T> value)
{
... |
f4856658c8d6071e3908b82931a5ef84210fa759 | C# | SkillsFundingAgency/tl-results-and-certification | /src/Tests/Sfa.Tl.ResultsAndCertification.Functions.UnitTests/DateTimeExtensions/TestSetup.cs | 2.609375 | 3 | using Sfa.Tl.ResultsAndCertification.Common.Enum;
using System;
using System.Collections.Generic;
namespace Sfa.Tl.ResultsAndCertification.Functions.UnitTests.DateTimeExtensions
{
public abstract class TestSetup
{
public static IEnumerable<object[]> Data
{
get
{
... |
5e9248fdf61f991525ad70ac251e31b6f46a8e7a | C# | vedant-kadam/RpG-Game-Unity- | /Rpg Project/Assets/Scripts/Collidable.cs | 2.90625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Collidable : MonoBehaviour
{
public ContactFilter2D filter;//collider and filter go hand in hand we can do various thing with it
private BoxCollider2D boxCollider;
private Collider2D[] hits = new Collider2D[10];//u... |
bdea548293a727e2389e26129f0b8d6ab9db7599 | C# | BryanWilhite/LinqPad | /Queries/funkyKB/WPF/MouseMove direction with DispatcherTimer in custom object.linq | 2.578125 | 3 | <Query Kind="Program">
<Reference><RuntimeDirectory>\WPF\PresentationCore.dll</Reference>
<Reference><RuntimeDirectory>\WPF\PresentationFramework.dll</Reference>
<Reference><RuntimeDirectory>\System.Xaml.dll</Reference>
<Reference><RuntimeDirectory>\WPF\WindowsBase.dll</Reference>
<Nam... |
9422aad33fbf1a1e4858a6ec9aace0a01b910ffa | C# | AnthonyArmatas/DarwinsDescent | /DarwinsDescent/Assets/Scripts/Characters/MonoBehaviour/Health/PlayerHealth.cs | 2.84375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace DarwinsDescent
{
public class PlayerHealth : Health
{
public int RealHp { get; set; }
// Min Real HP that can exist in the hp pool. Used when funne... |
7b497ac084df3994c0b4fd78de11d78253d40fda | C# | gongwang/BreakJunctionsExperiment | /BreakJunctionsExperiment/Data Handling/Time Trace Data Handling/TimeTraceSingleMeasurement.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Hardware;
using BreakJunctions.Events;
namespace BreakJunctions.DataHandling
{
class TimeTraceSingleMeasurement : IDisposable
{
private string _FileName;
public string FileName { get {... |
71bee897073852ce5e6311a69bb59abda4c4a24c | C# | oibuoye/Event | /Event.Core/Utilities/ResponseCodeDescription.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Event.Core.Utilities
{
public static class ResponseCodeDescription
{
public static string Request_Successful(string message = null)
{
if (string.IsNullOrEmpty(message)) { return $"Created Successfully"; }
... |
1b576df8928efa1875e29d6a7573e3f786fd03fa | C# | AntoinePfad/Formation-C-DTA | /Musique/Musique/Classes/Piste.cs | 3.078125 | 3 | using Musique.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
namespace Musique.Classes
{
public class Piste<T> : IEnumerable<INote> where T : IStyle, new()
{
public T Style;
p... |
1b9bef0e945e9fedbcb2c8acce5e5ad7c32106dc | C# | GregoriBrunoFelicio/ASMCompiler | /src/Program.cs | 3.328125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CompilerASM
{
class Program
{
static void Main(string[] args)
{
var assemblyCode = @"
; My first program
mov a, 5
... |
6b525d3307d0421f602531ca85073d7f342649a6 | C# | SaxxonPike/roton | /Source/Roton/Emulation/Core/Impl/TextEntryHud.cs | 2.609375 | 3 | using System;
using System.Diagnostics;
using Roton.Emulation.Data.Impl;
using Roton.Emulation.Infrastructure;
using Roton.Infrastructure.Impl;
namespace Roton.Emulation.Core.Impl
{
[Context(Context.Original)]
[Context(Context.Super)]
public sealed class TextEntryHud : ITextEntryHud
{
private r... |
c6d7e4065b38a2e2b2330625ab089edb8cfcb4e4 | C# | taotao111/Sqlite | /Code/ExtensionsCSharp/StringExtensions.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Code.External.Engine.Sqlite
{
public static partial class Extensions
{
public static bool IsNullOrEmpty(this string source)
{
return string.IsNullOrEmpty(source);
}
publ... |
3effc69d66aace41c6429e2c1caed12425fb0944 | C# | Sameer18-Dev/WE-Fall19-Assignment04 | /WEB_Assignment04/Program.cs | 3.609375 | 4 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WEB_Assignment04
{
/* Assignment#4 */
interface FTE
{
double calculateSalary(double bonus, double salar... |
7c3f661f8a23dc6a510491d2e9c3727680b6512f | C# | davidrodjen/BookRegistrationFinal | /BookRegistrationFinal/BookRegistrationDB.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BookRegistrationFinal
{
static class BookRegistrationDB
{
/// <summary>
/// Confirmation bool for if the user want's to register
... |
5a3a81ea31bc4d365c5cbbc3bf9c3f3cd92aa9d7 | C# | SabinPruna/mvp | /Match/ViewModels/AccountsViewModel.cs | 2.671875 | 3 | using System;
using System.Collections.ObjectModel;
using System.IO;
using System.Windows;
using System.Windows.Input;
using Match.Commands;
using Match.Helpers;
using Match.Models;
using Match.Views;
using Newtonsoft.Json;
namespace Match.ViewModels {
public class AccountsViewModel {
#region Properties
... |
f4d321e83d02199d8dc019be9c27b4b995e298a8 | C# | DenisMechonoshin/practice | /Учебная практика 3/Учебная практика 3/Program.cs | 3.625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Учебная_практика_3
{
class Program
{
static void Main(string[] args)
{
double x, y, n;
bool ok;
Console.WriteLine(... |
304cd78f4b99154dc62120cbf2e4021a340c5d33 | C# | MeirLessons/Lesson-3-HWS-Basic-arrays | /Program.cs | 3.328125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lesson_3_HWS_BasicArrays
{
class Program
{
static void Main(string[] args)
{
#region Qst 1
int[] myArr = new int[10];
... |
a8ecf2697a1c54ed1cba87bbd000a4a42ef29f92 | C# | m-hansen/PULSE | /PULSE/PULSE/Effects/Explosion.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using PulseGame.Helpers;
namespace PulseGame.Effects
{
public class Explosion : Effect
{
private Rectangle[] rects; // rectang... |
66423c1151f7ac0a9fb50e804262940e044a6afb | C# | jnyabe/lang | /c_sharp/array/test.cs | 3.375 | 3 | using System;
class Test
{
public struct Entry
{
public string name;
public int value;
};
static public int FindPup(int max_ent, ref Entry[] ent, ref int num_ent)
{
int ret = 0;
Random rnd = new Random();
num_ent = rnd.Next(1, max_ent);
for(int i=0; i < num_ent; i++)
{
ent[i].name = "na... |
4f0c11f0a0f9873e74bb2a94bae30c91a3015875 | C# | dimitarpopov7/SoftUni | /SoftUni C# Basics/Drawing Figures with Loops/Diamond/Diamond/Program.cs | 3.203125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Diamond
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int sideDash = (n - 1) / 2;
int s... |
cb865629d2ca94fc8b0a74c7673f063c9130d2a0 | C# | velev1/Telerik-Academy | /Module_1/C#_Part_2/01_ArraysHomework/MaximalSequence/MaximalSequence.cs | 3.59375 | 4 | //Problem 4. Maximal sequence
//Write a program that finds the maximal sequence of equal elements in an array.
//Example:
//input result
//2, 1, 1, 2, 3, 3, 2, 2, 2, 1 2, 2, 2
using System;
using System.Collections.Generic;
using System.Linq;
class MaximalSequence
{
static void ... |
1dede072d0ba71ef2acab223f52309ed72a04d8a | C# | gengnan/https---gitlab-unix.devops.amgen.com-ning-stor-sharemanager | /ShareManagerGeo/ShareManagerEdgeMvc/Helpers/EnumHelper.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ShareManagerEdgeMvc.Models;
namespace ShareManagerEdgeMvc.Helpers
{
public static class EnumHelper
{
public static List<SelectListItem> GetSelectList<TEnum>(string selectedItem)
{... |
96f390c4809e6881fd9ace45d988ba9cc36ec954 | C# | Beier/Omnium | /Omnium.Tools/ValueWalkerBuilder.cs | 2.59375 | 3 | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Omnium.Core.ast;
namespace Omnium.Tools
{
public class ValueWalkerBuilder
{
public static void BuildValueWalker()
{
var nodeTypes =
Assembly
.GetA... |
e43028a13b713606ea667b38750478d87c649b46 | C# | SergeyRyzhkov/MapExpress | /MapExpress.CoreGIS/Geometries/MultiCurve.cs | 2.734375 | 3 | #region
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using MapExpress.OpenGIS.GeoAPI.Geometries;
using MapExpress.OpenGIS.GeoAPI.Referencing.CoordinateReferenceSystems;
#endregion
namespace MapExpress.CoreGIS.Geometries
{
public class MultiCurve : Geometry, IMultiCur... |
72c5a7e6f56248fa577c97c339070bf65362f867 | C# | UltimateHardCoder/html-string-writer | /HtmlStringWriter/Div/Div.cs | 3.125 | 3 | namespace HtmlStringWriter.Div
{
using System.Collections.Generic;
using System.Text;
using Attributes;
using Interfaces;
using StaticClasses;
public class Div : AttributeBase, IChildElement
{
private IList<IChildElement> _children;
public Div(params IHtmlElement[] elements... |
5940815b8f598040a6a0c3e1a6bf3a03bf704fcd | C# | MASikka/WhereIsCar | /WhereIsMyCar/Program.cs | 3.65625 | 4 | using System;
namespace WhereIsMyCar
{
class Program
{
// Create a class Car
//The car has a mark name(string), model name(string), registration number(string, no longer than six characters), color(string), odometer(int) and fuel tank(int)
//The odometer value equals 0 by defaul... |
bb2098defffd23b94c5da2e0ad13b1e87782aee1 | C# | PGVSNH20/the-train-track-dreamteam | /Source/TrainEngine/Travel/Simulator.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using TrainEngine.Tracks;
namespace TrainEngine.Travel
{
internal class Simulator
{
public List<TripStop> TimeTable { get; set; }
private TimeSpan Time { ... |
ffcb6937e2ffd1af08b4be3918b1788a64d10215 | C# | jassle/Lab18 | /LinkedList/TheMostAwesomeList.cs | 3.703125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LinkedList
{
class TheMostAwesomeList
{
public Node Head { set; get; }
public Node Tail { set; get; }
public int Count { set; get; }
public void Add(st... |
ac413f461c9cc5d450baa1b624ca11d62c44af70 | C# | natdal/RB_Study_V01 | /Assets/03. Scripts/Character/States/BaseScripts/CharacterState.cs | 2.6875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ver_01
{
public class CharacterState : StateMachineBehaviour // StateMachineBehaviour : Animator에 넣을 스크립트
{
//public CharacterControl characterControl;
public List<StateData> listAbilityData = new List<Sta... |
e93c101b9e940fa601821e51cb411e892363a19a | C# | craynafinal/csharp-ocr-translator | /DesktopApp/Pocos/DesktopBitmapData.cs | 2.890625 | 3 | using AForge;
using AForge.Imaging.Filters;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
namespace DesktopApp.Pocos
{
/// <summary>
/// Collection of bitmap image data to send to ocr engine.
/// </summary>
class DesktopBitmapData
{
public Bitmap Bitmap { get; set; }... |
d7b3b9dfeaf85209f1d11006f0fa0fb3eee70241 | C# | yani-valeva/Programming-Fundamentals | /NumeralTypesAndTypeConvertion/Transport/Transport.cs | 3.734375 | 4 | using System;
public class Transport
{
public static void Main()
{
//int people = int.Parse(Console.ReadLine());
//int capacity = 24;
//int courses = (int)Math.Ceiling((double)people / capacity);
//Console.WriteLine(courses);
int number = int.Parse(Console.ReadLine());... |
657c77a74d035bddd08ae82d1aa96af0da3bedbd | C# | 1mahesh/LeaderboardsSDK | /LeaderboardSDK/LeaderboardContext.cs | 2.78125 | 3 | using System;
using Anishoo.Services.Leaderboard.Model;
using System.Runtime.Serialization.Json;
using System.Net;
using System.ComponentModel;
namespace Anishoo.Services.Leaderboard
{
public class LeaderboardContext
{
string devKey;
string secret;
/// <summary>
/// Constructo... |
bda9e9500b09518a196eb3be917b43a46df0bfa1 | C# | ding005/MMORPGGame | /MMO/Assets/YouYouFramework/Managers/Fsm/Fsm.cs | 2.546875 | 3 | //===================================================
//作 者:边涯 http://www.u3dol.com
//创建时间:
//备 注:
//===================================================
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace YouYou
{
/// <summary>
/// 状态机
/// </summary... |
8086ec94f76efb0bf7114cc9d2ffd51d21efeffc | C# | cuiy0006/Common-in-CSharp | /Demo/DeepAndShallowCopy.cs | 3.359375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Demo
{
public static class DeepAndShallowCopy
{
public static void test()
{
Classroom ClRoom = new Classroom(){RoomID = 1};
Student st = new Stu... |
06c65ad768699404e2dc25177ffd7a2d2f0dcd05 | C# | lcCarlosCelis/DatingApp | /Api/Repositories/User/UserRepo.cs | 2.703125 | 3 | using System.Collections.Generic;
using System.Linq;
using Api.Data;
using Api.DTOs.User;
namespace Api.Repositories.User
{
public class UserRepo : IUserRepo
{
private readonly DataContext dataContext;
public UserRepo(DataContext dataContext)
{
this.dataContext =... |
9209505345dd123d16ac1bed676962366d19961a | C# | azambrano/AngleSharp | /AngleSharp/Factories/MathElementFactory.cs | 2.828125 | 3 | namespace AngleSharp.Factories
{
using AngleSharp.Dom;
using AngleSharp.Dom.Mathml;
using AngleSharp.Html;
using System;
using System.Collections.Generic;
/// <summary>
/// Provides string to MathElement instance creation mappings.
/// </summary>
sealed class MathElementFactory
... |
386e13699042c57eec0673ff1e81c74f129ff617 | C# | iamravikumar/Rent_calc | /rent_calc/NewObjForms/AbstractNew.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace rent_calc.NewObjectForms
{
[Serializable]
public partial class AbstractNew : Form
{
public AbstractNew()... |
a9ed40e77fda054262dc2ec690491e55607863dd | C# | esack7/BloggerCookBook | /Controllers/DateFormatter.cs | 3.328125 | 3 | using System;
using System.Globalization;
using System.Threading;
namespace BloggerCookBook.Controllers
{
public class DateFormatter
{
private DateTime _originalDateTime;
public DateFormatter(DateTime datetime)
{
_originalDateTime = datetime;
}
public Date... |
1b6e317eb6fa78098f0802bf79f1b373a2cd350d | C# | GuyBalmas/Connect-Four | /UI/GameForm.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ConnectFour.Logic;
namespace ConnectFour.UI
{
public partial class GameForm : For... |
aff1fe471aff55ca71e455d115cb46da4bbc86be | C# | TheOddler/planetoids-unity | /Unity - Planetoids/Assets/Helpers/Helpers.cs | 2.75 | 3 | using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public static class Helpers {
static public void UpdateMeshColor (Mesh mesh, Color32 color) {
Color32[] colors = mesh.colors32;
for (int i = 0; i < colors.Length; ++i) {
colors[i] = color;
}
mesh.colors32 = colo... |
9fc4c2a6ccbe26a034aad6e821af37c49c951d17 | C# | jeremytammik/RevitSdkSamples | /SDK/Samples/ScheduleToHTML/CS/ScheduleHTMLExporter.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Web.UI;
using System.IO;
using Autodesk.Revit.DB;
namespace Revit.SDK.Samples.ScheduleToHTML.CS
{
/// <summary>
/// A class that can export a schedule to HTML.
/// </summary>
class ScheduleHTMLExporter
{
/// <summary... |
eb555ecf55f8fe03a6139c01b00b593e8ee38f86 | C# | nadir500/CheckpointSystem-Unity2019LTS | /Assets/Scripts/UIEditorComponents/SettingsParametersComponent.cs | 2.8125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SettingsParametersComponent : MonoBehaviour
{
public string componentTag;
public string[] values; // All the avaliable values of each parameter
public string unitOfParameterValue; // The Unit... |
c716f80a7f7f54cd07ccbfbbf580ba5421a9d5ed | C# | Thecentury/physicsdemos | /Auxiliary/GeometricObject/GeneralChanger.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace Thecentury.GeometricObject {
public abstract class GeneralChanger {
protected GeneralGeometricObject gObject;
public abstract void Apply(float distance);
public virtual GeneralGeometricObject Assigne... |
41f0cef3c5e5b46e3057c158e163cce803ff20f7 | C# | mherod/mondo.net | /Mondo/Attachment.cs | 2.640625 | 3 | using System;
using System.Diagnostics;
using Newtonsoft.Json;
namespace Mondo
{
/// <summary>
/// Images (eg. receipts) can be attached to transactions by uploading these via the attachment API. Once an attachment is registered against a transaction, the image will be shown in the transaction detail screen wi... |
025da03fef43846d5cf8e831b92a81b63a65514e | C# | FrostigSinn/ISD-Ins | /№1/PhoneBook/PhoneBook/Program.cs | 3.703125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PhoneBook
{
class PhoneBook
{
Dictionary<string, string> contacts = new Dictionary<string, string>();
public void addContact(string _name, string _number)
{
... |
e61142c41ca5140838f41894e98e0da30977c7a5 | C# | abdessamed11/fil-rouge-site-apprentissage | /E-LEARNING/Repository/FormationRepo.cs | 2.734375 | 3 | using E_LEARNING.Data;
using E_LEARNING.Models;
using E_LEARNING.Repo;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace E_LEARNING.Repository
{
public class FormationRepo : IRepoformation
{
private readonly ... |
14041168689ff6c6eb19cb643d14285a4249b628 | C# | pouriya-t/my-shop-master | /MyShop.DataAccess/Data/Repository/OrderDetailsRepository.cs | 2.546875 | 3 | using MyShop.DataAccess.Data.Repository.IRepository;
using MyShop.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyShop.DataAccess.Data.Repository
{
public class OrderDetailsRepository:Repository<OrderDetails>,IOrderDetailsRepo... |
b27503deb6a98913ec1ffd7d7d97b33faec14776 | C# | mateuszKrawczak/TheWest | /TheWest/Home.cs | 3.265625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TheWest
{
/// <summaryHome>
/// klasa Church dziedziczy po klasie abstrakcyjnej RestBuilding i interfejsie ICost
/// </summary>
public class Home : RestBuilding, ICost
{
... |
ff426362cc1ef05505f23c5d745ee2606aabaaa0 | C# | eylvisaker/AgateLib.Tester | /AgateLib/AgateLib/UserInterface/Widgets/WidgetStyleCollection.cs | 2.703125 | 3 | //
// Copyright (c) 2006-2018 Erik Ylvisaker
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy... |
f6ed49049449cf0cad6275e7af5ef878317df324 | C# | wbish/wirk | /src/Twirk/Default.aspx.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web.Hosting;
using System.Web.Services;
using System.Web.UI;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using WiRK.Abacus;
using WiRK.Terminator;
namespace WiRK.TwirkIt
{
public partial class Defaul... |
37284cdde6316154ec078974098721882598f2d1 | C# | skorae/SoftUni-kdinev | /C#TechModule 3.0 May 2018/Dictionaries and Lists - More EX/Problem 5. Parking Validation/Program.cs | 3.265625 | 3 | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Problem_5._Parking_Validation
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
Dictionary<string, string> users = new Dictionary<str... |
a22609aae9fc2e2d3ae6c54a8594691cec641cb8 | C# | SorenZ/DataFramework | /src/DF.EntityFramework/Repository[TAggregate].cs | 3 | 3 | using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using DF.Core.Contracts;
using DF.Core.Models;
namespace DF.EntityFramework
{
public class Repository<TEntity> : IRepository<TEntity>
where TEntity : class, IEntity, new()
{
protected readonly DbContext Context;
... |
66d20d61a20d9efb3f9998d41d75e30e6ba1bce6 | C# | wifiplug/api-client-net | /src/WifiPlug.Api/ApiAuthentication.cs | 2.640625 | 3 | // Copyright (C) WIFIPLUG. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace WifiPlug.Api
{... |
f34c2d388cdac94c97523184449ccb05af286d46 | C# | domialex/Sidekick | /tests/Sidekick.Application.Tests/Game/Items/Parser/AbyssParsing.cs | 2.640625 | 3 | using System.Linq;
using System.Threading.Tasks;
using MediatR;
using Sidekick.Domain.Game.Items.Commands;
using Sidekick.Domain.Game.Items.Models;
using Xunit;
namespace Sidekick.Application.Tests.Game.Items.Parser
{
[Collection(Collections.Mediator)]
public class AbyssParsing
{
private readonly I... |
95654fd3299629b9116571689a3fca81c134bfc8 | C# | Amichai/Prax | /Source/OcrEngine/Prax.OcrEngine.Common/Services/Stubs/FixedConverters.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Collections.ObjectModel;
namespace Prax.OcrEngine.Services.Stubs {
///<summary>An IResultConverter that generates text files containing a hard-coded string.</summary>
public class FixedTextConverter :... |
99a462013b386358961569a736e77c9d924ad55b | C# | duyenthaind/cs_pool_sample | /testDir/CustomBaseThread.cs | 2.71875 | 3 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
namespace DemoMultiThread.testDir
{
public abstract class CustomBaseThread
{
private Thread _thread;
private static Dictionary<string, List<CustomBaseThread>> workers =
new ... |
ac9da41df286a78382fa07014c93b0cca0557424 | C# | tom-github/70-536-Labs | /Chapter12/Lesson3/Exercise1/Completed/CS/Encrypt/Program.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;
using System.IO;
namespace Encrypt
{
class Program
{
static void Main(string[] args)
{
// Read the command-line parameters
string inFileName = args[0];
stri... |
9447365583674432d87eda2d6958e9f64e9a4c43 | C# | AramisIT/Invoices | /SystemInvoice/MVVM/ViewModelBase.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace SystemInvoice.MVVM
{
/// <summary>
/// Базовый класс модели представления используемы при байндинге к визуальным WPF - компонентам.
/// </summary>
public class ViewModelBase... |
82a1c6d2c00080fb292db0caab3647baf83d045d | C# | YaneYosifov/TelerikAcademy | /C# Part II/Homeworks/06.Strings-and-Text-Processing/17.Date-in-Bulgarian/DateInBulgarian.cs | 4.3125 | 4 | /*
* Write a program that reads a date and time given in the format:
* day.month.year hour:minute:second and prints the date and time
* after 6 hours and 30 minutes (in the same format)
* along with the day of week in Bulgarian.
*/
using System;
using System.Globalization;
class DateInBulgarian
{
static v... |
00ec48fffd87c7a255e6181ac967a35479bdbd6a | C# | navirius/bitcare | /eSoft.Serializer/TypeSerializers/WellKnown/String/StringExport.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using eSoft.Serializer.Compression;
using System.IO;
namespace eSoft.Serializer
{
// Int32 serialization
public partial class Serializer
{
// Serialization of Int32
public static byte[] Seria... |
3d1863726d943075aefc7ea6317ce2b14fcf2545 | C# | Blkx-Darkreaper/Unity | /RTS Tutorial/Assets/Scripts/ProjectileController.cs | 2.578125 | 3 | using UnityEngine;
using System.Collections;
public class ProjectileController : EntityController {
public float velocity;
public int damage;
public float currentRangeToTarget { get; set; }
public EntityController target { get; set; }
protected override void Update()
{
bool hitTarget... |
610d322af5d7e7f49d40d59d0a56b14393e1f761 | C# | nagyist/BrewBuddy | /Sources/BrewBuddy/BrewBuddy.Services/UserService.cs | 2.90625 | 3 | using System.Linq;
using System.Transactions;
using BrewBuddy.Entities;
namespace BrewBuddy.Services
{
public class UserService
: IUserService
{
protected IEntityRepository<UserProfile> ProfileRepository { get; private set; }
public UserService(IEntityRepository<UserProfile>... |
9a791a1ce8ec5157c1c0601d4b2a4401ec0248a0 | C# | KengoKashihara168/SESA2019 | /Assets/StartScene/Scripts/VCameraController.cs | 2.578125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Cinemachine;
public class VCameraController : MonoBehaviour
{
[SerializeField] CinemachineVirtualCamera firstVcam;
[SerializeField] CinemachineVirtualCamera secondVcam;
[SerializeField] int shakeTime;
private bool sh... |
eebed17820b934a9cf421a9216c7553bdff78eba | C# | gogo40/xeretanet | /Parsers/WordDetector.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using PacketDotNet;
namespace xeretanet
{
public partial class WordDetector
{
public TcpPacket Packet { get; set; }
public List<string> Found { get; set; }
public WordDetector ()
{
this.Found = new List<string>();
}
public string Pr... |
5867488264d2d68bdfa35964006ae5e513381715 | C# | whamilton42/massteroids | /Massteroids/ContentManager.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Massteroids
{
class ContentManager
{
String baseLocation;
GraphicsDeviceManager ... |
a234fe98dfa4121e8a139e77ce5b66be2e6c1571 | C# | KramerDesign/Server-Side-Scripting-Assignment-2 | /Assignment 2/food_tracker.aspx.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//add a reference so we can use the database
using Assignment_2.Models;
namespace Assignment_2
{
public partial class food_tracker : System.Web.UI.Page
{
... |
7de48f131b9f322197bd7c594493e75b72089506 | C# | Luxoft/BSSFramework | /src.other/Framework.Localization/NumberWords/Dictionaries/EnCurrencyInfoDictionary.cs | 2.5625 | 3 | using Framework.Localization.NumberWords.Enums;
using Framework.Localization.NumberWords.Interfaces;
using System.Collections.Specialized;
namespace Framework.Localization.NumberWords.Dictionaries
{
public class EnCurrencyInfoDictionary : ICurrencyInfoDictionary
{
HybridDictionary currencies = new Hyb... |
170b24e3dfa8a0f78631db597b219e45edb94e31 | C# | philip-brink/PacmanClone | /Assets/Scripts/PacMan/GameStates/Killed.cs | 2.609375 | 3 | using PacMan.Characters;
using UnityEngine;
namespace PacMan.GameStates
{
public class Killed : IState
{
private readonly float _stuckTime = 2f;
private float _timeLeft;
private readonly Player _player;
private readonly GameController _gameController;
public Killed(Play... |
b42a19dff5f643e29e299d71395fc96c2e0ee5ea | C# | MrUnknown783/Gravity | /Gravity/Models/GravityObject.cs | 2.59375 | 3 | namespace Gravity.Models
{
public class GravityObject
{
public Vector2 Position { get; set; }
public Vector2 Velocity { get; set; }
public float Mass { get; set; }
public float Radius { get; set; }
public bool IsStatic { get; set; }
public GravityObject Clon... |
e9725f8ae2dbdb04c0e64eb9fa7990d1194bed07 | C# | tmatuszewski97/university-projects | /programming-in-unity/lab-04/Assets/Scripts/RandomCubesGenerator.cs | 2.75 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using Random = UnityEngine.Random;
public class RandomCubesGenerator : MonoBehaviour
{
List<Vector3> positions = new List<Vector3>();
public float delay = 3.0f;
public int maxObjectsNumber = 10;... |
778bf8629e57308d7be6de615075d86486930fbd | C# | DiligentGuyHub/task-manager-application | /ToDo/ToDo.EntityFramework/Services/AccountDataService.cs | 2.5625 | 3 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ToDo.Domain.Models;
using ToDo.Domain.Services;
using ToDo.EntityFramework.Services.Common;
namespace ToDo.EntityFramework.Services
{
public class AccountD... |
5ec8cd454b31c2612f1287715caaa07be6551c48 | C# | SamVw/DonkeyKong | /DonkeyKong/Builders/RectangleBuilder.cs | 2.9375 | 3 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Rectangle = DonkeyKong.Models.Rectangle;
namespace DonkeyKong.Builders
{
public class RectangleBuilder
{
private readonly GraphicsDeviceManager _graphics;
public RectangleBuilder(GraphicsDeviceManager graphics)
... |
b88641e18f44e4b4d58e164d70c1c73436222ce7 | C# | Gustavo653/Entra21 | /Aula09PT2 - Construtor/Program.cs | 2.9375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aula09PT2
{
class Program
{
static void Main(string[] args)
{
////01
//Exec01 pessoa = new Exec01("Juliana", "001", "Rua das missões", 34);
... |
f7e84918fa78ac3e454fc4f43c80c088bf85b32b | C# | piekarr/Steganografia | /Steganografia/Services/BitmapCoders/ImageDataBaseService.cs | 3.140625 | 3 | using System;
using System.Drawing;
namespace Steganografia.Services.BitmapCoders
{
public abstract class ImageDataBaseService
{
protected static void IncreaseRowAndColumn(Bitmap result, ref int row, ref int column)
{
column++;
if (column > result.Width)
{
... |
f4ac0551f7766a0d545a98ec861c0d8a73142d40 | C# | m9ra/ChessAnalyser | /ChessAnalyser.Satellite/Network/ServiceCommand.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChessAnalyser.Satellite.Network
{
[Serializable]
internal class ServiceCommand
{
/// <summary>
/// Sent command.
/// </summary>
internal readonly st... |
b5589bc0841d33eeb9c63f7c7026d4edd49c99fb | C# | panama69/LeanFT_AppliTools | /LeanFT_AppliTools/Program.cs | 2.671875 | 3 | namespace LeanFT_AppliTools
{
using System;
using System.Drawing;
using HP.LFT.SDK.Web;
using HP.LFT.SDK;
using Applitools.LeanFT;
public class HelloWorldTest
{
public static void Main(string[] args)
{
// Init the LeanFT SDK
SDK.Init(new SdkConfigura... |
79b0031f2fdabccd14de53fe819903a60cf33a7b | C# | tyxla/LiveReload | /LiveReload/Includes/LiveReloadBrowser.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace LiveReload
{
class LiveReloadBrowser
{
[DllImport("user32.dll")]
static extern IntPtr GetForegroundWindo... |
fb4f7874442d1f2fa2dd163f421b747ad610cc20 | C# | shendongnian/download4 | /first_version_download2/442883-39187784-125870695-2.cs | 2.734375 | 3 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace Game1
{
public class Game1 : Game
{
private BasicEffect _basicEffect;
private GraphicsDeviceManager _graphics;
publ... |
9af7cda8fedf45b61dc0044927171394e1731390 | C# | JohnGoldsmith/samples | /snippets/csharp/programming-guide/lambda-expressions/statements.cs | 3.21875 | 3 | using System;
public class Example
{
// <Snippet1>
delegate void TestDelegate(string s);
// </Snippet1>
public static void Main()
{
// <Snippet2>
TestDelegate del = n => { string s = n + " World";
Console.WriteLine(s); };
// </Snippet2>
del("H... |
ec3f215dc403d9f5fbd05f97cc8cc681b4c65208 | C# | NezzKryptic/Kryptic-Crawler | /Kryptic-Crawler/Util/ConsoleManager.cs | 2.875 | 3 | using System;
namespace Kryptic_Crawler.Util
{
class ConsoleManager
{
public static void ReadInput()
{
while (ArgumentManager.ALLOW_RUN)
{
string commandInput = Console.ReadLine().ToLower();
switch (commandInput)
{
... |
c7d3237cfc883f3712e7b7dfbded800fb0c2f370 | C# | Fehrnovic/mas-project | /MultiAgent/SearchClient/CBS/Node.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using MultiAgent.SearchClient.Search;
namespace MultiAgent.SearchClient.CBS
{
public class Node
{
public HashSet<IConstraint> Constraints = new();
public Dictionary<Agent, List<SAStep>> Solution;
public int Cost => Calcu... |