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
62fc6b48d7751e51c1dddb09445c950572e5d9e8
C#
mathimathi/PR5_20162017
/DeckAPI/InLES/InLES/Models/DeckRepo.cs
2.734375
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace InLES.Models { public class DeckRepo { private List<Deck> decks; private static DeckRepo instance; public static DeckRepo GetInstance() { if (instance == null) ...
3be5a7832a301be5e116349c4bab3bfbc76f2fe6
C#
MarkMpn/Sql4Cds
/MarkMpn.Sql4Cds.Engine/Ado/ConfirmRetrieveEventArgs.cs
2.59375
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace MarkMpn.Sql4Cds.Engine { /// <summary> /// Contains information about a page of data that is about to be retrieved /// </summary> public class ConfirmRetrieveEventArgs : CancelEventArgs { ...
2b9985fc5634399a5f04b0b184f5ff7bea13da8b
C#
Sergey303/SimpleRDF
/Program.cs
2.75
3
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Security.AccessControl; using System.Text; namespace SimpleRDF { internal class Program { private static Query query; private static void Main(...
872f16c9eaf59cc735f3665d7159d7923a277060
C#
kyleHaldane/LeetCode
/20 Valid Parenthesis/20 Valid Parenthesis/Program.cs
3.4375
3
using System; //Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. //An input string is valid if: //Open brackets must be closed by the same type of brackets. //Open brackets must be closed in the correct order. //Note that an empty string ...
317d1e8476adfb0f0d0541b2a0f14de3990d219d
C#
Rohitchoudhary123/Projects
/NAGGLE.Common/Utility/CommonFunction.cs
2.59375
3
using System; using System.Collections.Generic; using System.Configuration; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using System.Web; namespace NAGGLE.Common.Utility { public class C...
c97097718032f7db60d742b37e1a9c9eab00a799
C#
dullcat/leetcode_csharp
/Q021_MergeTwoSortedLists.cs
3.421875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; // Merge two sorted linked lists and return it as a new list. // The new list should be made by splicing together the nodes of the first two lists. n...
ab8f1053f690908341b2d023273c8a4d6fe295d7
C#
Foovanadil/Courier
/Courier.ViewModels/FooterVM.cs
2.765625
3
using System; namespace Courier.ViewModels { public class FooterVM : BaseViewModel { public String MessageContent { get; set; } public String ErrorContent { get; set; } private MessageToken Token { get; set; } public FooterVM() { Token = Mediator.RegisterForMessage("Content1Message", (Action<String>)O...
df73792871d874044d7a1ab9eecdb47225c6d081
C#
MikazeGP/UniBomb
/UnityBomber/Assets/Scripts/Util/Util.cs
2.640625
3
using UnityEngine; using System.Collections; public class Util{ /// Mathf.Cosの角度指定版. public static float CosEx(float Deg) { return Mathf.Cos(Mathf.Deg2Rad * Deg); } /// Mathf.Sinの角度指定版. public static float SinEx(float Deg) { return Mathf.Sin(Mathf.Deg2Rad * Deg); } ...
2644a5b95207fca28f493827887ef829db8d7cbb
C#
GabiLarg/Space-Survivor
/Assets/Scripts/PlayerControl.cs
2.546875
3
/*Gabriela Pereira de Assis * RedID 818592808 *CS583 - 3D Game Programming *Assignment 5 */ using UnityEngine; using System.Collections; public class PlayerControl : MonoBehaviour { public static int finalScore; public Vector2 speed = new Vector2(10, 10); private Vector2 movement; private SpriteRenderer sp...
05b69749f75a32bb31101d179ff25db21a3ccab4
C#
devvindan/AssemblyBrowser
/AssemblyBrowserLibrary/ResultStructure/Method.cs
2.53125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace AssemblyBrowserLibrary.ResultStructure { // result structure for methods public class Method { public string name; public string signature; public Method(Metho...
f16956ac60d488dec6acec164d639a99462049d4
C#
ehasis/alsing
/MyMeta/CollectionEnumerator.cs
2.671875
3
using System; using System.Collections; namespace MyMeta { /// <summary> /// Summary description for CollectionEnumerator. /// </summary> /// #if ENTERPRISE using System.Runtime.InteropServices; using System.EnterpriseServices; [GuidAttribute("3c35ad55-7c6a-4f5f-af6f-340cf4e8b4ea"),ClassInterface(C...
0a25098de07654aff7d1597544d74b0ca6ca9fa6
C#
gobixm/learn
/GangOfFour/Source/Prototype/Program.cs
3.265625
3
using System; using System.Threading.Tasks; namespace Infotecs.GangOfFour.Prototype { internal class Program { private const int ModifiersCount = 4; private static void Main(string[] args) { IRequest income = new Request("lorem ipsum etc.".ToCharArray()); var r...
fe2ff01402fd1f942408e0c783557e10af4b0088
C#
smw60/EGH
/EGH01/EGH01DB/Types/IncidentType.cs
2.828125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; using System.Data; using System.Xml; using EGH01DB.Primitives; namespace EGH01DB.Types { public class IncidentType { public int type_code ...
36a1359d544dc44b60a665d57e1cddc013247e69
C#
constantlearning/unitri
/unitri-pds/Aula06/aula06-ex01/aula06-ex01/repository/ConnectionFactory.cs
2.53125
3
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace aula06_ex01.repository { class ConnectionFactory { private static string conString = @"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\User...
e04bf92bff25e02cfd67dc4cf5ade180a41e2e55
C#
4N70Ni0/DeckLibrary
/exercises/SieteYMedio.cs
3.015625
3
using System; using LibraryCards; public class SieteYMedio { // Se ejecuta cuando uno de los dos oponentes pierde. // Jugador: true. // Banca: false. public static double Derrota(string msg) { Console.WriteLine(msg); return -1.0; } // Devuelve la opción elegida por el jugador: // Robar: true // Plantarse...
f0d98d60fbcc07bfa44e7cd734d4012c16d4f171
C#
jespanag/CIL.NativeWrapper
/CIL.NativeWrapper/FrameworkHelper.cs
2.65625
3
using System; using System.Collections; using System.IO; using Microsoft.Win32; namespace CIL.NativeWrapper { /// <summary> /// .Net framework helper. /// </summary> public class FrameworkHelper { // constructors... FrameworkHelper() { } // public methods... /// <summary> /// Gets .Net framework in...
3727b6e9c6c6b1345b207a78cf9207a8ddb17547
C#
Nuzumi/Testownik
/Testownik/ViewModels/FinishedTestVM.cs
2.671875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace Testownik.ViewModels { public class FinishedTestVM { private Model.Test test; private int questionRepetitionAtStart; ...
76a5ebaced953befdcd3c1a7519d5dc257eb0572
C#
pranaone/HMS
/HospitalManagementSystem/Services/Bill/BillService.cs
2.5625
3
using HospitalManagementSystem.Models.Bill; using HospitalManagementSystem.Services.BaseService; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Threading.Tasks; using System.Web; namespace HospitalManagementSystem.Services.Bill...
b0a477959b90f4ce2db87fa3d9d50ac4b0626a3a
C#
dragomirevgeniev/.NetCourseFMI
/Lab3/DeckOfCards/Program.cs
3.375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DeckOfCards { class Program { static void Main(string[] args) { DeckOfCards deck = new DeckOfCards(); deck.Shuffle(); deck.MakeHand(...
c8708f77a4dbb3522de8b9d4014a4adaf42ae335
C#
brzozasr/UnityGame
/Assets/Scripts/ChipController.cs
2.59375
3
using UnityEngine; namespace DefaultNamespace { public class ChipController : MonoBehaviour { public string itemName; [Range(1, 20)] public int itemQuantity; private void Update() { transform.Rotate(0.0f, 90.0f * Time.deltaTime , 0.0f, Space.World); }...
6c8af8027e961069ec57c8d76a3c283616d6638b
C#
Denys209818/CancelCatAdded
/CancelAddedCats/MainWindow.xaml.cs
2.546875
3
using ApplicationSettings.Models; using ApplicationSettings.Services; using EFData; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; u...
3402fa356ed000a67c75706cf3f15b8f0c407b49
C#
islenny/Phone-Hub
/PhoneConnectionMaster/Commands/CommandsTcp.cs
2.53125
3
using PhoneConnectionMaster.Objects; using SharpAdbClient; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace PhoneConnectionMaster.Commands { public sealed class CommandsT...
35a21b1067363b8cc0057ce82157de7da660950d
C#
kenny-nelson/GomiBako
/Libraries/DodaiNET/ViewModels/ToolViewModel.cs
2.578125
3
//----------------------------------------------------------------------- // <copyright file="ToolViewModel.cs" company="none"> // Copyright (c) kenny-nelson All Rights Reserved. // </copyright> //----------------------------------------------------------------------- namespace Dodai.ViewModels { using System.Dia...
a97362eedf3475c5985ee9093ffa90d2f90b1973
C#
nicklatkovich/codeforces
/c#/0915bBrowser.cs
3.34375
3
using System; namespace Application { class Browser { static void Main( ) { string[] inputS = Console.ReadLine( ).Split(' '); ushort[] input = new ushort[4]; for (ushort i = 0; i < 4; i++) input[i] = ushort.Parse(inputS[i]); ushort n = input[0], pos = input[1], l = input[2], r = input[3], ...
964fcd53ede0ab8959621d8dfd85896e259b5c81
C#
constructor-igor/TechSugar
/csharp-tips/csharp-tips/csharp-tips/DynamicProxySamples/DynamicObjectSample.cs
3.296875
3
using System; using System.Dynamic; using ImpromptuInterface; using NUnit.Framework; namespace csharp_tips.DynamicProxySamples { /* * References: * http://stackoverflow.com/questions/8387004/how-to-make-a-simple-dynamic-proxy-in-c-sharp * * */ [TestFixture] public class DynamicProxySam...
df4b56056583e25837103c227a01184695e1b906
C#
pixellos/Agh.6.Obiekowe
/SigSpec2/src/SigSpec.Console/Program.cs
2.53125
3
using Agh; using SigSpec.CodeGeneration.TypeScript; using SigSpec.Core; using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Agh.eSzachy.Hubs; namespace SigSpec { class Program { static void Main(string[] args) { Console.WriteLine("Si...
c8ae5acd5cb090a51e5494aae58e962c2303ca9b
C#
uneventful0312/EloBuddy
/BuddyAIO/BuddyAIO/Utility/Target.cs
2.609375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using EloBuddy.SDK; using EloBuddy; namespace BuddyAIO.Utility { class Target { private static AIHeroClient target(float range, DamageType? type) { var damagetype = ty...
ea5f05587f787586fb054ec7625a132a1d28c8d3
C#
Agustinsff/EscritoProgramacion
/CapaVisual/Compra.cs
2.578125
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 CapaLogica; namespace CapaVisual { public partial class Compra : Form { int id_pro...
8c02197087a627eb31c9a45193c7177400903eac
C#
Nick-FF/MailSenderAsync
/TPL/ContinueTask.cs
3.484375
3
using System; using System.Threading; using System.Threading.Tasks; namespace TPL { public class ContinueTask { public void Main() { Console.WriteLine("Start"); var task = new Task(Method); Task taskCon = task.ContinueWith(myT => { Console.WriteLine("Continue Start"); for (var i = 1; i <= 1...
c911b9860ab394614ac260fa9ea2b0d06c0b4849
C#
KuzminSt/Homework_Lesson2_1
/Program.cs
3.515625
4
using System; namespace HomeWork_Lesson2_2 { class Program { static void Main(string[] args) { Console.WriteLine("Паспортные данные"); //Запрашиваем ФИО Console.WriteLine("Введите Ваше имя:"); string name1 = Console.ReadLine(); name1 = name...
c9b33fe53f6543fa06cecbae46d10c3d8ce3c92c
C#
gilads12/Stuff
/Stuff/Network/Connections/Sockets/Tcp/TcpClientSocket.cs
2.625
3
using NetCoreServer; using Polly; using System; using System.Linq; using System.Net; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Threading.Tasks; namespace Stuff.Network.Connections.Sockets.Tcp { public class TcpClientSocket : TcpClient, ISocket { private readonly Subject<...
c9bcf78406a0b711a1f081967dffc0d9ca71a3ae
C#
Balroguette/Eleony
/Assets/Scripts/MovementController.cs
2.59375
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MovementController : MonoBehaviour { /* [SerializeField] private GameObject PointA; // "serialzeField" sert à modifier les variables dans l'editeur / inspector unity [SerializeField] private GameObject PointB; // "...
ff4af85bfbda9651fece7e763223f58ca725d15c
C#
GiovanniOrnelas/Xamarin.Forms
/Relembrando/Program.cs
3.515625
4
using System; namespace Relembrando { class Program { static void Main(string[] args) { double salario = 0, salarioNovo = 0, ganho = 0; string nome = ""; Console.WriteLine("Qual é o seu nome?"); nome = Console.ReadLine(); ...
34fc2e2f1ff60639ae9a56de19898b58fdc7ea1c
C#
EcsRx/ecsrx
/src/EcsRx.Examples/ExampleApps/Playground/StructBased/Struct3Application.cs
2.8125
3
using System.Numerics; using EcsRx.Entities; using EcsRx.Examples.ExampleApps.Playground.Components; namespace EcsRx.Examples.ExampleApps.Playground.StructBased { public class Struct3Application : BasicLoopApplication { protected StructComponent[] Components1; protected StructComponent2[] Compo...
1c0f981ba2d5c267c3f48092ae5a322bcdaab773
C#
Torashi1069/DiabloGameDude
/DiabloLikeGame/Assets/Scripts/HP.cs
2.515625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HP : MonoBehaviour { public float maxHealth = 1.0f; private bool isDead = false; private float currentHealth; // Use this for initialization void Start () { currentHealth = maxHealth; } vo...
5d2d954f8baee652fa8c3d842aa4e5558c233cbb
C#
ianlee74/Gadgeteer
/GHI Gadgeteer Piezo Module Contest/NETMF/I2CTester/I2CTester/SoftwareI2C.cs
2.796875
3
// // Software I2C Driver - 19 April 2011. // Al Moyle // // Based on original I2C Bus Master Code from http://en.wikipedia.org/wiki/I%C2%B2C - // Ported to C# by Gus and modified by MarkH. // See http://www.tinyclr.com/forum/1/1647/#/1...
3491a4764212c332b64e67e58c39b0270e06118f
C#
mgroesink/2016-2017-S2
/Programmeren/Opdracht7/Rekentoets.aspx.cs
2.59375
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class Rekentoets : System.Web.UI.Page { Random r = new Random(); protected void Page_Load(object sender, EventArgs e) { this.UnobtrusiveValidati...
680ce320283c701152689091d930aef3174d61be
C#
franciscomeulen1/juegoMoM
/Arco.cs
2.578125
3
using System; using System.Collections.Generic; using System.Text; namespace MoMJuego { class Arco : Arma { private string nombre; private int danioBase = 2; private int danioTotal; private int felchasEquipadas; public Arco(string nombre) { this.nomb...
7ee64d4c0c895230b35ee71f59e7c827c24fe033
C#
klukule/VoxelGame
/VoxelGame/Input/Input.cs
2.8125
3
using OpenTK; using OpenTK.Input; using System; using System.Linq; namespace VoxelGame { /// <summary> /// Input manager /// </summary> public static class Input { private static Vector2 _mouseDelta = new Vector2(0, 0); // Mouse delta private static MouseState _currentMouseState; ...
3dc735869f0b2d89c5a1447c6c7bc02146472fa7
C#
megawubs/data-structures
/DataStructures/DataStructures/Week2/Stack.cs
3.5
4
using System; using System.Linq; using DataStructures.List; using DataStructures.Structures; namespace DataStructures.Week2 { public class Stack : IRunner { public void Run() { Stack<int> stack = new Stack<int>(); stack.Push(1); stack.Push(2); st...
e71551e2db224b5758b0ddb85d9de6ae583291ad
C#
Kawser-nerd/CLCDSA
/Source Codes/AtCoder/arc027/C/4895122.cs
2.96875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.Console; using static System.Math; namespace AtTest.ARC_C { class _027 { static void Main(string[] args) { Method(args); ReadLine(); } ...
55d4472f9f3f07e2f2bdfee85a88b0b20e53aee1
C#
jenfor/Bible-Diary
/Bible Diary/Bible Diary/Languages/Swedish.cs
2.8125
3
using System; using System.Collections.Generic; using System.Text; namespace Bible_Diary.Languages { public class Swedish : Language { public string NewBibleDiary => "Ny bibeldagbok"; public string ShareBibleDiary => "Dela den här bibeldagboks sidan"; public string BackBibleDiary => "B...
ac8782e420d3926e37f019e3603e40cc7be96757
C#
dimitar-pechev/DSA-Trainings
/Recursion/Recursion/MatrixPathFinder.cs
3.609375
4
using System; namespace Recursion { public class MatrixPathFinder { private const char ExitSymbol = 'E'; private const char PathTrailSymbol = 'o'; private const char DeadEndSymbol = 'x'; private const char EmptyCellSymbol = '.'; public void PrintPathBetweenTwoCells(cha...
d8aded9bb28c1edc9dea07e22474a55a20ad585c
C#
JelleCeulemans/Udemy-courses
/C#/Fundamentals/HelloWorld/WorkingWithFiles/Program.cs
3.125
3
using System; using System.IO; namespace WorkingWithFiles { internal class Program { private static void Main(string[] args) { var path = @"C:\Users\JelleCeulemans\Documents\Github\Udemy-courses\C#\Fundamentals\HelloWorld\HelloWorld.sln"; var dotIndex =...
cd555136c33be12de56ce09214f91dd856feb547
C#
SeaSharpGit/SocketTemplate
/SocketTemplate/Models/SocketAsyncEventArgsPool.cs
3.0625
3
using System; using System.Collections.Generic; using System.Net.Sockets; public class SocketAsyncEventArgsPool { private Stack<SocketAsyncEventArgs> _Pool; public SocketAsyncEventArgsPool(int capacity) { _Pool = new Stack<SocketAsyncEventArgs>(capacity); } public void Push(SocketAsyncEv...
f9e299e69f81868a1c6f3897bd7ab706fd4e1c89
C#
callerid/ELPopup5-suite
/ELPopup5/FrmManual.cs
2.609375
3
using ELPopup5.Classes; using System; using System.IO; using System.Net; using System.Windows.Forms; namespace ELPopup5 { public partial class FrmManual : Form { private string ManualFile = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\CallerID.com\ELPopup5\Local"; pu...
550e99fe55dfc06808477ae6654ab712d7feec38
C#
andresing-81-17/AutoresEditoriales
/AutoresEditoriales_DB/Repositorio.cs
2.671875
3
using AutoresEditoriales_DB.EntityModel; using Dapper; using System; using System.Collections.Generic; using System.Configuration; using System.Data.SqlClient; using System.Linq; using System.Web; namespace AutoresEditoriales_DB { public class Repositorio { SqlConnection connection = new SqlConnection...
a23c01007a05e2336186e0eacef72aa5e3be179e
C#
nunofilipecosta/DotnetCore-Playground
/src/PatternsAndPractices/NullObject/LearnerRepo.cs
3.359375
3
using System.Collections.Generic; using System.Linq; namespace PatternsAndPractices.NullObject { public class LearnerRepo { readonly IList<Learner> learners = new List<Learner>(); internal LearnerRepo() { learners.Add(new Learner(1, "David", 93)); learners.Add(...
51a0e4f2b259372ae4ee2c95df54268050df46eb
C#
mrmrkay/QuanLyKho
/BackGroundFood/Controller/AccountData.cs
2.765625
3
using QLKho.Models; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QLKho.Controller { public class AccountData { private static AccountData instance; public static AccountData Instance { ...
64d326be364d3e39fc7aa8436abdfd94f2fcd365
C#
JamesTryand/The.Infrastructure
/Core/The.Infrastructure.Core.cs
2.953125
3
using System; using System.Linq; using System.Collections.Generic; using System.Threading; namespace Infrastructure { public abstract class AggregateRoot { private readonly List<Event> _changes = new List<Event>(); public abstract Guid Id { get; } public int Version { get; internal se...
d7d284354f9e7b9336aa1f46ef1fd77af8893484
C#
BenDSparks/Catan
/Assets/_Scripts/DiceRoller.cs
2.625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DiceRoller : MonoBehaviour { private int diceCount = 2; public int[] diceValues; public int diceTotal; public Button button; public GameObject diceBox; private Text diceTotalText;...
e94059216ff2d0fcb4a1484735dd6027b9719c49
C#
elastic/ecs-dotnet
/src/Elastic.CommonSchema/Serialization/EcsSerializerFactory.cs
2.640625
3
using System; using System.Buffers; using System.IO; using System.Text.Json; using System.Threading; using System.Threading.Tasks; namespace Elastic.CommonSchema.Serialization; /// <summary> /// This static class allows you to deserialize subclasses of <see cref="EcsDocument"/> /// If you are dealing with <see cref="...
56b7cd840d7a3c2590d3bbb40a5303854c6b90bb
C#
ThomasMahr/DiscGolf
/Models/DataLayer/GamesPlayedUnitOfWork.cs
2.90625
3
namespace DiscGolf.Models { public class GamesPlayedUnitOfWork : IGamesPlayedUnitOfWork { private DiscGolfContext context { get; set; } public GamesPlayedUnitOfWork(DiscGolfContext ctx) => context = ctx; private Repository<Course> courseData; public Repository<Course> Courses ...
be82dbf2eb41ea1da5a6c84f5af7d1b8c7144f39
C#
DDuarte/tdin-diginotes
/Client/Notifications/Notification.cs
2.5625
3
using System.Collections.ObjectModel; using System.ComponentModel; using System.Windows.Media; // Implementation by Ivan Leonenko (https://github.com/IvanLeonenko/WPFGrowlNotification) namespace Client.Notifications { public class Notification : INotifyPropertyChanged { private string _message; ...
5e8cab10d39b532854d4435f86d0dd4efd8645ab
C#
huwahuwa2017/StringReplacement
/StringReplacement/Program.cs
2.734375
3
using ClosedXML.Excel; using Mono.Cecil; using Mono.Cecil.Cil; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Windows.Forms; namespace StringReplacement { public class Program { private static int SuccessCount; private...
e50243f1d89822a10e1538b52bf5bd3c3e961b35
C#
grimmerjeremy/GameFinder
/GameFinder.Services/GameServices.cs
2.78125
3
using GameFinder.Data; using GameFinder.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Entity; namespace GameFinder.Services { public class GameServices { public bool CreateGame(GameCreate model) { ...
ff1ab505193b0b1cde04e2476e2d80d0bd9a75b6
C#
joshualouderback/bypass
/Assets/Scripts/EventManager.cs
2.875
3
/*************************************************************************/ /*! \file EventManager.cs \author Joshua Louderback \par Project: Hereafter \par Course: GAM300 \par All content © 2015 DigiPen (USA) Corporation, all rights reserved. \brief * Event Manager is used to tie custom delegates to Cus...
cfed55308dfbf7d68802aeabc40f7976d73743a9
C#
Makzz90/VKClient_re
/VKClient.Common/VKClient/Common/ImageViewer/RectangleUtils.cs
2.96875
3
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Media; namespace VKClient.Common.ImageViewer { public static class RectangleUtils { public static Rect CalculateRelative(Size parentSize, Rect relativeRect) { return new Rect() { X = parentSize.Wi...
b3f100c25e95cefac4f8337ac83be6ab0fdbde96
C#
KJMackey/LeadGameDeveloperProject
/Assets/Scripts/GameManager.cs
2.96875
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.Runtime.Serialization.Formatters.Binary; using System.IO; public class GameManager : MonoBehaviour { /// <summary> /// Lead Game Developer Test /// By: Kevin Mackey /// Quick Note: /// Would h...
a6f73941266dfbd93f2fa873566c78f01d953ffe
C#
linzybettina/this-pointer-
/Program.cs
2.875
3
using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Demo { int mdata; public Demo() { mdata = 45; } public Demo(int mdata) { this.mdata = mdata; } p...
90320559ad1a585c178d40ded4ffa86fc7a7d0e8
C#
justapyromaniac/Exercises
/OefLes3/Oef3.1/Media.cs
3.171875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OefLes3 { //Een basis klasse, deze wordt geinherit door film en serie //Dit is voor volgende les, ik doe het nu al omdat dit makkelijker werkt //Dit is niet nodig voor de oefening,...
153d27a52f974f360a39d33a3414d14a339567f8
C#
tintoy/msbuild-project-tools-server
/test/LanguageServer.Engine.Tests/XSPathTests.cs
2.75
3
using Xunit.Abstractions; namespace MSBuildProjectTools.LanguageServer.Tests { using SemanticModel; using Xunit; /// <summary> /// Tests for <see cref="XSPath"/> and <see cref="XSPathSegment"/>. /// </summary> public class XSPathTests : TestBase { /// <summary> ...
4290e33d77764dfbf69184dda1c85d6685040899
C#
DavidOsorioCuevas/Portafolio-de-titulo
/Core.DALC/Core.Negocio/UsuarioColection.cs
2.734375
3
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization.Json; using System.Text; using System.Threading.Tasks; namespace Core.Negocio { public class UsuarioColection : List<Usuario> { public UsuarioColection() { } public UsuarioCo...
70aff865f09dc0a16b7b980335e8917d62cd91ca
C#
Crimix/BubbleBuster
/BubbleBuster/BubbleBuster/WordUpdater/WordWorker.cs
3.234375
3
using BubbleBuster.Helper; using BubbleBuster.Helper.Objects; using BubbleBuster.Web.ReturnedObjects; using System; using System.Collections.Generic; using System.Linq; /// <summary> /// This class is used to scan the tweets of a number of twitter users, and determine what words they use /// that are not part of the...
62506b42f83b87bba40d1142004b316f64aedbb9
C#
CodersParadise/RemoHelpDesk
/GuiServer/Server/Database/DatabaseManager.cs
2.703125
3
namespace GuiServer.Server.Database { using Tables; using SQLite; using System; using System.Collections.Generic; using System.Linq; using System.Text; using View.ViewModel; public class DatabaseManager { private static DatabaseManager _databaseManager; public stat...
9038656c1000341ca07f69360fdbfb9a22f35b36
C#
Fuse8/SlackBot.Api
/src/SlackBot.Api/Helpers/CustomUrlHelper.cs
2.671875
3
using System.Collections.Generic; using System.Web; namespace SlackBot.Api.Helpers { internal static class CustomUrlHelper { public static string CreateQueryString(string path, Dictionary<string, string> queryParams) { var query = HttpUtility.ParseQueryString(string.Empty); foreach (var queryPar...
aa7451deaa5546eac70881e1fb9606caa171a21d
C#
structurizr/dotnet
/Structurizr.Core/Documentation/DocumentationTemplate.cs
3.1875
3
using System; using System.Collections.Generic; using System.IO; using System.Text; using Structurizr.Util; namespace Structurizr.Documentation { /// <summary> /// The superclass for all documentation templates. /// </summary> public abstract class DocumentationTemplate { pri...
bc09083a2f615ef0edb7c7014f0ec6c73289043e
C#
gsowmya2910/TestingTutor_functionality_old
/TestingTutor.CSharpEngine.Tests/CSharpEngineTests.cs
2.515625
3
using Microsoft.VisualStudio.TestTools.UnitTesting; using TestingTutor.CSharpEngine.Engine.Factory; using TestingTutor.CSharpEngine.FileHandling; using System.IO; using TestingTutor.EngineModels; namespace TestingTutor.CSharpEngine.Tests { [TestClass] public class CSharpEngineTests { protected I...
3a84c36f2c6162aa3744975fc8f78867311c5c42
C#
JoseR-PerezS-04/AgenciaDeVuelos
/Proyecto/Models/ModeloTipoAsiento.cs
2.65625
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Proyecto.Models { public class ModeloTipoAsiento { private Conexion miConexion = null; private static ModeloTipoAsiento instancia = null; public static ModeloTipoAsiento getInstancia() ...
23ff91865ab7cd5a9c2c34acb0cd30b7bcae86c7
C#
richard-usmp/practicaProto
/Controllers/HomeController.cs
2.828125
3
using System; using Microsoft.AspNetCore.Mvc; using practicaProto.models; namespace practicaProto.controllers{ public class HomeController:Controller{ private readonly DatabaseContext _context; public HomeController(DatabaseContext context){ _context = context; } publi...
3eb53a0258e89253b706875de52d06b94c73fc2a
C#
ruinosus/empresafarias
/EmpresaFarias/Repositorio/UtilDB.cs
2.890625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; namespace Repositorio { /// <summary> /// Classe Reponsavel por Obter uma Conexao com o Banco de Dados. /// </summary> public class UtilBD { /// <summary> /...
304b93698d1508c64481620e96bad981a8df41d1
C#
afleiger/dDungeon
/Chrisistheon/Chrisistheon/AbilityClasses/SureShot.cs
2.796875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChrisistheonGUI { public class SureShot : A_Ability { public SureShot() : base("Sure Shot", "Always hits its target.", 0, 1) { } ...
999b86adbdcdcd94d808e80f847e51db9242404a
C#
QPC-database/microsoft-performance-toolkit-sdk
/src/Microsoft.Performance.SDK.Runtime/Extensibility/DataExtensions/Dependency/DependencyDagExtensions.cs
2.9375
3
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.Performance.SDK.Runtime.Extensibility.DataExtensions.Dependency { /// <summary> /// Contains static (Shared in Visual Basic) methods for intera...
7223827abe0a48b8387f4a2cb10fe2ab346ed4fa
C#
mmassari/MagicConsole2
/src/Param/OptionDate.cs
2.953125
3
using System; using System.Collections.Generic; namespace MagicConsole { public enum DateInputFormat { OnlyDate, DateAndTime } public class OptionDate : Option { public DateTime? DefaultValue { get; private set; } public DateInputFormat Format { get; set; } public DateTime? ValidationMaxValue { get; set; } ...
bf0f13783ae86959aa3c8bcda60b60193c045d81
C#
RecordPoint/RecordPoint.Connectors.SDK
/Tests/RecordPoint.Connectors.SDK.Test.Common/Helpers/TaskHelper.cs
2.828125
3
using Moq; using System; using System.Threading.Tasks; using Xunit; using Xunit.Sdk; namespace RecordPoint.Connectors.SDK.Test.Helpers { public static class TaskHelper { /// <summary> /// Awaits a task. Doesn't throw any exception if the /// task was canceled. /// </summary> ...
f842f263ee27717d5aa4e03e77c9d91639aa6957
C#
IoriBranford/text101-engine
/Assets/State.cs
3.078125
3
using System; using System.Collections.Generic; using UnityEngine; public class State { [Serializable] public class Data { public string name = "Unnamed"; public string text = "Empty"; public List<string> commands = new List<string>(); // An Array because Dictionary is not serializable // Every 2 element...
c58d9d7dcc9b9ccb70e6ea95e93e2819f6bc9a83
C#
AntonyCorbett/OnlyV
/OnlyV.Themes.Common/Services/BitmapWriter.cs
2.640625
3
using System.IO; using System.Windows.Media.Imaging; namespace OnlyV.Themes.Common.Services { public static class BitmapWriter { public static void WriteJpeg(string fileName, int quality, BitmapSource bmp) { var encoder = new JpegBitmapEncoder(); var outputFrame = Bitma...
01ed441213663e51d2f424d86c62e19c5ca3e99e
C#
Mikhail-Ananev/XT-2018Q4
/Epam.Task04/Epam.Task04.CustomSort/Program.cs
3.5
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Epam.Task04.CustomSort { public class Program { protected static void Main(string[] args) { string[] testArray = new[] { "Пицик"...
54e2efce379ad3b8670c71cbdd3272b399c7c12d
C#
mastertheef/TurretMobile
/TurretVR/Assets/Scripts/Missions/MissionsManager.cs
2.5625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MissionsManager : Singleton<MissionsManager> { [SerializeField] private List<MissionBase> missions; [SerializeField] private bool canUseLaser = false; [SerializeField] private bool canUseRockets = false; [Seri...
bfa36d14927c62a0fd136634042dda6a5066b68f
C#
sayedihashimi/fontastic
/fontasticTests/FontVariantTests.cs
3.125
3
namespace FontasticTests { using Fontastic; using FontasticWeb.Exceptions; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; [TestClass] public class FontVariantTests { [TestClass] ...
8c9031b4c10a7dda65e25dc8ab8dd1a094d2a451
C#
dtv42/HomeControl5.2
/Netatmo/NetatmoApp/Options/InfoOptions.cs
2.625
3
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="InfoOptions.cs" company="DTV-Online"> // Copyright (c) 2020 Dr. Peter Trimmel. All rights reserved. // </copyright> // <license> // Licensed under the MIT license. See the LIC...
4d58d228f7b6094a98f406a7e7ab19e8ff6c7ed2
C#
btbaggin/SmallEngine
/Evolusim/Terrain/Vegetation.cs
2.515625
3
using System; using SmallEngine; using SmallEngine.Input; using SmallEngine.Graphics; using System.Collections.Generic; namespace Evolusim.Terrain { class Vegetation : GameObject { public int X { get; private set; } public int Y { get; private set; } public TerrainType Terrain { get;...
d7092914735895a976d0cbd2a89febb351663596
C#
gaoxiaojun/tx.link.incoming
/providers - stocksharp/Hydra/Core/SecurityStorage.cs
2.828125
3
namespace StockSharp.Hydra.Core { using System; using System.Collections.Generic; using Ecng.Collections; using Ecng.Common; using StockSharp.Algo.History; using StockSharp.BusinessEntities; /// <summary> /// Базовый класс для доступа к хранилищу информации об инструментах. /// </summary> public class Sec...
cfe25ca3acbfed1c0f90c1e6e32bfa61c057da03
C#
jpeterson-isdc/VSTOContrib
/src/VSTOContrib.Outlook/UserPropertyExtensions.cs
2.65625
3
using System; using Microsoft.Office.Interop.Outlook; using VSTOContrib.Core.Extensions; namespace VSTOContrib.Outlook { /// <summary> /// Helper extension methods to simplify dealing with OutlookItem.UserProperties. /// </summary> public static class UserPropertyExtensions { /// <summary>...
f2434d01cf613e1156c0a2e78bd06623f908aa8a
C#
Orckestra/BetterRetail
/tests/Orckestra.Composer.Tests/Util/UrlFormatter_Format.cs
2.984375
3
using FluentAssertions; using NUnit.Framework; using Orckestra.Composer.Utils; namespace Orckestra.Composer.Tests.Util { [TestFixture] public class UrlFormatterFormat { [Test] public void WHEN_Url_Contains_Spaces_SHOULD_Replace_With_Dashes() { // Arrange con...
d84dd2d645fa8a80badc0c883b55abae277cf2aa
C#
smaldos64/VS_Dag11-CodeFirst3-_Work
/Dag11(CodeFirst3)_Work/Models/Character.cs
3.078125
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Dag11_CodeFirst3__Work.Models { public enum CHARACTER_ENUM { VALUE3MINUS = -3, VALUEZERO = 0, VALUETWO = 2, VALUEFOUR = 4, VALUESEVEN = 7, VALUETEN = 10, VALUE...
938d56d35367dd1722fc052884440154d451e7d8
C#
Edblack991/EL-REPOSITORIO-VERGAS
/EleventaNTierLayerV2/EleventaNTierLayerV2.DataAccessLayer/Detalle_VentaDAL.cs
2.59375
3
using EleventaNTierLayerV2.BusinessEntities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EleventaNTierLayerV2.DataAccessLayer { public class Detalle_VentaDAL { /// <summary> /// metodo para poder insertar el deta...
db1ac1c60e6bb4ec46f98d5e37df4a4bba728a28
C#
Opheliasong/QuadTree
/Program.cs
2.53125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QuadTree_1 { class Program { static void Main(string[] args) { QuadTree<short> t = new QuadTree<short>(0,0, 16); t.Insert(1, 1, 2); ...
42f7f48d783b8b72903ded3d05871a880398ac27
C#
SAE-Berlin-Games-Programming/SAE_GPR_0621_FinalExam
/Assets/Scripts/SingletonBehaviour.cs
2.890625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SingletonBehaviour<T> : MonoBehaviour where T : SingletonBehaviour<T> { private static T s_instance; public static T Instance => s_instance; protected virtual void Awake() { if (s_instance == null) ...
89fd9bfbe029ebed2ffe7e83b7a60024f7f4257c
C#
tom-auger/xchacha-dotnet
/src/XChaChaStream/XChaChaBufferedStream.cs
2.609375
3
namespace XChaChaDotNet { using System; using System.IO; using System.Runtime.InteropServices; using System.Security.Cryptography; using static SodiumInterop; /// <summary> /// Represents an XChaCha stream cipher that internally buffers the plaintext in order to encrypt in fixed size blocks...
d8bdb28387cb437552dd418ef0bb4952d7183ed6
C#
ephyra/Claustrophobia
/Assets/Scripts/EnemyGrowAndMove.cs
2.59375
3
 using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyGrowAndMove : MonoBehaviour { public float speed; public float growth; public float maxSize; public float growthInterval; public bool stillGrowing = true; public float wallMovement; public bool ...
c78ee31f357ac5ee9efe132719838c6b6ec935c8
C#
tomasherceg/obs-websocket-dotnet
/ObsWebsocketProxy/ObsConnection.cs
2.71875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using OBSWebsocketDotNet; using OBSWebsocketDotNet.Communication; using OBSWebsocketDotNet.Types; using OBSWebsocketDotNet.Types.Events; using ObsWebsocketModels; namespace ObsWe...
d37f524be70b73aabb25181e32d379af9360d5ca
C#
singularitypostman/Match3-framework
/Assets/Scripts/BoardItem.cs
2.796875
3
using UnityEngine; using System.Collections; /// <summary> /// Adding animations and other functionality to the GameObject on the board. /// </summary> public class BoardItem : MonoBehaviour { /// <summary> /// Possible item states. /// </summary> public enum ItemState { Idle, Animati...
e8201f421b1041e0f961b97d8315e46dcaf0b652
C#
BBJV/camachi
/Assets/Others/Scripts/CSharpScripts/Car/SmoothFollow.cs
2.5625
3
using UnityEngine; using System.Collections; [AddComponentMenu("Camera-Control/Smooth Follow")] public class SmoothFollow : MonoBehaviour { /* This camera smoothes out rotation around the y-axis and height. Horizontal Distance to the target is always fixed. There are many different ways to smooth the rotation but doi...
0adc43ae81019897de39541efd97f8d61a0cde98
C#
jorgeasolano/sim-backend
/Controllers/UsuariosController.cs
2.546875
3
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using WebAPI.Models; using WebAPI.Services; namespace WebAPI.Controllers { [Produces("application/json")] [Route...
45a8fb8e8636df606fd9c202de50b39d5bec6a9a
C#
deflis/OpenSolar
/Lunar/AccountToken.cs
3.140625
3
using System; namespace Lunar { /// <summary> /// アカウント情報を提供します。 /// </summary> [Serializable] public class AccountToken : IEquatable<AccountToken> { /// <summary> /// ユーザ名を取得します。 /// </summary> public string Name { get; set; } /// <summary> /// ユーザ ID を取得します。 /// </summary> public Us...
796a20ba8276041d4a9ca98e5d8b0d033939637c
C#
NightOwl888/ICU4N
/src/ICU4N/Impl/Number/NumberStringBuilder.cs
2.75
3
using ICU4N.Support.Text; using ICU4N.Text; using J2N; using J2N.Text; using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Text; using static ICU4N.Numerics.BigDecimal; using Field = ICU4N.Text.NumberFormatField; namespace ICU4N.Numerics { ...
c445333e479b38fe3db26fb4075af572ad128801
C#
MrYour/ClassicECS
/Utilities/Vector3D.cs
3.59375
4
using System; public struct Vector3D { public float X; public float Y; public float Z; public Vector3D(float X, float Y, float Z) { this.X = X; this.Y = Y; this.Z = Z; } public float Magnitude() { return (float)Math.Sqrt((X * X) + (Y * Y) +...
de4c0f5b61c33e80e98f55a3861646c550f513aa
C#
cvsogor/MVC-Web-Mobile
/Interview/Interview/Controllers/RangeController.cs
2.515625
3
using Interview.EF; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Interview.Controllers { public class RangeController : Controller { [Route("Range/List")] [Route("Range/List/{name}")] public ActionResult List(strin...
086ed9dd373d1ee8cac0bb6667eb65241f4e89e3
C#
brianb12321/RemotePlus
/src/RemotePlusLibrary.SubSystem.Command/CommandClasses/Parsing/CommandElements/StringCommandElement.cs
2.8125
3
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace RemotePlusLibrary.SubSystem.Command.CommandClasses.Parsing.CommandElements { [DataContract] public class StringCommandElement : ICommandElement ...