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 |
|---|---|---|---|---|---|---|
73cad8650f8cd8d0bec731e6552f84b9a9048216 | C# | CrazyPandaLimited/SimplePromises | /Runtime/PandaTasks/WaitWhilePandaTask.cs | 2.84375 | 3 | using System;
using System.Threading;
namespace CrazyPanda.UnityCore.PandaTasks
{
class WaitWhilePandaTask : PandaTask
{
private readonly Func< bool > _condition;
private static readonly SendOrPostCallback _tickCallback = new SendOrPostCallback(Tick);
public WaitWhilePandaTask( Func< ... |
8585c74ce403fa2b711ddbf32cb507c5a4b400b9 | C# | jeason0813/RuiJi.Net | /RuiJi.Net.Core/Compile/FileProviderBase.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RuiJi.Net.Core.Compile
{
/// <summary>
/// file provider base class
/// </summary>
public abstract class FileProviderBase : IProvider
{
/// <summary>
/// fu... |
483591559403e83dec15202cb05d5b617617afe6 | C# | mhartzell/LearnWithCode | /DesignPatterns/Structural/Bridge/IGamer.cs | 3.21875 | 3 | namespace PMasta.LearnWithCode.DesignPatterns.Structural.Bridge
{
/// <summary>
/// Defines a generic video game player.
/// </summary>
/// <remarks>
/// In the Bridge pattern, this interface takes on the role of the Abstraction. We have a generic game-playin' human,
/// who may like to play g... |
d11c9782b0abf3322ae7805549302bde25b78c2f | C# | gastonmancini/codility-training-tasks | /src/CodilityTrainingTasks/Tests/Lesson9-MaximumSliceProblem/MaxDoubleSliceSumTests.cs | 2.65625 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using TrainingTasks;
namespace Tests
{
[TestClass]
public class MaxDoubleSliceSumTests
{
private MaxDoubleSliceSum _maxDoubleSliceSum;
[TestInitialize]
public void Initialize()
{
_maxDoubleSliceSum = new MaxDo... |
2c5a73d759b35b84a75a0616a4109e510795e23b | C# | baddazi/Realizace-kognitivn-hry-s-podporou-pro-eyetracker | /Hra/Kořenová složka projektu hry/Arkanoid/Assets/Prefab/Brick/Scripts/brickGray.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
*Trida slouzi pro sedive cihlicky se tremi zivoty
*
* @autor David Zaruba
*
*
*/
public class brickGray : MonoBehaviour
{
private int life = 2;
[SerializeField] Sprite demage;
[SerializeField] Sprite smallDemage;
... |
68129c30453e4e4207c703b2d039d8f4fadfe77c | C# | softwarefiche/Fiche | /Fiche/Extensions/BooleanExtensions.cs | 3.296875 | 3 | namespace Fiche.Extensions
{
public static class BooleanExtensions
{
/// <summary>
/// Short-hand for the ternary conditional operator '?:'
/// <para>
/// <code>
/// condition ? trueResult : falseResult
/// </code>
/// </para>
/// </summary>
... |
88e7cf72f0aebb120a470342f14455ad4c2efd7b | C# | DexterHarvey/Portfolio | /Portfolio/C#/Windows Forms/CPRG200_Lab4/CPRG200_Lab4/Form1.cs | 3.09375 | 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 CPRG200_Lab4
{
public partial class Form1 : Form
{
//create a new instance of ... |
7174c88762bad1ba788670aa00e8892679df2592 | C# | pabitrad/Othello | /Othello.Logic/Classes/GameManager.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Othello;
using Othello.Logic.Classes.Players;
using Othello.Logic.Common;
using Othello.Logic.Interfaces;
namespace Othello.Logic.Classes
{
public class GameManager:IGameManager
{
#region Implementation of IGam... |
8aed03c76c13acb2a6cab99c64f2e5933eca9515 | C# | IELBHJY/C--projects | /02_out and ref/_方法的递归/Program.cs | 3.359375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _方法的递归
{
class Program
{
//方法的递归:就是方法自己调用自己。
public static int i = 0;//静态变量实现全局变量的作用
public static void TellStory()
{
Consol... |
cf3e5b38490bc463ab5fc677afbec4b0323c3bbb | C# | armohamm/design-patterns | /structural/Decorator/Program.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
namespace Decorator
{
class Program
{
static void Main(string[] args)
{
Honda car = new Honda();
Console.WriteLine("Honda base price is: {0}", car.Price);
SpecialOffer offer = new SpecialOffer(car);
... |
b5560f92653e29b5d96a18063c0a3716002580af | C# | DimitarStoyanovVictory/JavaSciprt-Advanced | /ExamTasks/Problem-2-Infestation/Infestation-Stoyanov/Infestation/Tank.cs | 2.734375 | 3 | using System.Collections.Generic;
namespace Infestation
{
public class Tank : Unit
{
private ICollection<ISupplement> supplements;
public Tank(string id)
: base(id, UnitClassification.Mechanical, 20, 25, 25)
{
}
public ICollection<ISupplement> Supplements
... |
fd6fcb67fd2858a49894e39dc01d17d90999384c | C# | fse-accreditation/app-service | /eStockMarket/CompaniesAPI/DBContexts/CompanyContext.cs | 2.671875 | 3 | using CompaniesAPI.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CompaniesAPI.DBContexts
{
public class CompanyDBContext : DbContext
{
public CompanyDBContext(DbContextOptions<CompanyDBContext> o... |
14398774ccbcd69f3067a2f7e5e00a5a167e350a | C# | servirtium/servirtium-dotnet | /Servirtium.Core/InteractionCounter.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Servirtium.Core
{
public class InteractionCounter
{
private long _currentInteraction = -1;
public int Bump()
{
return (int)Interlocked.Increment(ref _currentInteraction);
... |
510a8dc00e419ef1fe2d8e17c4657bd25e0d26f3 | C# | shendongnian/download4 | /first_version_download2/254210-20228102-52359575-2.cs | 2.765625 | 3 | //establish initial query
var queryBase = (from a in db.Jobs where a.StatusId == 7 select a);
//instead of running the search against all of the entities, I first take the ones that are possible candidates, this is done through checking if they have any of the search terms under any of their columns. This... |
914130729c3c526abda7e0ed39fb96ccdfc31579 | C# | sshnet/SSH.NET | /src/Renci.SshNet/ForwardedPort.cs | 2.71875 | 3 | using System;
using Renci.SshNet.Common;
namespace Renci.SshNet
{
/// <summary>
/// Base class for port forwarding functionality.
/// </summary>
public abstract class ForwardedPort : IForwardedPort
{
/// <summary>
/// Gets or sets the session.
/// </summary>
/// <va... |
734197b1a764f09f6695fb9a4798cffcf101312d | C# | ludekvesely/4IT449-block-breaker | /vesl00_4IT449_semestralka/DataObjects/HighscoreDO.cs | 2.921875 | 3 | using System;
using System.Text;
using System.Data.SqlClient;
using vesl00_4IT449_semestralka;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using vesl00_4IT449_semestralka.Models;
namespace vesl00_4IT449_semestralka.DataObjects
{
// Hoghscore - nicks... |
632112f485478f7111f9874f6d02682c8f7e46d3 | C# | BagautdinovRen/UdpApp | /Udp_client/Udp_client/Program.cs | 2.953125 | 3 | using System;
using System.IO;
using System.Net;
using System.Diagnostics;
using System.Net.Sockets;
using System.Text;
using System.Xml.Serialization;
public class UdpFileClient
{
// Детали файла
[Serializable]
public class FileDetails
{
public string FILETYPE = "";
public long FILESI... |
36d2e0a1d68a8cd9f82a556a81dfb1876a85bbf2 | C# | Roman-Port/RaptorSDR | /Plugins/RomanPort.AudioOPUS/server/OGG/OggEncoder.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace RomanPort.AudioOPUS.OGG
{
public class OggEncoder
{
public OggEncoder()
{
//Generate random serial number
serialNumber = new Random().Next();
}
private int serialNumber = 0;
... |
8d6c9b8a7787f3e95a0022b112739982caea54c3 | C# | metrowave/UnityFramework | /Framework/LocalisationSystem/LocalisedTextMesh.cs | 2.671875 | 3 | using UnityEngine;
namespace Framework
{
namespace LocalisationSystem
{
[ExecuteInEditMode()]
[RequireComponent(typeof(TextMesh))]
public class LocalisedTextMesh : MonoBehaviour
{
#region Public Data
public LocalisedStringRef _text;
#endregion
#region Private Data
private TextMesh _textMesh;... |
eac21280a45dc595fd3d7bb5aae55843a4827284 | C# | Shakkozu/ComissionGenerator | /ClassLibrary/DataModels/ClientMVCModel.cs | 2.796875 | 3 | using ExpressiveAnnotations.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Web.Mvc;
namespace ClassLibrary.DataModels
{
public class ClientMVCModel
{
public int Id { get; set; }
[Display(Name = "Email ... |
e1172f1e46962a41ca012999c81cbfb078c87150 | C# | mrmacsi/ASP.NET-SignalR-Chatroom | /BL/ChatProcess.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using myChat.Models.DB;
namespace myChat.BL
{ //uygulama için iş mantıklarını sağlayan katman
public class ChatProcess
{
chatDBEntities e = new chatDBEntities();
//üyelik alındığında kullanıcı ver... |
fbb8340f4b624939dce53726776473bc5206163b | C# | zeWizard/LinqToLdap | /LinqToLdap/Collections/OriginalValuesCollection.cs | 2.9375 | 3 | /*
* LINQ to LDAP
* http://linqtoldap.codeplex.com/
*
* Copyright Alan Hatter (C) 2010-2014
*
* This project is subject to licensing restrictions. Visit http://linqtoldap.codeplex.com/license for more information.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
usin... |
1ec171ae8c63c440458c221b0984bf1fce41e3a0 | C# | charlie-a-maxwell/CardGame | /CardGame/CardGame/CardGame/CardClass.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Storage;
using System.Xml.Serialization;
namespace CardGame
{
public class MoveLocation
{
publ... |
33bf659695984a3a8bf1e6c1137f403c4241e910 | C# | DeveshVagal/C-Sharp-Projects | /BSCITATTENDENCE/loginapprovalandstaffupdate.cs | 2.609375 | 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;
using System.Data.SqlClient;
using System.Text.RegularExpressions;
namespace BSCITATTENDENCE
{
public partial class loginapprovala... |
da6da68dd0f78bf45ed8f723c39ff4bfae211575 | C# | r-petrov/OOP-Course | /Homeworks-and-exercises/InheritanceAndAbstraction/InheritanceAndAbstraction/Program.cs | 3.5 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using InheritanceAndAbstraction;
namespace HumanStudentAndWorker
{
class Program
{
static void Main(string[] args)
{
//List<Student> students = new List<Student>();
... |
55a736bb11e9eaec3c9eeda034790138870713b5 | C# | kraftvaerk/OCPI | /src/v2_1_1/Shared/Response.cs | 2.96875 | 3 | using System;
using System.ComponentModel.DataAnnotations;
namespace OCPI.DTO.v2_1_1.Shared
{
/// <summary>
/// When a request cannot be accepted, an HTTP error response code is expected including a JSON object that contains more details. HTTP status codes are described on w3.org.
/// </summary>
/// <... |
f9d63fd9572622bf0d8460b9efc92087a043ab40 | C# | BorislavDimitrov/C-Sharp-Basics | /ConditionalStatementsAdvanced/MoreExercises/TruckDriver/Program.cs | 3.484375 | 3 | using System;
namespace TruckDriver
{
class Program
{
static void Main(string[] args)
{
string season = Console.ReadLine();
double kilometersMonthly = double.Parse(Console.ReadLine());
double priceForKm = 0.0;
if (kilometersMonthly <= 5000)
... |
6a2ab6eb4e87b12dc64aa2b801c2521f718a4365 | C# | greck2908/DataStructures | /C#/Leetcode/BinaryTree/ZigZagBinaryTreeTraversal.cs | 3.421875 | 3 | using LeetcodeSolutions.DataStructures;
using System.Collections.Generic;
namespace LeetcodeSolutions.BinaryTree
{
// Leetcode 103 - https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
// Submission Detail - https://leetcode.com/submissions/detail/123636957/
// Use 2 Stacks
public ... |
c7a99c0886c0c66eb33a85d96153ae63eb91a0b0 | C# | vitaliy-novik/HttpFundamentals | /WebCrawler/Crawler.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using WebCrawler.UriFilters;
namespace WebCrawler
{
public class Crawler
{
private string url;
private int depth;
private string extensions;
private HttpClient client;
private HtmlP... |
40f815489a85d3e2b24104cf7e266d8457bc7c9d | C# | presidentjimstevens/JSIL | /Tests/SpecialTestCases/OuterThisDelegateNew.cs | 3.765625 | 4 | using System;
public class MyClass {
public Action<int> GetPrintNumber () {
return this.PrintNumber;
}
public void PrintNumber (int x) {
Console.WriteLine("MyClass.PrintNumber({0})", x);
}
}
public static class Program {
public static void Main (string[] args) {
var instan... |
404bc9b94908d969ddb6cdd65a84806abb5a4bc0 | C# | fengzhbo/ToolsTest | /ToolsTest.Console/Program.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
namespace ToolsTest.ConsoleTest
{
class Program
{
static void Main(string[] args)
{
AssemblyName an = new Assem... |
b9efa1e9371c38e581521ac1eebb4776a692cf7f | C# | AndreevNikita/netcoro | /NetCoro/NetCoro/Awaitable.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace NetCoro {
public enum AwaitableType {
AsyncTask, WaitHandle, Delay, DoNothing, Interrupt, InterruptAll
}
public enum TaskExceptionBehaviour {
Default, Nothing, ThrowInCoro
}
... |
579df942f40ef4d2454779fc3a4cf298ddfb7138 | C# | OJ13/Arquitetura-Base | /Back/1 - DDD/DDD/Helpers/PasswordHelper.cs | 3.25 | 3 | using System;
using System.Security.Cryptography;
using System.Text;
namespace DDD.Helpers
{
public static class PasswordHelper
{
public static string RandomPassword()
{
StringBuilder builder = new StringBuilder();
builder.Append(RandomString(1, false));
bui... |
941603e6befc9fbcdf3e947b4020b3c91eecb955 | C# | jaykang920/x2net | /src/xpiler/CommentAwareXmlHandler.cs | 2.703125 | 3 | // Copyright (c) 2017-2019 Jae-jun Kang
// See the file LICENSE for details.
using System;
using System.Xml;
namespace x2net.xpiler
{
class CommentAwareXmlHandler : Handler
{
public bool Handle(string path, out Unit unit)
{
unit = null;
var xml = new XmlDocument();
... |
829ecfe046eda86b5fc7cf31cc83c96e9c944681 | C# | ValentinDosh/patterns-3 | /StudentsAbstractFactory/StudentsAbstractFactory/Program.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StudentsAbstractFactory
{
class Program
{
static void Main(string[] args)
{
// Отличник
Student student1 = new Student(new GoodStudentFactory())... |
4459bc1b01b176dea47c38a59a98895920701695 | C# | mdmn07C5/BB3D_scripts | /Level/WinLevel.cs | 2.875 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Handles losing the level, attached to anything that allows player to win game
/// </summary>
public class WinLevel : MonoBehaviour
{
#region Unity Inspector Fields
[Tooltip("An int variable to the am... |
e6b5a97998a59061a216856bd081c4e78cfd727c | C# | frankbsd/CLRViaCSharp | /Chapter27/CancellationTokenTest.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Chapter27
{
class CancellationTokenTest
{
public static void TestTaskReturn2()
{
CancellationTokenSource cts = new CancellationToken... |
d4402db6b720a34a9bae83819961958495898ca5 | C# | maxstralin/csharp-to-js | /src/Core/Services/AssemblyTypeResolver.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using CSharpToJs.Core.Attributes;
using CSharpToJs.Core.Interfaces;
namespace CSharpToJs.Core.Services
{
/// <inheritdoc />
public class AssemblyTypeResolver : IAssemblyTypeResolver
{
pri... |
0cf9ab76408caf3727d858e4bf6753b1a827fa1d | C# | tianmao888sdo/KTLuaFramework | /Assets/core/Assemblies/Kernel.core/Attributes/AttributeVariable.cs | 2.71875 | 3 | using System;
namespace Kernel.core
{
public class AttributeVariable
{
private readonly int key;
private AttributeValue value;
public AttributeVariable(int key, AttributeValue value)
{
this.key = key;
this.value = value;
}
public int Key => key;
public AttributeValue Value
{
get
{
... |
88125bc61c285a8cdb3358fd4e1daa4f4f87824b | C# | 210215-USF-NET/Angeleen_Abesamis-P0 | /BeautyStore/BeautyStoreAppUI/BeautyStoreMenu.cs | 3.078125 | 3 | using System;
using BeautyStore.BeautyStoreModels;
using BeautyStoreBL;
using Serilog;
using System.Collections.Generic;
namespace BeautyStoreAppUI
{
public class BeautyStoreMenu : IBeautyStoreMenu
{
private IBeautyStoreBL _repo;
public BeautyStoreMenu(IBeautyStoreBL repo)
{
... |
4b47290b51db9ed9f1f532d6fb320b0bfaf64060 | C# | Yaksh36/Algorithms-II | /Network/Vertex.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Network
{
public class Vertex<T> where T:IComparable<T>
{
public T Data { get; set; }
public LinkedList<Tuple<Vertex<T>, int>> Edges = new LinkedList<Tuple<Vertex<T>, int>>();
public Vertex() { }
publ... |
af4a63e64dc7fbf0931ef64e03adfa5839aa7431 | C# | pkmitl205/OBJECT_ORIENTED_PROGRAMMING | /Car/Car/Program.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Car
{
class Program
{
static void Main(string[] args)
{
Car _car = new Car();
_car.FrontLeft = new Door();
_car.FrontRight = new Doo... |
77fba693e00e33c649337512b38257ca2410d027 | C# | exercism/csharp | /exercises/practice/robot-simulator/.meta/Example.cs | 3.609375 | 4 | using System;
public enum Direction
{
North,
East,
South,
West
}
public class RobotSimulator
{
public RobotSimulator(Direction bearing, int x, int y)
{
Direction = bearing;
X = x;
Y = y;
}
public Direction Direction { get; private set; }
public int X { get;... |
d0d5dd5236033fa21135ae521f5df2342314128a | C# | dystudio/SuperRocket | /SuperRocket/src/SuperRocket.Framework/Bus/Configurators/ResponseConfigurator.cs | 2.859375 | 3 | using System;
namespace SuperRocket.Framework.Bus.Configurators
{
/// <summary>
/// 响应配置。
/// </summary>
public class ResponseConfigurator
{
private readonly IBus _bus;
private readonly MessageBase _message;
/// <summary>
/// 初始化一个新的响应配置。
/// </summary>
... |
d25f565edacf15c993d1e69d7192239af796909f | C# | kwonganding/Util | /src/Util.Datas/Dapper/Oracle/OracleDialect.cs | 2.71875 | 3 | using Util.Datas.Sql.Builders.Core;
namespace Util.Datas.Dapper.Oracle {
/// <summary>
/// Oracle方言
/// </summary>
public class OracleDialect : DialectBase {
/// <summary>
/// 起始转义标识符
/// </summary>
public override string OpeningIdentifier => "\"";
/// <summary... |
1c7de529bc43a73c81b15f8681648d810e3b1fb3 | C# | aaronmcooke/Mono-Framework | /Parameters/FrequencyParameter.cs | 3 | 3 | // <copyright file="FrequencyParameter.cs" company="GoatDogGames">
// Copyright @ 2011 All Rights Reserved. </copyright>
// <author>Aaron M. Cooke</author>
// <email>aaron.m.cooke@gmail.com</email>
using System;
namespace GoatDogGames
{
public class FrequencyParameter : ParameterBase
{
#re... |
06bf096c756dd12889c4eba29245eea40c50a846 | C# | pep4eto1211/SimpleCompiler | /SimpleCompiler.Compiler/CodeCompiler.cs | 2.53125 | 3 | using Microsoft.CSharp;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleCompiler.Compiler
{
public class CodeCompiler
{
#region Constants
private const string _COMPILER_VERSION = ... |
b5d1c2c16e56a5704243be351ee4f56ea6244145 | C# | nassarao/AnalyzeProperty | /PropertyAnalyzerLib/Property.cs | 3.265625 | 3 | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace PropertyAnalyzerLib
{
public class Property
{
public string PropertyType { get; set; }
public Address Address { get; set; }
public double PropertyTax { get; set; }
public int UnitCou... |
6d67f5d6c2e098b5274b52261b5643ae009b6551 | C# | bippity/Sign-Editor | /Sign_Editor/FileTools.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using TShockAPI;
namespace Sign_Editor
{
public static class FileTools
{
private static string workpath = Path.Combine(TShock.SavePath, "Sign Editor");
public static string DirPath
{
get { return workpath; }
}
public s... |
49144a12240fe0ab16fcf07f9b917051713e9eb0 | C# | zhoulk/LeeCode | /Test00819.cs | 3.265625 | 3 | using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
public class Test00819 : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Debug.Log(MostCommonWord("Bob hit a ball, the hit BALL flew far after it was hit.", new string[... |
5b039d7f4459872f696f0906ab72223ece43d662 | C# | zsjzhang/testgit | /Vcyber.BLMS.Common/AppServiceLocator.cs | 2.59375 | 3 | // <copyright file="AppServiceLocator.cs" company="Microsoft">
// © Vcyber - All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.Configuration;
namespace Vcyber.BLMS.Common
{
/// <summary>
/// An implemen... |
a3b4f46f9166bfb62b78f931d8b8a955b1970dbb | C# | UtahC/Accounting-csharp-wpf | /Accounting/Item.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Accounting
{
public class Item
{
public Item()
{
}
public Item(DateTime time, string cusName, string itemName, int count, int weight, int price, string... |
2459ba052793ef42b63e1a7b9fa60e1ed7fc9372 | C# | HelWord/DataGridView-Extension | /SuperGridControlExtension.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.IO;
using System.Drawing;
using System.ComponentModel;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using DevComponents.SuperGrid;
using DevComponents.DotNetBar.SuperGrid... |
62198987ccbd9269f0ac4f330cdebfba27522eac | C# | kpanova/clio | /clio/Package/NuGet/NugetPackagesProvider.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using Clio.Common;
namespace Clio.Project.NuGet
{
#region Class: NugetPackagesProvider
public class NugetPackagesProvider : INugetPackagesProvider
{
#region Fields: Private
private readonly INugetExecutor _nugetExecutor;
#endregion
#r... |
376793c3cbdeee00196b3860e7705e8c7e4f1324 | C# | enata/PhonemeLattice | /PhonemeLattice.Lattice/Builder/WordDivision.cs | 2.609375 | 3 | namespace PhonemeLattice.Lattice.Builder
{
internal sealed class WordDivision
{
private readonly int _middlePartLength;
private readonly int _middlePartStart;
private readonly LatticeNode _postfix;
private readonly LatticeNode _prefix;
public WordDivision(LatticeNode pr... |
20547f96943fbc6a8d32593296a751ebb17b3b08 | C# | pnarimani/quick-find | /FindableSODrawer.cs | 2.546875 | 3 | using Sirenix.OdinInspector.Editor;
using Sirenix.Utilities;
using Sirenix.Utilities.Editor;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace QuickFind
{
public class FindableSODrawer<T> : OdinValueDrawer<T> where T : ScriptableObj... |
07795593b91a9715bfb2e4f97698d4b1f0ed39bb | C# | alaminut/design-patterns-course | /Mediator/Exercise/Mediator.cs | 3.140625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Mediator.Exercise
{
public class Mediator
{
private readonly Dictionary<string, Participant> _participants = new Dictionary<string, Participant>();
public string Register(Participant p)
{
var id = ... |
c0073de23a8384e0901be74aa874ff42149af03a | C# | delapiero/csharp-design-patterns | /Kompozyt/Multiczasteczka.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kompozyt
{
public class Multiczasteczka : ObiektWieloczasteczkowy
{
private IList<ObiektWieloczasteczkowy> czasteczka;
public Multiczasteczka()
... |
4dd439b02e9fa712d6e439bcafbd07d26efdda0c | C# | alanoudalhamid/VR-TicTacToe | /vrnd-tic-tac-toe-starter-project-v1.1.0/Tic-Tac-Toe/Assets/Scripts/PlayerPiece.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerPiece : MonoBehaviour {
public bool hasBeenPlayed = false;
Vector3 OriginalLocation;
Vector3 SelectedLocation;
// Use this for initialization
void Start () {}
// Update is called once per frame
... |
3236dea03205bb8bc53d342723ec25f6d57cc152 | C# | HellGoesOn/PizzaSimulator | /PizzaSimulator/Content/Entities/EntityManager.cs | 2.65625 | 3 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using PizzaSimulator.Content.Components;
using PizzaSimulator.Content.Enums;
using PizzaSimulator.Helpers;
using System.Collections.Generic;
namespace PizzaSimulator.Content.Entities
{
public class EntityManager : Singleton<EntityManager>
... |
bc97c513ae060c4239e49436ae1441b8db5d4fa8 | C# | switchspan/DukeSharp | /Duke/Duke.Test/Cleaners/DigitsOnlyCleanerTest.cs | 3.421875 | 3 | using System;
using Duke.Cleaners;
using NUnit.Framework;
namespace Duke.Test
{
[TestFixture]
public class DigitsOnlyCleanerTest
{
#region Setup/Teardown
[SetUp]
public void Init()
{
// Setup code goes here...
_cleaner = new DigitsOnlyCleaner();
... |
ec6ac009acf50bcdaad60bd2717289ce47fdb243 | C# | MRTSoft/an_iv_ia | /LaboratorIA08/Interfata/MainForm.cs | 2.828125 | 3 | /**************************************************************************
* *
* Copyright: (c) 2016-2017, Florin Leon *
* E-mail: florin.leon@tuiasi.ro *
* Website... |
f35bc70c2b6b33d8dbd761d096311a8e160e2c0c | C# | sonicpro/MSSpeech | /helloworld/helloworld/Program.cs | 2.953125 | 3 | using Microsoft.CognitiveServices.Speech;
using Microsoft.CognitiveServices.Speech.Audio;
using System;
using System.Threading.Tasks;
namespace helloworld
{
class Program
{
static void Main(string[] args)
{
RecognizeSpeechAsync().Wait();
Console.WriteLine("Please press ... |
e52ce554a758be2dc6ce5b6d4928444230aa8e42 | C# | vjpudelski/Interfaces | /Interfaces/Models/Wizard.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Interfaces.Models
{
class Wizard : ISpellCaster
{
public bool Prepare(Spell spellToPrepare)
{
bool spellPrepared = false;
// code for the wizar... |
1038d0f5a7004c66a9c7fe8c6b0e3ca81efd9c5b | C# | dayluke/udp-server | /Server.cs | 3.234375 | 3 | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Linq;
namespace UDPServer
{
class Server
{
UdpClient server;
IPEndPoint endPoint = new IPEndPoint(IPAddress.Any, 0);
Dictionary<string, Action<object[]>> functionD... |
330e4355f5a299a5c09d28b36c07ebae4f0f172f | C# | vmedvedovskiy/fullstack.net-example | /Fullstack.NET.Services/Authentication/Tokens/TokenProvider.cs | 2.640625 | 3 | using System;
using System.Security.Cryptography;
using System.Runtime.Serialization.Json;
using System.IO;
using System.Runtime.Serialization;
using Microsoft.Extensions.Options;
namespace Fullstack.NET.Services.Authentication.Tokens
{
public class TokenProvider : ITokenProvider, IDisposable
{
privat... |
484c4943ed90c802031fedb0d9e0a07c78c45170 | C# | sv99/EVOK | /xjplc/xjplc/Permutation.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace xjplc
{
public class Permutation
{
public RichTextBox t1;
public int count = 0;
public List<List<int>> patternLstInt;
publi... |
3abfba13d664cbd5fe799c6287be699821adf7b8 | C# | Flash0ver/F0.Wpf | /source/production/F0.Wpf/Windows/Data/LogicalNegationConverter.cs | 2.75 | 3 | using System;
using System.Globalization;
using System.Windows.Data;
namespace F0.Windows.Data
{
public sealed class LogicalNegationConverter : IValueConverter
{
public LogicalNegationConverter()
{
}
object? IValueConverter.Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
{
... |
f086f4f68792520eb874017233272917e14fc3c1 | C# | SubnauticaNitrox/Harmony | /Harmony/HarmonyInstance.cs | 2.671875 | 3 | using Harmony.Tools;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
namespace Harmony
{
/// <summary>A Harmony instance</summary>
public class HarmonyInstance
{
readonly string id;
/// <summary>The unique ident... |
97768ae8577a6c4609100b4c88887691575494ff | C# | YessyEckley/BackEnd_ObjectOrientedPrograming_CSharp | /BackEnd_ObjectOrientedPrograming_CSharp/Week8_Functions/Samples/ReferenceMath/ReferenceMath.cs | 2.953125 | 3 | // ReferenceMath.cs
namespace BackEnd_ObjectOrientedPrograming_CSharp.Week8_Functions.Samples.ReferenceMath
{
public class ReferenceMath
{
public static void Calculate(int x, int y, ref int sum, ref int prod)
{
sum = x + y;
prod = x * y;
}
}
} |
4abf90ee4d6204132cca0a7eb6f815f1a3512755 | C# | GrandBarbier/Surrounded_By_DarkGit | /Assets/Scripts/Gears/LevelManager.cs | 2.515625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class LevelManager
{
public static Action preLoadingScene;
public static IEnumerator FadeDuration(Image image, Color start, Color end, float duration, bool ... |
7419a2036d3f01a5f2b32b594785eefac728f2f4 | C# | unityai/unityai-core | /UnityAI.Core/Fuzzy/FuzzyObjects/FuzzyOperator.cs | 2.90625 | 3 | //-------------------------------------------------------------------
// (c) Copyright 2009 UnityAI Core Team
// Developed For: UnityAI
// License: Artistic License 2.0
//
// Description: FuzzyOperator
// From Constructing Intelligent Agents using Java
//
// Authors: SMcCarthy
//----------... |
9f0c8f3b92194c7a5860c9ecf43d1ff5d21dfe1b | C# | reddude256/Reflex-TrackParser | /ReflexTrackParser/Program.cs | 2.6875 | 3 | using Newtonsoft.Json;
using System;
using System.Linq;
using TrackManagement;
namespace ReflexTrackParser
{
class Program
{
static void Main(string[] args)
{
try
{
//Console.WriteLine("Fetching tracks from reflex central...");
//ReflexCe... |
a83a7f35a26864eef79c9db2acbd5695f975a19d | C# | gwmyers/hep-fun-sim | /Assets/Scripts/PartonDistributionFunction.cs | 2.65625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// A class to manage PDF related probability calculations
/// </summary>
public class PartonDistributionFunction
{
protected double centerOfMassEnergy = 13.0;
protected WeightTable partonNumberWeightTable = new Weigh... |
45774a5fdc57547e25737b6ae8d6d77d13457412 | C# | dhamotharang/PILLARSALT-APPLICATION | /PILLARSALT KIOSK/AppCodes/ThermalPrinterClass.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using ThermalDotNet;
namespace PILLARSALT_KIOSK.AppCodes
{
public class ThermalPrinterClass
{
public ThermalPrinterClas... |
553877391070c5bf3710356366494d13b57d51c1 | C# | CrypToolProject/CrypTool-2 | /LibSource/SharpPcap/CaptureDeviceList.cs | 2.671875 | 3 | /*
This file is part of SharpPcap.
SharpPcap is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
SharpPcap is distributed in the hope t... |
f3e00acea651e679b3bd9eaf9aa74fdbaba1b9be | C# | jaelys/UACHelper | /UACHelper/AdminPromptType.cs | 2.65625 | 3 | namespace UACHelper
{
/// <summary>
/// AAM behaviors regarding administrators
/// </summary>
public enum AdminPromptType : uint
{
/// <summary>
/// Allows the Consent Admin to perform an operation that requires elevation without consent or credentials
/// </summary>... |
3f908d4832e3de818ef8199d81299ad8ef30d4b9 | C# | 15827068711/CSharpHomework | /Homework3/Homework3/Program.cs | 3.609375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace homework3
{
public abstract class BaseProdImag//定义一个抽象图形基类
{
public abstract void draw();//创建图形
public abstract double S();//求图形的面积
public... |
0290cbae211701197c55cf9ffb88d93280d4d4ac | C# | fr830/BookMobile | /BookClientModal/BookClient/ViewModels/SignupPageViewModel.cs | 2.84375 | 3 | using BookClient.Models;
using BookClient.Validators;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace BookClient.ViewModels
{
// Fluent Validation With MVVM In Xamarin Forms Application
// https://www.c-sharpcorner.com/article/fluent-va... |
9d4f229559ad04c76da89c1604071aeeff0ed909 | C# | thebravoman/software_engineering_2015 | /VhodnoNivo/Lubomir_Kiprov/Lubomir_Kiprov_{10}/Program.cs | 3.421875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problem_10
{
class Program
{
static void Main(string[] args)
{
int x;
do
{
Console.WriteLine("Type number >= 0 or nu... |
a3a2bbd459459aa544c636c5298c26442343f539 | C# | Docente2018/PROGRAMMER | /LuisOchoa/Ejercicio_1/Ejercicio_1/Clase_Animal.cs | 3.21875 | 3 | using System;
namespace Ejercicio_1
{
public class Clase_Animal
{
static void Main(string[] args)
{
Accion animal = new Accion();
animal.nace();
animal.rugir();
}
}
public class Animal
{
public void nace()
... |
8bca64848e7757929aac5f3daf7c86aa06333f02 | C# | fenixrtr7/TutoC- | /Assets/TutoSuv/Scripts/Dictionary/Main2.cs | 2.9375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Main2 : MonoBehaviour
{
public Dictionary<string, int> people = new Dictionary<string, int>();
public Dictionary<int, string> books = new Dictionary<int, string>();
// Start is called before the first frame update
... |
c7c690586a2f3b9c21538f2d6e023c98866a64c9 | C# | xavierdelacruz/LeetCodeProblemsSolved | /9 - Palindrome Number.cs | 3.765625 | 4 | public class Solution {
public bool IsPalindrome(int x) {
// These are all numbers that end with a 0, other than 0 itself
if (x % 10 == 0 && x != 0) {
return false;
}
// negative numbers are automatically not palindromes
if (x < 0) {
... |
7c57d6829f4237a2764f87f28e05075b224fb157 | C# | Mungert69/VoyagerWebService | /CodeWorksVoyWeb/Bussiness Logic/Utils/FactoryUtils.cs | 2.65625 | 3 | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace CodeWorksVoyWebService.Bussiness_Logic.Bussiness_Objects
{
public class FactoryUtils
{
... |
9b9e4b5213c567eb414defd6931efe452585db10 | C# | fccoul/Projects-VS-2013 | /Projects/WebAPI_2013/ConsApp_Customer/Program.cs | 3.25 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace ConsApp_Customer
{
class Program
{
static HttpClient client = new HttpClient();
static void Sho... |
395f5eb0ebecdefbe16b16ee4026082ba89ba03e | C# | IamAbhii/MITT-System | /MITT-System-V1/Models/IdentityModels.cs | 2.515625 | 3 | using System.Data.Entity;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System;
namespace MITT_System_V1.Models
{
// You can add profile data for the user by adding more properti... |
fa1b68b9f2b8b62b0015ecc5d4a0235231b0cbdb | C# | anvesh9597/EcommerceSystem_MVC | /MVC_ecommerce_system/Ecommerce.DataAccessLayer/AdminDAL.cs | 2.671875 | 3 | using Ecommerce.System.Ecommerce.Entities;
using Ecommerce.System.Ecommerce.Contracts.DALContracts;
using System;
using System.Collections.Generic;
using System.Text;
using Ecommerce.System.Ecommerce.Exceptions;
namespace Ecommerce.System.Ecommerce.DataAccessLayer
{
public class AdminDAL:AdminDALBase
{
... |
92c7fdbe5f27853f97a6bcdef3a77fda513dbeb0 | C# | yong7743/arcgis-runtime-samples-dotnet | /src/Forms/Shared/Converters/ItemToImageSourceConverter.cs | 2.578125 | 3 | using Esri.ArcGISRuntime;
using Esri.ArcGISRuntime.Portal;
using System;
using System.Globalization;
using Xamarin.Forms;
namespace Forms.Converters
{
class ItemToImageSourceConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
... |
7b4729e715ae512873df117c9d029d1d2aa7dcdc | C# | thyjukki/Rebelion | /Assets/Scripts/Menu/CharacterInfo.cs | 2.546875 | 3 | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class CharacterInfo : MonoBehaviour {
public Text CharacterName;
public Text CharacterAttributes;
public Text AtributeValues;
public Text CharacterClass;
private GameObject currentCharacter;
public void SetCharacterInf... |
b0275002b1eac1f8cbe4bf875b03d34e84c8da60 | C# | bzzitsme/Programming-Principles | /1st Attestation/Lab1 Everything/Lab1Student/Lab1Student/Program.cs | 3.53125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab1Student
{
class Student
{
public string name, surname;
public double gpa;
public Student()
{
name = "FIT";
surname = "KBTU";... |
23df46d4f602d7697d94a1b402464cf07c684add | C# | srgul/Genel-.net-tekrar- | /Metotlar/Program.cs | 2.84375 | 3 | using System;
namespace Metotlar
{
class Program
{
static void Main(string[] args)
{
Urun elma = new Urun();
elma.Adi = "Amasya";
elma.Aciklama = "Amasyadan gelen elma";
elma.Fiyat = 200;
elma.Id = 1;
Urun urun2 = new Ur... |
672ad203f09ef6b513eedd7277c9f0c6db9031ee | C# | alaminsheikh01/C-sharp-Delegate- | /DelegateMethodDemo.cs | 3.8125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DelegateDemo
{
public delegate void showmsgdelegate(string message);
class DelegateMethodDemo
{
public void showMessage1(string msg)
{
System.Windows.Me... |
a204cc59c7855b9c29e6bb94840f9cef32b41de3 | C# | jenia996/Simple-single-permutation-cipher | /Шифр простой одинарной перестановки/DictionaryHandler.cs | 3.484375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading.Tasks;
namespace Шифр_простой_одинарной_перестановки
{
class DictionaryHandler
{
private String path = @"r:\University\Вычислительная Практика\Dictionary\Dictionary.txt";
... |
5a82294a2b0b40b364e61e18676f82b1b385220a | C# | 7Mahfuz/Bitm-Project-University-Management-System | /UniversityManagementSystem/UniversityManagementSystem/BLL/CourseManager.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using UniversityManagementSystem.DAL;
using UniversityManagementSystem.Models;
namespace UniversityManagementSystem.BLL
{
public class CourseManager
{
private GenericUnitOfWork aUnitOfWork = null;
public Co... |
3a0b9a49b24c39f4a78d180ec15a8624d2ac250e | C# | HighGroundVision/Perseverance | /src/MatchMessages/GameMessageConverter.cs | 2.5625 | 3 | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HGV.Perserverance.MatchMessages
{
public class GameMessageConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
... |
98601f5a7d2ed2da18b6fed30f559332565dc2e6 | C# | unicaes-ing/practica-07-MarcoEsquivel1 | /practica7/ejercicio5.cs | 3.59375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace practica7
{
class ejercicio5
{
//Marco René Esquivel Juárez
//11-sep-2019
public void ejer5()
{
int[,] m1 = new int[3, 3];
int[,... |
f074dc87ee9f8b27f084bb4d139ab2b855117f84 | C# | Mechetel/emulatorMT | /ZedGraph/NearestPoint/Form1.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ZedGraph;
namespace NearestPoint
{
public partial class Form1 : Form
{
public Form1 ()
{
InitializeComponent ();
DrawGraph ();
}
... |
f39b09bd4cf5e784122ff9d7b93eeab2aaee1058 | C# | ANANC/TransmitDemo | /Assets/Scripts/Unit/Id/IdDistributionChunk.cs | 2.5625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IdDistributionChunk
{
private int firstId;
private int interval;
private int currentId;
private bool isCanUseDiscardId;
private List<int> discardIdList;
public void Init()
{
discardIdLis... |
b5f520c12f5c7ae4d77790ebb8221cbd759bcaeb | C# | javonn13/PONG | /movement.cs | 2.96875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI
public class movement : MonoBehaviour {
{
public float movementSpeed;
public float extraSpeedPerHit;
public float maxExtraSpeed;
int hitCounter = 0;
// Start is called before the firs... |
31c49f5f6a252b54341bdc6290c488735d851c33 | C# | JaZolynski/Snake | /Snake/Board.cs | 3.609375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Snake
{
class Board
{
int weidth;
int height;
public Board(int w=50,int h=20)
{
weidth = w;
height = h;
}
publi... |