Datasets:

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
2e859831b22671cb84193d7a8ea7b4d9cd065c0c
C#
noahbearx3/DuctTape-Dungeon
/Assets/Scripts/UI/CurrentWeapon.cs
2.53125
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CurrentWeapon : MonoBehaviour { // Sprites to be added in editor public Sprite pistolSprite; public Sprite ak47Sprite; public Sprite shottieSprite; // GameObject holding script to...
b4b6b0cbff6237f3ecb3846184e02f1b1ba6ecc7
C#
KrotovTeam/Project
/WebUI/BusinessLogic.Managers/DrawManager.cs
2.953125
3
using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using BusinessLogic.Abstraction; using BusinessLogic.Dtos; using Common.Constants; namespace BusinessLogic.Managers { /// <summary> /// Менеджер для отображения результатов /// </summary> public class DrawManager : I...
6e32a337b1acd16634c26dd2b8ea8cee0d57444e
C#
kcmollhagen/Lab-1-Part-1
/Lab 1 Part 1/Program.cs
4
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Numbers { class Program { static void Main(string[] args) { //ask for and read input to assign to variables Console.WriteLine("Input a three di...
97be22990050a1939191cfa0c3508add76ea089f
C#
matthewzar/metaphor-world-msc-thesis
/CSMetaphorWorld/CSMetaphorWorld/CSMetaphorWorld/Logical API classes/Variable.cs
3.25
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSMetaphorWorld { public class Variable { public string name; public string type; int address; // a tuple like this -> (frameNo, frameVarNo, memAddrress) might be more usefull. Leaving it as...
b609f4e7fcc59f80807eaa29dd3f5a951e3de9e2
C#
Suremaker/CodeBuilder
/CodeBuilder/Expressions/ValueTypePointerExpression.cs
2.59375
3
using System; using System.Reflection.Emit; using CodeBuilder.Context; using CodeBuilder.Helpers; namespace CodeBuilder.Expressions { public class ValueTypePointerExpression : Expression { private readonly Expression _expression; internal ValueTypePointerExpression(Expression expre...
530e1740b651bb39b7d10e19544ea2c39ecc8a24
C#
hello-web/Neuroph.NET
/Neuroph/imgrec/filter/ImageFilterChain.cs
3.046875
3
using System; using System.Collections.Generic; namespace org.neuroph.imgrec.filter { /// <summary> /// Process images by applying all filters in chain /// @author Sanja /// </summary> [Serializable] public class ImageFilterChain : ImageFilter { private List<ImageFilter> filters = new List<ImageFilter>()...
f7bc5703ed745bc102846c4dd96e01789afd8d13
C#
sbelenki/GmailProxy
/MyGoogleApi/Utils.cs
2.828125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyGoogleApi { public class Utils { public static string MakeValidFileName(string fileName) { var builder = new StringBuilder(); var invalid = S...
58d501c93186b389bdb9a215bb54d5b8ba30c846
C#
jasarsoft/ipcs-primjeri
/ipcs_12/vjezba01/IPCS_12-V1/Program.cs
3.3125
3
using System; using System.Collections.Generic; using System.Text; namespace IPCS_12_V1 { class Program { static void Main(string[] args) { //ulazni podaci int vehicleCode = 1; int speed = 30; String[] vehicle = { "truck", "bus", "car" }; ...
fe8c4138280fe168dd6768b8874b4da5b08c6571
C#
bgfa26/HPSCAdmin
/AdminSite/src/adminsite/adminsite/common/entities/Statistic.cs
2.703125
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace adminsite.common.entities { public class Statistic : IEquatable<Statistic> { public string title { get; set; } public double value { get; set; } public Statistic(string title, double value) ...
81243c409240c2e11912a8ff4906566e2fda1c89
C#
k-payl/Runner
/Assets/Scripts/LevelGeneration/Track3.cs
2.625
3
using System; using LevelGeneration; using UnityEngine; using System.Collections; namespace GamePlay { [Serializable] public class TrackLine { public float XCoord; public TrackLine(float x) { XCoord = x; } } public class Track3 : TrackAbstract { public override float LineWidth { get...
661585cd5750b7410bf80a949b307fcf258a843d
C#
RhysWareham/Unity-Maze-Game
/Simple Maze/Assets/Scripts/RedLockedDoorScript.cs
2.578125
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RedLockedDoorScript : MonoBehaviour { public GameObject door; public GameObject accessToKeyScript; public RedKeyScript script; private bool mouseOver = false; public bool keyPickedUp; private bool move...
b06c9fef8b7107856cbfa67babe92c25cea5d3b9
C#
omarvision/AI-car-drive-on-racetrack
/Checkpoint.cs
2.578125
3
using UnityEngine; public class Checkpoints : MonoBehaviour { public Vector3 WallSize = new Vector3(1, 1, 1); private void OnDrawGizmos() { if (this.transform.childCount < 2) return; //draw line between each of the checkpoints for (int i = 0; i < this.tran...
a7da446a740045205fa93f1249f9b3b505d1dd6a
C#
andrewjpoole/elasticband
/tests/DefaultHttpClientFactory.cs
2.84375
3
using System.Net.Http; using System.Net.Security; using System.Threading; using System.Threading.Tasks; namespace Tests { public class DefaultHttpClientFactory : IHttpClientFactory { public HttpClient CreateClient(string name) { var httpClientHandler = new HttpClientHandler(); ...
1943f54f5cd274aeb713637a5f6b5f4e147d6bf7
C#
shendongnian/download4
/latest_version_download2/96915-18594290-46534839-2.cs
2.625
3
public Form1() { InitializeComponent(); textBox1.MinimumSize = new Size(32, 0); textBox2.MinimumSize = new Size(32, 0); textBox3.MinimumSize = new Size(32, 0); textBox1.TextChanged += textBox_TextChanged; textBox2.TextChanged += textBox_TextChanged; textBox3.TextChanged += ...
b77d01cb9ce3a9520af205d758b223798ad67a77
C#
GensouSakuya/MySimpleDemos
/.Net Framework/AdapterPattern/Communication/Level2.cs
2.90625
3
using System; using System.ServiceModel; namespace Communication { [ServiceContract] public interface IRobotClient:IClientMethods { [OperationContract(IsOneWay = true)] void ReceiveMessage(string message); } [ServiceContract(SessionMode = SessionMode.Required, CallbackContract = t...
15f27e73745f6b1505ebd5599297d0213dac9dfc
C#
ppedvAG/WPF_Stuttgart_2018_Oktober
/Models/BookSearchService.cs
3.109375
3
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Models { public static class BookSearchService { public async static Task<IList<Book>> SucheBücherAsync(string name) { BookSearch...
cc32830df58aac3128816b42d77ab279c65368a8
C#
magic9911/CopyForex
/testUnmanagedDLL/Client/MsgClient.cs
2.59375
3
using CopyForex.Client; using Nore.CommonLib.Message; using Nore.CommonLib.Service; using Norr.CommonLib.Client; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CopyForex { /// <summary> /// This class implements IChatClient to use to be invoked by Chat Server. ...
5ef97eb5b2c469bb2a3539a0763c9714924dc33c
C#
Andy0903/Quoridor
/Messages/PlayerWonMessage.cs
2.578125
3
using Lidgren.Network; namespace QuoridorNetwork { public class PlayerWonMessage : Message { public int PlayerSlot { get; private set; } public PlayerWonMessage(int playerSlot) { PlayerSlot = playerSlot; } public PlayerWonMessage(NetIncomingMe...
f2ae7794281797f85f98d6b48fb35dfea92ed27f
C#
balloman/Wizard-s-Assistant
/Wizardry Assistant/WizardController.cs
2.921875
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Threading.Tasks; using System.Windows.Controls; using System.Xml.Serialization; using Newtonsoft.Json; using Wizardry_Assistant.Models; namespace Wizardry_A...
6a909069a774b192caa09b3d31032f17fbc91fcd
C#
commercetools/commercetools-dotnet-sdk
/commercetools.NET/ProductProjections/ProductProjectionManager.cs
2.703125
3
using System; using System.Collections.Specialized; using System.Threading.Tasks; using commercetools.Common; namespace commercetools.ProductProjections { /// <summary> /// Provides access to the functions in the ProductProjections section of the API. /// </summary> /// <see href="http://dev.commerce...
b2e3115f690c3f921a8e05b46c856056b8aa91d3
C#
YurchenokMaxim/EPAM-tasks
/stage 2/Task 2/Project/Command/Invoker.cs
3.203125
3
namespace Task7 { public class Invoker { Command command; /// <summary> /// This method will set new command /// </summary> /// <param new command ="c"></param> public void SetCommand(Command c) { if (c == null) { ...
c852015af766a45b609f6b0400678be80e737d1d
C#
luckyman81/trainyourprogrammer
/CS_Aufgabe_310_NonRecursive/Program.cs
3.03125
3
using System; namespace CS_Aufgabe_310_NonRecursive { class Program { static void Main(string[] args) { Program p = new Program(); int num = p.DoSomething(99); } int DoSomething(int n) { return n / 2; } } }
040f0f52ac51e132f5249dfe6c2c9e21a3784364
C#
test-in-prod/cfa735-dotnet
/HelloWorld/Program.cs
2.84375
3
using Crypton.CrystalFontz; using System; using System.IO.Ports; using System.Threading; namespace HelloWorld { class Program { static void Main(string[] args) { using (var port = new SerialPort("COM15", 115200, Parity.None, 8, StopBits.One)) { ...
3bf94626d44ba4cee707ff4e2f5178999071ed7c
C#
mathiasoldfarm/chatbot_DBconnect
/DBConnect/Course/Answer.cs
3.140625
3
using System; using System.Data; using Newtonsoft.Json; using System.Collections.Generic; using Npgsql; namespace DBConnect { public class Answer { [JsonIgnore] public int id { get; set; } public string answer { get; set; } public string ...
2dff484de067eb640105e03831f2504446e67f72
C#
chansen1395/ScrabbleScorer-9-23
/Scrabble/Models/Scorer.cs
3.625
4
using System; using System.Collections.Generic; // method that takes in a string // scoring dictionary {a, 1}, ... // parse each letter into a list // for loop // if list[index] is in the dictionary[index2] --> score += dictionary[index2] // {"a", "b", "c"} --> 7 // return score namespace Scorer.Models { public clas...
d74d0e4459f30858253aa967ecc9a3826ba28894
C#
IrekRomaniuk/csharpwithmosh
/Workflow/Workflow/Workflow.cs
2.8125
3
using System; using System.Collections.Generic; namespace Workflow { public class WorkflowEngine : IWorkflowEngine { private IList<IActivity> _activities; public WorkflowEngine() { _activities = new List<IActivity>(); } public void Run() { ...
7ec0ddc0a1933f099c2983f4c9cb5386b8808fe3
C#
suteetoe/brsml
/SMLERPControl/_sideBar/OutlookStyleTabButton.cs
2.625
3
/* * Proje : Outlook 2003 Style SideBar v 1.1 * * Hazırlayan : Muhammed ŞAHİN * eMail : muhammed.sahin@gmail.com * * Açıklama : Outlook 2003 Style Sidebar * : Panel içerisine eklenen TabButtonlar * */ using System; using System.Collections.Generic; using System.ComponentModel; ...
9fc773361379d759ae1c5bc204c6b081d61a252e
C#
BadgerTadger/DSM
/DSM_BLL/ShowsBL.cs
2.765625
3
using DSM_DATA; using System; using System.Data; namespace BLL { public class ShowsBL { private string _connString = ""; public ShowsBL(string connString) { _connString = connString; } public DataTable GetShows() { DataTable retVal = nu...
a7e1dbc390ce7a207d831d4104529543a94bef88
C#
Floydan/discord-pickup-bot
/PickupBot.Commands/Infrastructure/AppVersionInfo.cs
2.71875
3
using System.Linq; using System.Reflection; namespace PickupBot.Commands.Infrastructure { public class AppVersionInfo { private string _gitHash; private string _gitShortHash; public string GitHash { get { if (string.IsNullOrEmpty(_gitHas...
4aa0add9d1cf10970cd87834e915cb276d4ba369
C#
dbogdan95/SA-MP.Gamemode.CSharp
/Game/World/Properties/Generic.cs
2.640625
3
using Game.Core; using Game.Factions; using MySql.Data.MySqlClient; using SampSharp.GameMode; using System; using System.Collections.Generic; using System.Text; namespace Game.World.Properties { public class Generic : Property { private int __id; private Generic(Interior interior, Vector3 pos...
aed5cac6e3e4f18b5e5625d19f94f2b9aef67ba3
C#
denhamdagger/OData-v4-WebApi-Demo
/Part11/DataSource/Repository.cs
3.109375
3
using Part11.Models; using System.Collections.Generic; using System.Linq; namespace Part11.DataSource { public class Repository { private List<Car> _cars; public Repository() { _cars = new List<Car> { new Car {Make = "Vauxhall", Model = "Zafira", Colour = "Blue", Price = 20000.00, Category = "SUV"}, ...
530280cf3cdb6f64db5bb781286370d7a501e7f6
C#
Lead007/-The-Mirror-Bridge-to-Euphoria-Myself
/JLQ_GameResources/Characters/CharacterBeCalled/AliceFigure.cs
2.609375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using JLQ_GameBase; using MoreEnumerable; namespace JLQ_GameResources.Characters.CharacterBeCalled { /// <summary>爱丽丝·玛格特洛依德 召唤出的人偶</summary> public abstract class AliceFigure : Character { ...
69046c12fa65e3d2a8310b71630dbf8f383aaf3a
C#
seobyeongky/ztar
/Assets/Scripts/Tilemap/TilePatternContainer.cs
2.65625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TilePatternContainer : MonoBehaviour { [SerializeField] [HideInInspector] byte[] patternMap = new byte[0]; [SerializeField] Vector2Int minski; // inclusive [SerializeField] Vector2Int maxski; // e...
2c2b28b8b3d4cbdeffec5741d9984c51f83479da
C#
PayHard/CastleDEMO
/CastleDEMO/Program.cs
2.8125
3
using System; namespace CastleDEMO { class Program { static void Main(string[] args) { PersonDAL person = DaoContainer.GetDao<PersonDAL>(); Console.WriteLine("当前类型:{0},父类型:{1}", person.GetType(), person.GetType().BaseType); Console.WriteLine(); p...
ac7f0c66999e6f73f3f1dcc53caf8001c1b34682
C#
tlacure17/Collatz
/src/Collatz.Tests/CollatzSequenceTests.cs
2.640625
3
using NUnit.Framework; using System; using System.Collections.Immutable; using System.Numerics; namespace Collatz.Tests { public static class CollatzSequenceTests { [Test] public static void Generate() { var start = new BigInteger(5); var sequence = CollatzSequenceGenerator.Generate(start); Assert.T...
99f77bbe6de54c5b9b61936ea8517e18da954277
C#
NPNikolov/HomeWrks-Fundamentals-Jan-2018
/ByThemes/p01_debitCardNumber/p05_Character_Stats/Program.cs
3.65625
4
using System; namespace p05_Character_Stats { class Program { static void Main(string[] args) { String name = Console.ReadLine(); int health = int.Parse(Console.ReadLine()); int maxHealth = int.Parse(Console.ReadLine()); int energy = int.Parse(C...
471a2c76ef5ae992b4a1eb707bde76edd905eed4
C#
asdfasdf126/ASL-Translation-Gesture-Recognition
/SeniorProject/DebugUC.xaml.cs
2.609375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
12ad0114c060601aac1d44feb192cf180f7b1f02
C#
beller0ph0nt/Robot
/TSAnalisator 3.0/Robot/TransportStructures/Point/Point.cs
3
3
 namespace Robot.TransportStructures { public class Point : IPoint { public double X { get; set; } public double Y { get; set; } public Point(double x, double y) { X = x; Y = y; } public override string ToString() { r...
7715327c6cf6f1546c7a3de69e89dcb2c71c80e3
C#
Drutol/CrossHMI
/CrossHMI/CrossHMI.LibraryIntegration.AzureGateway/Infrastructure/AzurePublisher.cs
2.640625
3
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using CrossHMI.LibraryIntegration.AzureGateway.Interfaces; using Microsoft.Extensions.Logging; namespace CrossHMI.LibraryIntegration.AzureGateway.Infrastructure { ///<inheritdoc/> public cla...
1e4d62a37bc21a248e3ac1fd25e408bd8c6d4e71
C#
EnhuiGuo/mvc-projects
/SouthlandMetals.Core/Domain/Repositories/StateRepository.cs
2.875
3
using SouthlandMetals.Core.Domain.DBModels; using SouthlandMetals.Core.Domain.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; namespace SouthlandMetals.Core.Domain.Repositories { public class StateRepository : IStateRepository, IDisposable { private...
9c255814324428d6526f6f175a360f708095bee8
C#
Steveiwonder/DataMasker
/src/DataMasker/Models/ColumnConfig.cs
2.8125
3
using System.Collections.Generic; using System.ComponentModel; using Newtonsoft.Json; namespace DataMasker.Models { /// <summary> /// Column Configuration /// </summary> public class ColumnConfig { /// <summary> /// The name of the column /// </summary> /// <value> /// The name. /// ...
7a25fea1e2c6339d3528a5606326678ea37eb576
C#
mjcarpenter/GeneticAlgorithms
/GeneticAlgorithms/GeneticAlgorithmLibrary/Models/GeneticAlgorithmConfig.cs
3.546875
4
namespace GeneticAlgorithmLibrary.Models { /// <summary> /// Holds the configuration for a standard genetic algorithm. /// </summary> public abstract class GeneticAlgorithmConfig { #region Constructor /// <summary> /// Creates a new GeneticAlgorithmConfig to hold the provi...
aaebf6682c3dcd73c6714897c4c5daa82d6b36fb
C#
andrii-baranov/algo1
/Algo1.Core/BitManipulations.cs
3.609375
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Algo1.Core { public class BitManipulations { public static int CheckBitConversion(int a, int b) { int n = 0; while (a != b) { ...
78ba73955f6dc3f663be1fb37cfe6e4feaabcf14
C#
unity-game-framework/ugf-messagepack
/MessagePack/MessagePackUnsafeUtility.cs
2.640625
3
using System; using System.Runtime.CompilerServices; namespace MessagePack { /// <summary> /// Provides unsafe utilities. /// </summary> public static class MessagePackUnsafeUtility { /// <summary> /// Reinterprets the given reference as a reference to a value of type <typeparamref ...
85ff57f34a9f59760cabcc63d20f789978fe098c
C#
petegamble/justgoride.cc
/src/JustGoRide.cc.Providers/ClubEntityFrameworkProvider.cs
2.734375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using JustGoRide.cc.Interfaces; using JustGoRide.cc.Models; namespace JustGoRide.cc.Providers { public class ClubEntityFrameworkProvider : IClubProvider { private ClubContext _context; ...
4346aeff7d52641fe4bdde072de88e472e2e0298
C#
radtek/SmartQueueSys-master
/EntCodeGener/bin/Debug/bac/EntFrm.Business.Model/Collections/OutlineTypeCollections.cs
2.9375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace EntFrm.Business.Model.Collections { public class OutlineTypeCollections:CollectionBase { public OutlineType this[int index] { get { return (OutlineType)List[index]; } ...
5150f789a3cc8c70c698e4c6fd99d4158be25d8b
C#
joshvisler/YouControl-Test-Task
/SockNet/ClientSocket/SocketClient.cs
2.671875
3
using System; using System.Collections.Generic; using System.IO; using System.Net.Sockets; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; using SockNet.Utils; [assembly: InternalsVisibleTo("SockNet.UnitaryTests")] [assembly: InternalsVisibleTo("SockNet....
3eee5f175ff81cbbfc3063ff078d265910d7b918
C#
OlaPietka/Calculator-WPF-MVVM
/Calculator/ViewModel.cs
3.171875
3
using System; using System.Windows.Input; namespace Calculator { class ViewModel : ViewModelBase { bool isSumDisplayed = true; double left = 0; double right; string rememberOperator; bool firstOperation = true; public ViewModel() { ...
79892d431c5943772342725ef2e272892c8cdecb
C#
drich223/CSharp
/Lab4Pt2/Program.cs
3.6875
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab4 { class Program { class Person { public string firstName; public string middleName; public string lastName; publi...
3cbe665208ba6c55874dccb1a441c7d64b716106
C#
ysfada/Bookshelf_WinForms
/Database/Repositories/BookIssueRepository.cs
2.59375
3
using Bookshelf.Database.Entities; using Bookshelf.Utilities; using System; using System.Data; using System.Data.SqlClient; using System.Threading.Tasks; namespace Bookshelf.Database.Repositories { internal static class BookIssueRepository { //private const int RowPerPage = 2; internal static...
14221509dd648037546ae7f0b997a610a9a8bbf2
C#
nlhans/MemoryVision
/MemoryVision/DataGrabber/Grabber.cs
2.609375
3
using System; using System.Threading; using Triton; using Triton.Memory; namespace MemoryVision.DataGrabber { public class Grabber { public event Signal Done; public Channels Channels { get; set; } public Waveform Waveform { get; set; } public Triggering Trigger { get; set; }...
10905088a3d6d9fc3d5b8cdcd9711a7aaa4ceaf9
C#
ukeswani/RomanNumerals
/RomanNumerals/RepetitionValidator.cs
3.296875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RomanNumerals { public class RepetitionValidator : IValidator { private IDictionary<char, int> _dict; public RepetitionValidator(Dictionary<char, int> dict) { ...
6bc9bae8767d535200cb67fa2640066398cc0187
C#
Ramzi-dev611/TP2.net
/TP2_Activity1/DBA_ADO_Deconnecte/Program.cs
3.140625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DBA_ADO_Deconnecte { class Program { static void Main(string[] args) { DataAccessor dataAccessor = new DataAccessor(); Student stud...
059d4099722cd68debf17b01f25689be8e58da70
C#
mdiller/bpjson
/BpJson/BitPacking/ConstrainedUIntBinaryConverter.cs
3.671875
4
using System; using System.Collections.Generic; using System.Text; namespace BpJson.BitPacking { /// <summary> /// Represents how to save/load an unsigned integer to/from bytes (values given are ints but theyre assumed to all be >= 0) /// </summary> public class ConstrainedUIntBinaryConverter : BinaryConvert...
0842c342770753233872da1367e3baae832c0b6b
C#
vdossantosmonteiro/Cadastro
/Cadastro/Projeto.Data/Repositories/ClienteRepository.cs
2.859375
3
using Projeto.Data.Contracts; using Projeto.Data.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; using System.Data.SqlClient; using Dapper; using System.Collections.ObjectModel; namespace Projeto.Data.Repositorie...
2dd24be7c465dd8608cd4c37e6267d8084a76ca1
C#
yuletodim/DataStructuresCourse
/7.CoolectionsAndLibraries/3.1.FastSearchStringsInText/FastSearchStringsInText.cs
3.65625
4
namespace FastSearchStringsInText { using System; using System.Collections.Generic; using System.Linq; using Wintellect.PowerCollections; class FastSearchStringsInText { static void Main(string[] args) { var wantedStrings = ReadWantedStrings(); ...
a6b160e7ea6a3c00441a9935a5d72736edf736b6
C#
PinnacleTechnology/Vantage.Measurements
/src/Vantage.Measurements/Prefixes/Nano.cs
2.53125
3
namespace Vantage.Measurements.Prefixes { /// <summary> /// Denotes a factor of one billionth (0.000 000 001) [1e-9] /// </summary> public class Nano : IPrefix { public static Nano Data { get; } = new Nano(); public string Name { get; } = "Nano"; public string Symbol { get;...
2e7ddf2c818655ce295684ef6bc9175215359121
C#
trungnam1601/Group-Practice
/QuanLyNhaHang/Helper/Table.cs
2.53125
3
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QuanLyNhaHang.Helper { public class Table { public Table(string maBan, string trangThai) { this.MaBan = maBan; ...
4339ba9156330799b99f77195bf088370efcdc6a
C#
tooml/dyp.webservice
/dyp.contracts/data/Ranking.cs
2.84375
3
using System; using System.Collections.Generic; using System.Linq; namespace dyp.contracts.data { public class RankingDataBasis { public class RankingOptionsData { public int Points; public int Points_drawn; public bool Drawn; public bool Walkove...
84876382bc27cff0f175c427e0e6a5db96cb0902
C#
AirlandKK/bookstoreSYS
/书店管理系统/书店管理系统/DAL/SalesDailsDal.cs
2.90625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using model; namespace DAL { public class SalesDailsDal { /// <summary> /// 根据销售记录查询详情 /// </summary> /// <param name="SaleID"><...
5ec3df27f337767d72057dd4b71a98eb7c252fd2
C#
zaibatsutel/ZaibatsuPass
/ZaibatsuPass/PhysicalCard/Desfire/File/DesfireFile.cs
2.828125
3
using System; using ZaibatsuPass.PhysicalCard.Desfire.File.Settings; namespace ZaibatsuPass.PhysicalCard.Desfire.File { public class DesfireFile { public byte ID { get; private set; } public DesfireFileSettings Settings { get; private set; } public byte[] Data { get; private set; } ...
25d0c6a743477e700b9ef2896b52c685bd3a2674
C#
sjakur/ASMembershipSystem
/backend/ASMembershipSystem/ASMembershipSystem.DataAccess/Repositories/MemberRepository.cs
2.8125
3
using ASMembershipSystem.Core.Contracts; using ASMembershipSystem.Core.Domain; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; namespace ASMembershipSystem.DataAccess.Repositories { public class MemberRepository : IMemberRepository { private readonly ASMembers...
9114a56d889cfd7dc905d74ceb82556daf5b3a41
C#
huangjunjiegdmc/WpfControlEx
/WpfControlEx/Controls/MessageBoxEx.cs
2.71875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace WpfControlEx.Controls { public sealed class MessageBoxEx { // // 摘要: // 前面显示一个消息框在指定的时段。 该消息框显示消息、 标题栏标题、 按钮和图标;接受默认消息框的结果并返回一个结果。 ...
5229d1c9558000d5bdbcbbbe07e56bedd6fcc7be
C#
zeroxenof/CodeZone
/RSA/JWTDemo/Program.cs
2.5625
3
using Jose; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.OpenSsl; using Security.Cryptography; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using System....
7ce8872600ffbd14fd7c3b6e689b49bdabec17d8
C#
ClawmanCat/DartTracker
/DartTracker/Models/Tournament.cs
2.765625
3
using DartTracker.Utility; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DartTracker.Models { public abstract class ...
f8e2e9d6cd0954b4dbb91905a39c5132fa089926
C#
sabahat767/IPT_Assignment-03
/EmployeeData/HelperClasses/Employee.cs
2.65625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EmployeeData.HelperClasses { public class Employee { public void AddEmplyee(string first_name, string last_name, string email,string phone_number,int department_id,string salar...
51aa36fa17ffb88c197019da2b5631b673eee4e8
C#
Auros/Blossomic
/Blossomic/Converters/FlipArrayConverter.cs
2.796875
3
using Blossomic.Noodle; using System; using System.Text.Json; using System.Text.Json.Serialization; namespace Blossomic.Converters { public class FlipArrayConverter : JsonConverter<Flip> { public override Flip? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) ...
3ac0d315106e8cde63f7bead87ac47c4849c6130
C#
Karolina-Lach/RecipeSearch
/RecipesTest/RecipeModelTest.cs
2.859375
3
using Microsoft.VisualStudio.TestTools.UnitTesting; using RecipeSearch.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace RecipesTest { [TestClass] public class RecipeModelTest { [TestMethod] public void GetProductList_Test(...
bbf4e462adfe89e14300e9c8e31eb4d76d37839a
C#
kunana/Defence
/Defence Game/TileMaker.cs
2.5625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TileMaker : MonoBehaviour { void Start() { // 가로가 1부터 8 까지, 세로가 1부터 18까지; GameObject gameTile = Resources.Load("TileObject", typeof(GameObject)) as GameObject; //첫줄 float y = 7.36f; ...
e81d07f79ec00e2f59811ed6141da98df399e7bb
C#
ThanhGT/Teacher-Registration-System
/Models/SeedData.cs
2.84375
3
using Microsoft.AspNetCore.Builder; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using System.Linq; using Tran_Thanh_991515427_Exam.Models; namespace Tran_Thanh_991515427_Exam.Models { public class SeedData { // receive an IApplication Builder argument(is an int...
858a104bb8604b4a6cd03d9c84a2b846fd660650
C#
Haarmees/SEVSTools
/SEScriptBuilder/ScriptBuilder/Analyzer/ScriptAnalyzer.cs
2.640625
3
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using SEScriptBuilder.ScriptBuilder.TaggedSyntax; namespace SEScriptBuilder.ScriptBuilder.Analyzer { ...
2b50e8c1506bbe84ad78b6601ec649332c9b735c
C#
kenfehling/World-of-Carbon
/Assets/Scripts/UI/CarbonDisplay.cs
2.515625
3
using UnityEngine; using System.Collections; using UnityEngine.UI; public class CarbonDisplay : MonoBehaviour { private Text text; private string displayText; private int numOfCarbons; private string currentFormula; public string targetFormulaText; public float stayTime = 8.0f; publi...
6cc220456db7fb4d4c4e58c5dec85f5fcb0fa8a0
C#
PeterPopma/blik
/Blik/DetectionObject.cs
2.96875
3
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; namespace Blik { class DetectionObject { private Rectangle rectangle; private float differenceNormal; private float differenceTrigger; private float secondLevelDifference...
80e733f212f2ff584c60c238e44b0723892be71b
C#
viktor02041991/omgtu
/2 semester/maltsev_tasks_2s_zas123/Form5.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.Threading.Tasks; using System.Windows.Forms; using System.Diagnostics; namespace maltsev_tasks_2s_zas123 { public partial class fCProject : Form ...
6649ecd87aef149a7bc36f6d1dfa4427b73d452e
C#
jo3l17/CodiGo3
/Backend/Semana 10/Dia2/EF FluentAPI/EF FluentAPI/programContext.cs
2.828125
3
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EF_FluentAPI { class ProgramContext : DbContext { public ProgramContext() : base("name = conexion") { Database.SetInitializer<Prog...
232ca3e3846a60b70c6096aabbbe2bb97d470114
C#
cmccandless/ExercismSolutions-csharp
/high-scores/HighScores.cs
3.3125
3
using System; using System.Collections.Generic; using System.Linq; public class HighScores { private List<int> scores; public HighScores(List<int> list) { this.scores = new List<int>(list); } public List<int> Scores() { return scores.ToList(); } public int Latest() ...
ac88641585558493c1742a43df2a12d3d7eb6f94
C#
tieje/csharp-trading-bot
/ContextProvider.cs
2.796875
3
/* The main purpose of the Context Provider is to either grab information that algorithms will use as input for their conditionals to activate, OR to activate the web scraper that will grab information for the algorithm to activate. */ using System; using Alpaca.Markets; using System.Threading.Tasks; using System.Linq;...
0e02cd6617981de15e38f42c020d4d15b427be81
C#
ccrispin/SampleProjectMvcTest
/ProjectName.Common/Logger/Log4NetLogger.cs
2.6875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using log4net; using ProjectName.Interfaces.Common; namespace ProjectName.Common.Logger { public class Log4NetLogger: ILogger { #region ILogger Members private ILog _logger; public Log4NetLogger() ...
03696f6048e48bd6e45d298eb3e81ef8aa8d1909
C#
jfcarocota/itesca-app-2D-01
/Assets/Scripts/Party.cs
2.578125
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Party : MonoBehaviour { [SerializeField] List<Player> currentParty; Player leader; [SerializeField] Player[] players; // Start is called before the first frame update void Start() { pla...
6c96024acf8bd58d7ab629d3de5672e4d426a35e
C#
Cprice1771/RavenExplore
/RavenDBExample/Program.cs
2.640625
3
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Models; using Raven.Abstractions.Data; using Raven.Client; using Raven.Client.Document; using Raven.Client.Indexes; using Raven.Json.Linq; using RavenDBEx...
fba17a92dbd32c5597a77954c8cce9c0d6411b8f
C#
nickgenov/Advanced-CCharp-May2016
/StacksAndQueues/BasicStackOperations/BasicStackOperationsMain.cs
4.03125
4
using System; using System.Collections.Generic; using System.Linq; namespace BasicStackOperations { public class BasicStackOperationsMain { public static void Main() { Stack<int> elementsStack = new Stack<int>(); string input = Console.ReadLine(); int[] com...
ce661d481da8ea108fe5e2c3bbb1840438b1fc81
C#
githubbylf/FreshFruit
/FreshFruit.Common/ToolsUtils/CommonUtils.cs
3.15625
3
using System; using System.Text; namespace FreshFruit.Common.ToolsUtils { public class CommonUtils { /// <summary> /// Automatically generate random numbers /// </summary> /// <param name="minValue">Minimum value</param> /// <param name="maxValue">Max value</param> ...
e4954ef8b001a99913c48c92e4184b4f1e00c19d
C#
sh1ch/Samples
/PrintSample/PrintSample/Page.cs
3.203125
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; namespace PrintSample { /// <summary> /// <see cref="P...
593c96fb9e1b497599e798d075dfd23af945d4b6
C#
Madoxen/SSI
/kolos_pchlad/NeuralNetwork/Network.cs
2.859375
3
using System; using System.Collections.Generic; using System.IO; namespace NeuralNetwork { public class Network { static double LearningRate = 0.01; internal List<Layer> Layers; internal double[][] ExpectedResult; double[][] differences; public ITestStrate...
68e0dec39373c81c8694bea46b3226abecfe1a74
C#
TeodorAntonov/Softuni_Fundamentals_Mid_Exams_Practice
/04. Programming Fundamentals Mid Exam_03. Heart Delivery/Program.cs
3.375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Heart_Delivery { class Program { static void Main(string[] args) { List<int> neighborhood = Console.ReadLine().Split("@").Select(int.Parse).ToList(); ...
43beffc2a4be025d225aa86b658557fb9efa5478
C#
LordPilum/ValidationAttributes
/ValidationAttributes/CustomValidationAttribute/HasValueAttribute.cs
2.953125
3
using System; using System.Linq; namespace ValidationAttributes.CustomValidationAttribute { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public sealed class HasValueAttribute : ValidationAttribute { public string[] ValidValues { get; set; } public override bool IsVal...
47917869bd739196ec6f730e2ff53a0c14a309ec
C#
KlichnikovDA/CGPaint
/CG_Paint/Axis.cs
2.84375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; namespace CG_Paint { public static class Axis { // Прорисовка осей координат public static void DrawAxis(Graphics g) { g.DrawString("X",...
9ab796a7aeab409a0968c966d0417aa6572fab44
C#
xoposhiy/stylist
/stylist/StyleChecker.cs
2.75
3
using System.Collections.Generic; using System.Linq; using ICSharpCode.NRefactory.CSharp; using ICSharpCode.NRefactory.TypeSystem; using Newtonsoft.Json; using stylist.Checkers; namespace stylist { public class StyleChecker { private readonly IChecker[] checkers; public IChecker[] Checkers { get { return check...
b121bb216cb20fe912a17d64fd56471de8c2652d
C#
Lachee/Code-Spaceship-Generator
/Form1.cs
3
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 System.IO; using System.Diagnostics; namespace CodeSpaceshipGenerator { public partial class F...
8975a4f60ea1ef2ea0cc5b5f37f3e30edcf00d27
C#
angelinn/ASOC-System-for-Online-Certificates
/src/SusiAPI/SusiAPI/SusiSession.cs
2.859375
3
using SusiAPI.Parser; using SusiAPI.Responses; using SusiAPICommon.Models; using System; using System.Threading.Tasks; namespace SusiAPI { public class SusiSession { private ISusiParser parser; public SusiSession(ISusiParser parser = null) { this.parser = parser ?? new Clas...
7757a5dc3f2e8b2afcd751ee69f204165950cac7
C#
lucas-miranda/Raccoon
/Raccoon/Graphics/Fonts/Shaders/TextShaderParameters.cs
2.609375
3
using Raccoon.Graphics; namespace Raccoon.Fonts { public class TextShaderParameters : IShaderParameters, IFontSizeShaderParameter { #region Private Members private float? _fontSize; #endregion Private Members #region Constructors public TextShaderParameters(Font font) { ...
5eb60313368a0ab8c571133eea8945baee852340
C#
QuestroL/WhatBackend
/CharlieBackend.Business/Services/CourseService.cs
2.671875
3
using AutoMapper; using CharlieBackend.Business.Services.Interfaces; using CharlieBackend.Core.DTO.Course; using CharlieBackend.Core.Entities; using CharlieBackend.Data.Repositories.Impl.Interfaces; using System.Collections.Generic; using System.Threading.Tasks; namespace CharlieBackend.Business.Services { public...
522aaa7ec96ea4cb1924cea48318f411f5711a17
C#
alco6/VideoDelay
/Assets/Scripts/TestWebCam.cs
2.546875
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TestWebCam : MonoBehaviour { //FPS private int fps = 15; private WebCamTexture webcam; private Texture2D output; private Color32[] data; // Use this for initialization void Start () { // W...
f98a2c97783645ae96a5e758f0d003628d2d5fa5
C#
Aurbo99/vixen
/Modules/Property/Face/FaceMapItem.cs
2.515625
3
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Runtime.Serialization; namespace VixenModules.Property.Face { public class FaceMapItem { public FaceMapItem() { PhonemeList = new Dictionary<string, Boolean>(); FaceComponents = new Dictionary<FaceCompone...
4928fa8fafae4d126bda7f3ae0af35bed3c942c7
C#
hasali19/SharpSDL
/SharpSDL/SDL.Mouse.cs
2.53125
3
using System; using System.Runtime.InteropServices; namespace SharpSDL { public enum SystemCursor { Arrow, IBeam, Wait, Crosshair, WaitArrow, SizeNWSE, SizeNESW, SizeWE, SizeNS, SizeALL, NO, Hand } public e...
0b6c5b1b9631a3e01096041a036790a5930f9913
C#
UkaszK95/SI_EchoStateNetwork
/SurveyESN/MainWindow.xaml.cs
2.75
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
5adc1c9d888c629ef2344b48c9a1e42fbb20238c
C#
Sushant1010/Projeect
/NCIT_MIS - Copy/Repository/A_CategoryRepo.cs
2.53125
3
using Dapper; using NCIT_MIS.Models; using NCIT_MIS.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace NCIT_MIS.Repository { public class A_CategoryRepo { public int AddCategory(A_Category saveCate) { string sql = "insert into ...
08f297b18f491f7d80a1081f3cabae8d10065e9f
C#
guilhermebentomarques/Alura_CSharpProgramming
/Alura_CSharpProgramming/Alura_CSharpProgramming_Parte11/Alura_CSharpProgramming_Parte11/Aula06_TaskWaitAll.cs
3.3125
3
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; namespace Alura_CSharpProgramming_ParteZ11 { class Aula06_TaskWaitAll { static void Metodo() { Console.WriteLine("Númer...
379c4a3edb6ee92418b8e875d7ecdebaa280dffa
C#
krishna3006/Dotnet
/C #/day6/New folder/Collectionsdemo/HasttabDemo/Program.cs
3.1875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.Threading.Tasks; namespace HasttabDemo { class Program { public void Show() { Hashtable ht = new Hashtable(); ht.Add("1", "Krishna"); ...
2ed88ff8d4dbb0342c2f6f36c19233ff1a066ee6
C#
shelehedaiv/Analysis7
/Analysis7/Converter/ProbabilityNameConverter.cs
2.84375
3
using System; using System.Globalization; using System.Windows.Data; namespace Analysis7.Converter { public class ProbabilityNameConverter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { var probability = (do...