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
139e6fb8c271c338dbfe39f680afff7b1809579c
C#
MuhammadFaizanKhan/3DWalker
/3DWalker/Assets/3D Walker/Scripts/Camera/WalkCamRotationOnMouse.cs
2.9375
3
using UnityEngine; namespace ThreeDWalker { /// <summary> /// Function: This script will use to Rotate the Walk Camera using mouse right click /// Author: Muhammad Faizan Khan /// </summary> public class WalkCamRotationOnMouse : MonoBehaviour { /// <summary> /// Head Object in...
996290a4adcfd6980028b506c3888a000950db17
C#
mjeaton/RockLib.Analyzers.Json
/RockLib.Analyzers.Json/Syntax/ObjectMemberSyntax.cs
2.765625
3
using System.Collections.Generic; namespace RockLib.Analyzers.Json { public class ObjectMemberSyntax : ContainerSyntaxNode { public ObjectMemberSyntax(StringSyntax name, ColonSyntax colon, JsonSyntaxNode value) : this(name, colon, value, null) { } public ObjectMemb...
e35a22d042008f6ebdb0fb7f3e1e76be383a07ab
C#
Weyne23/Academia
/CFB_Academia/F_NovoUsuario.cs
2.625
3
using CFB_Academia.Models; 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 CFB_Academia { public partial class F_NovoUsuario : Form { ...
e881d1061a80ca7a5257889ae26536a6567f3f2d
C#
Rawenvoys/NorseWar-PZ-
/Gra/NorseWar/Helper/SearchUser.cs
2.75
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; using NorseWar.Models; using NorseWar.Models.DAL; using NorseWar.Helper; namespace NorseWar.Helper { public class SearchUser { public string Text { get; set; } public static Account Search(Searc...
4c4a458dcc24896d28387669d08995890813392f
C#
Sleepdot/PharmacyGame
/Assets/Scripts/Level Scripts/Level 1 (Skin)/Level1Phase3.cs
2.53125
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Level1Phase3 : Phase { public GameObject itchingEnemy; public GameObject painEnemy; public GameObject anaphylaxisEnemy; //Initialize populates the data for the enemies and waves public override void Initia...
f75893738af56b0c3bf3a2ae2e143b69d905c4fb
C#
a4099181/Challenges
/Challenges/Challenges/Arrays/SwapBlocksParallel.cs
3.15625
3
using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace Challenges.Challenges.Arrays { class SwapBlocksParallel { internal static string Swap( string input, int firstBlockSize ) => new string( Swap( input.ToCharArray(), firstBlockSize ) ); ...
4f0d19088d3d04db4b5f88afbe94bedc4f592270
C#
Grimelios/LudumDare41
/LudumDare41/Structures/SafeList.cs
3.078125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LudumDare41.Structures { public class SafeList<T> { private List<T> mainList; private List<T> addList; private List<T> removeList; public SafeList() { mainList = new List<T>();...
c28a6779bb7f6a5a324e9f7dde2d55517912a721
C#
Ash2022/MemGame
/Assets/Scripts/MemGame/models/ModelManager.cs
2.578125
3
using System; using System.Collections.Generic; using UnityEngine; namespace MemGame.models { public class ModelManager :MonoBehaviour { Table m_table; List<BotMemory> m_bots = new List<BotMemory>(); public enum BotLevel { Geniuos, smart, medium, lame, retard } static ModelManager m_in...
e849697c0f25309b8b8275ca306cf3f1084a04b2
C#
ChenQianPing/Tdf.CSharpDay
/Tdf.CSharpDay/Chapter1/TestEncrypter.cs
2.65625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tdf.CSharpDay.Chapter1 { public class TestEncrypter { public static void TestMethod1() { string input = "abc"; input = "银行密码统统都给我"; ...
eb220f7ee068506b6f54b78544cc602d99817a14
C#
DErobin/SE-Opdracht
/IO/App_Code/User.cs
2.71875
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Summary description for User /// </summary> public class User { private string aco; //Date the account was created on in string format private string lio; //Last date the user logged in in string format ...
92d309a90faea98a6fd54c4b2100979070a6d896
C#
shi1252/AGEPAstarAlgorithm
/Assets/Scripts/Pathfinding.cs
2.796875
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Diagnostics; public class Pathfinding : MonoBehaviour { public Transform seeker, target; Grid grid; void Start () { grid = GetComponent<Grid> (); } void Update() { if(Input.GetMouseButton...
dd47bdb59103a780c47cd2988a7c8515063b0d39
C#
bf1024/GetIItemCQRS
/GetItemCQRS/Repositories/ItemQueriesRepository.cs
2.65625
3
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using GetItemCQRS.Models; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Caching.Memory; namespace GetItemCQRS.Repositories { public interface IItemQueriesRepository { string GetNameByID(strin...
dd4f4c171caac2508866bd6a5cb249a69fe8c67c
C#
DrakeMorrison/ClassExercise
/LegoMinifigures/Torsos/Reptilian.cs
2.609375
3
using System; using System.Collections.Generic; using System.Text; namespace LegoMinifigures.Torsos { class ReptilianTorso : Torso { public string ScaleShape { get; set; } public void Dance() { Console.WriteLine($"*Breakdances vigorously in {Color}*"); } p...
8d770ac340a0181fb71946a5df4131ec189489d7
C#
yordanov03/Soft-Uni
/Soft-Uni/ASP.NET Core/Bus Tickets System/BusTicketSystem.Services/BusCompanyService.cs
2.5625
3
using System; using System.Collections.Generic; using System.Text; using BusTicketsSystem.Models; using BusTicketsSystem.Services.Interfaces; using BusTicketsSystem.Data; using System.Linq; using Microsoft.EntityFrameworkCore; namespace BusTicketsSystem.Services { public class BusCompanyService : IBusCompanyServi...
998ad09f7bc6ff17c507faec4e9202410ec9ee2e
C#
MartinKraemer85/Schach
/Schach/Figur/Pferd.cs
2.578125
3
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Schach { public class Pferd : Figur { public Pferd(Farbe farbe, string aktuellePosition, string bildName, Dictionary<string, ...
3a2ff08be4028c81172f3975acab10256b4997d7
C#
shendongnian/download4
/first_version_download2/613875-60444685-215907292-4.cs
2.828125
3
public class WorkerService { private readonly IContainer _container = null; public WorkerService(IContainer container) { _container = container ?? throw new ArgumentNullException("container"); } private IDataContextFactory _contextFactory = null; ...
7ffc927bff4cea7c8aacf5ed727ec52a93e105ae
C#
chandum2/Emby.Theater
/MediaBrowser.Theater.Interfaces/Commands/ICommandManager.cs
2.640625
3
using System; using System.Windows; namespace MediaBrowser.Theater.Interfaces.Commands { // Inheriet of routedEventArgs, but for now treat as plan event arges // Later implement our own routing, notr based on UI tree, to manage Handled public class CommandEventArgs : EventArgs //.. RoutedEventArgs {...
014d6bec689b6cdc2bb7a1b4c7b94942a1087914
C#
henrydem/yongfa365doc
/CSharp/Reports/AboutReport/DBMaker.cs
2.640625
3
using System; using System.Data; class DBMaker { public static DataTable 学生成绩表() { DataTable dt = new DataTable(); dt.Columns.Add(new DataColumn("姓名", typeof(string))); dt.Columns.Add(new DataColumn("课程", typeof(string))); dt.Columns.Add(new DataColumn("成绩", typeo...
ea890baa1c178b0505e1acda3b196a383d8d686f
C#
yukiya7/unity-domino
/Domino/Assets/Scripts/DominoGeneraterControl.cs
2.546875
3
using UnityEngine; using System.Collections; using UnityEngine.UI; public class DominoGeneraterControl : MonoBehaviour { private GameObject game_camera; private Vector3[] positions; private int position_num = 0; public enum STEP { NONE = -1, IDLE = 0, // 待機中. DRAWI...
9cdd27dac4d8f544ef7644f9e620b579507333bc
C#
xescrp/breinstormin
/breinstormin/breinstormin.tools/amazon/S3Engine.cs
2.53125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Amazon.S3; using Amazon; using Amazon.S3.Model; namespace breinstormin.tools.amazon { public class S3Engine { public static string BUCKET_NAME = System.Configuration.ConfigurationManager.AppSettings["S3Bucket"]...
2c63ea57a1f2080f752f98f237096ab1037b8bb3
C#
nhuttrinh/446-Project2
/checkCreditNum.cs
3.421875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Activities; namespace Assignment3WF { public sealed class checkCreditNum : CodeActivity {// Define an activity input argument of type string public InArgument<string> CreditNumber { get; set;...
309e229770f8e82faa53b9ffa271a43d7217aa29
C#
QuintenVerheij/Omgevingswet
/AR/Assets/Scripts/Model/JSONModelUtility.cs
2.53125
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; using Newtonsoft.Json; using System; [Serializable] public class JSONModel { [SerializeField] public int modelIndex; [SerializeField] public Vector3 position; [SerializeField] public Quaternion rotation; [S...
f8736d36933dee6ccf922c2c61a3cd653756c2a4
C#
andrew-moore-octo/CspUtils
/CspUtil.Tests/ParserFixture.cs
2.59375
3
using CspUtils; using FluentAssertions; using NUnit.Framework; namespace CspUtil.Tests { public class Parse { [Test] public void CanParseASimplePolicy() { var actual = Parser.Parse("script-src octopus.com"); var expected = new Csp( n...
93b76d6c23287430939c20c623127bf0f0e51c7b
C#
BuzkoYaroslav/DecisionMakingMethods
/DecisionMakingMethods/DecisionMakingMethods/Methods/RandomizedMethod.cs
2.875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; using NumericalAnalysisLibrary.MathStructures; using NumericalAnalysisLibrary.Functions; namespace DecisionMakingMethods.Methods { public abstract class RandomizedMethod : Deci...
163be80f1dea8ce940c2bb61abb1052cab1466c3
C#
viraco4a/SoftUni
/CSharpFundamentals/CSharpOOPbasics/InterfacesAndAbstractionEx/Ferrari/StartUp.cs
2.5625
3
using System; namespace Ferrari { public class StartUp { static void Main(string[] args) { string driver = Console.ReadLine(); ICar ferrary = new Ferrari(driver); Console.WriteLine(ferrary); } } }
6022ca5b19aa2619136f90b69202d5d044459381
C#
agentsquash/AS_Prog
/AS_Prog/ASCII_Designer.cs
3.421875
3
using System; using System.Collections.Generic; using System.Text; namespace AS_Prog { class ASCII_Designer { public static void Run() { var dict = new Dictionary<int, string[]> { {97, new string[]{ "+", " ", " ", " ", " ", " ", " ", " ", " ", " " }}, {98, new string[]{ "+", "+", " ", " ", " ", " ...
b08f5e890e7062483a41c4c4b8184696d624852d
C#
HCMUSAssignmentWarehouse/spamming-pool
/C#/Console/TestConstructor/TestConstructor/Child.cs
2.75
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestConstructor { class Child : Base { public Child() : base(1) { Console.WriteLine("Child constructor called"); } public Child(int i) : ba...
a72db1aee4767295fb701e5250f430782fc0f7bf
C#
Gabrity/ObjectOrientedDesignPatterns
/Behavioral/TemplateMethod/CarManufactureTemplate.cs
3.046875
3
using System; namespace TemplateMethod { public abstract class CarManufactureTemplate { public void ManufactureCar() { GenerateChassis(); ApplyPaint(); InstallDriveTrain(); InstallInterior(); InstallExtras(); } protec...
6fa1719f003f828f59aa1cfdec19d8de1517ad3f
C#
henriq20/tic-tac-toe
/src/TicTacToe.Demo.ConsoleApp/TicTacToeGame.cs
3.140625
3
using System; using TicTacToe.Core; using TicTacToe.Core.Players; namespace TicTacToe.Demo.ConsoleApp { public class TicTacToeGame { public IPlayer Player { get; set; } public IPlayer Opponent { get; set; } private BoardDisplayer boardDisplayer; public void ShowTurn(IPlayer c...
ab6f48f92be5306b002c04f854cd766d87e6a63f
C#
264dormitory/dotnet
/planeTicketBooking/planeTicketBooking/Controllers/AirportAdminController.cs
2.671875
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using planeTicketBooking.Models; using System.Data; using MySql.Data.MySqlClient; //导入连接使用MySQL数据库所必须的命名空间 /// <summary> /// 李世杰创建 /// /// 用于: /// 1、机场信息管理页面 /// 1.1、机场名称设置 /// </summary> /// <warning> /// 为了辨别...
c93349ec6de2fb9817e13a7bb135f976e3a2362f
C#
Phanith15/GitHubLocRep
/C#HotelReservation/FrmInvoice.cs
2.546875
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Printing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace GUI2 { public partial class FrmInvoice : Form { ...
1f8fbde09375ecb12b0b3de2ba818ffa1ba1318b
C#
thenitro/elements-of-programming-interviews
/ElementsOfProgrammingInterviews/ElementsOfProgrammingInterviews/StacksAndQueues/Problem_9_6.cs
3.1875
3
using System.Collections.Generic; namespace ElementsOfProgrammingInterviews.StacksAndQueues { public class Problem_9_6 { public int[] Solution(int[] buildings) { var stack = new Stack<int>(); foreach (var building in buildings) { while (stack...
d2259eb715b309bb394bd1d261a61c3f2b389d49
C#
quangvy/EPrescription
/BKUGen/ePrescription.Settings/Settings/CustomXmlSerializable.cs
2.71875
3
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; using System.Globalization; namespace ePrescription.Settings.Settings { public class CustomXmlSerializable : CustomSerializable, ICustomXmlSerializable { #region ICustomXmlSerializable Members ...
69037af78e48c28b0566b8bb17379ff119ffbd0d
C#
KeSaga/01_GitHubWorkSpace
/Lyf.DrawingLibrary/Lyf.DrawingLibrary/2D/Chart.cs
2.96875
3
using Lyf.DrawingLibrary.Common; using System; using System.Drawing; using System.Runtime.Serialization; using System.Security.Permissions; namespace Lyf.DrawingLibrary._2D { [Serializable] public class Chart : ICloneable, ISerializable { #region 常量 /// <summary> /// 当前的 schema 值用...
b84caa26d0b515f29c7b0f2743b04adef51ffebd
C#
ERNICommunity/ActivityContext.NET
/src/ActivityContext.Integration.NLog/ActivitiesLayoutRenderer.cs
2.8125
3
using System.IO; using System.Text; using ActivityContext.Data; using NLog; using NLog.LayoutRenderers; namespace ActivityContext.Integration.NLog { /// <summary> /// A Layout renderer that outputs JSON serialized list of current activities. /// <seealso href="https://github.com/nlog/nlog/wiki/Layout-...
7d3dffa0a457e3a26400098837981eae6858a888
C#
rvramesh/CallHirearchyWalker.API
/MethodDetailBuilder.cs
2.84375
3
/************************************************************************************************ * DICLAIMER : The below code is hacked over a weekend. This is not of a production quality * and it is proved to be right and not wrong. Please use this code AS/IS and I am not * responsible for damages caused. Softw...
9db702eab4fe21cd469b9355b60bbb2ac44767bc
C#
cambell-prince/FieldWorks
/Src/Utilities/BasicUtils/BasicUtilsTests/ImagePictureTest.cs
2.625
3
// --------------------------------------------------------------------------------------------- #region // Copyright (c) 2009, SIL International. All Rights Reserved. // <copyright from='2009' to='2009' company='SIL International'> // Copyright (c) 2009, SIL International. All Rights Reserved. // // Distributable un...
b30eacf0be78ef9a624d49b6a81db7e83c517b4d
C#
LByrgeCP/CyberPatriot-Scoring-Report
/Configuration Tool/Configuration/Sections/ConfigUsers.cs
2.75
3
using Configuration_Tool.Configuration.Users; using Configuration_Tool.Controls; using Configuration_Tool.Controls.Users; using System.IO; namespace Configuration_Tool.Configuration.Sections { public class ConfigUsers : IConfig { public EConfigType Type => EConfigType.Users; public MainWindow...
b06ec64aeb443aadda4ddd9127fffabc5fc24e47
C#
lukiffer/SpadesBot
/SpadesBot/Helpers/DeckFactory.cs
3.078125
3
using System.Collections.Generic; using System.Linq; using SpadesBot.Models; namespace SpadesBot.Helpers { public static class DeckFactory { public static List<string> CreateStringDeck() { return new List<string> { "As", "Ks", "Qs", "Js", "10s", "9s", "8s", "7s", "6...
966e7c998b68a6c8321c804d1cbdedd907ab2080
C#
AlexsanderJrAlves/Trabalho-Eleicao
/Eleicao/Eleicao/Valida.cs
3.375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Eleicao { public static class Valida { //Classe de validação, ela recebe os códigos dos vereadores com 4 digitos para saeber se é vereador ou não. private s...
3dcc6ab31a1073d6f2ab0f367454ad555ad3dae4
C#
vendolis/EDDiscovery
/EDDiscovery/Forms/SplashForm.cs
2.671875
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.Threading; using System.Collections.Concurrent; namespace EDDiscovery.Forms { public partial class SplashForm : Form ...
cf2bc3e7b4ddcb07e6ada900e7f63dc547ef469e
C#
mcculic/millarowframework
/src/Millarow.Rest/RestException.cs
2.65625
3
using System; using System.Runtime.Serialization; namespace Millarow.Rest { [Serializable] public enum RestExceptionKind { Http, Timeout, Mapping, Validation, Configuration, Serialization } [Serializable] public class RestExcept...
2cbce644664caa49e2fdd1955435c2fba05907ef
C#
mmendelson222/geocaching-fizzy
/Config.cs
2.65625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Fizzy { internal static class Config { private static string filepath; internal static string FilePath { get { if (filep...
61ddac1f005c01fe3bd646038f1f3cf9492afd1a
C#
johann-gambolputty/robotbastards
/Source/Rb.Core/Sets/Interfaces/IObjectSetServiceMap.cs
2.828125
3
namespace Rb.Core.Sets.Interfaces { /// <summary> /// Stores a set of services, accessible by type /// </summary> public interface IObjectSetServiceMap { /// <summary> /// Adds a service to this set /// </summary> /// <param name="service">Service to add</param> /// <exception cref="System.A...
8956d710fad35570e196e1601b8b6543587529e2
C#
Guizal/MSNotificaton
/src/Adapters/Web/Models/Notification/Notification.cs
2.53125
3
using System; using System.Linq; using System.Collections.Generic; namespace DevPrime.Web.Models.Notification { public class Notification ...
76d1c5da9750b1e7448f5f4603013de1bab2379d
C#
XuYan1988/MyWeChartTools
/WeChart/WZAutoEye/WZAutoEyeUtility/AttachData/AttachDataExtensions.cs
2.625
3
#region Using using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; #endregion namespace WZAutoEye.WZAutoEyeMVC.Utility { public static class AttachDataExtensions { public static object GetAttachedData(this ICustomAttributeProvider provider,...
64da69fdaa78aa400b5976d8202c8a179b0d0c88
C#
nationwidesy/WebFromC
/WebApplicationCWebForm/App_Code/SerializationDemo.cs
3.015625
3
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.Text; using System.Threading.Tasks; namespace WebApplicationCWebForm.App_Code { class SerializationDemo { public St...
fe041a4b08c6bdabfeae86ebf7f5a423b939d25f
C#
DevJHennessy/CSharp_Exercises
/CS_Exercise_16/CS_Exercise_16/Program.cs
3.765625
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CS_Exercise_16 { class Program { static void Main(string[] args) { //1.Create an interface called IQuittable and have it define a void method called ...
1db753f923511aab44e78650f9825142a6a75d64
C#
dedeogluhu/Dotnet-demo
/OnlineShopping.ORM/DataAccessLayers/ProductDal.cs
2.84375
3
using OnlineShopping.Entity; using OnlineShopping.ORM.Interfaces; using OnlineShopping.ORM.Tools; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; namespace OnlineShopping.ORM.DataAccessLayers { public class ProductDal : IEntityDal { public static bool De...
31d81d3c5c431a83b3a30bf64b0d86165005bfee
C#
ronnieholm/Backend-web-programming-course-spring-2015
/Source/Exercises/Exercise31/StudentCollectionSolution.cs
3.34375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exercises.Exercise31 { class RunnerSolution { public void Run() { StudentCollectionSolution students = new StudentCollectionSolution(); Student...
1b2b925b5c8571cbfe8d379ec60aa8f0b904ef52
C#
subbob/TravCharGen_CSharp
/Debug.cs
2.859375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MyLib { public class Debug { private static MyLib.cPrint OutFile = new MyLib.cPrint(); private static bool DebugMode = true; public void PrintMsg (string msg) { if (DebugMode) ...
74b0cb70bb23b713a018d1da2fcf030abe9c0d11
C#
SebastianDominguezC/Data-Persistence-Project
/Assets/Scripts/Persistance.cs
2.78125
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; public class Persistance : MonoBehaviour { public static Persistance Instance; public string Name; public HighScore HS; private void Awake() { if (Instance != null) { Destr...
8232666c4c9f2b5ccbacad24ac678c0ca641d777
C#
davidparker83686/keepr
/keeprserver/Services/VaultsService.cs
2.625
3
using System; using System.Collections.Generic; using System.Linq; using keepr.Models; using keepr.Repositories_; namespace keepr.Services { public class VaultsService { private readonly VaultsRepository _vaultsRepository; private readonly VaultKeepsRepository _vaultKeepsRepository; public VaultsServi...
ec0ba677ab3cdaf84e8d7d29132e08ccab1149bb
C#
erinaldo/Siav
/SVC_BLL/SubGrupoBLL.cs
2.546875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using One.Dal; namespace One.Bll { public class SubGrupoBLL { public int sg_codigo { get; set; } public String sg_descricao { get; set; } public int sg_grupo { get; set; } ...
8c09657c41c64062a4a1250ae89705e67d6a7573
C#
1stResponder/fresh
/Fresh.Global/IconConfig.cs
2.6875
3
using Fresh.Global.IconHelpers; using System; using System.Collections.Generic; using System.Web; using System.IO; using System.Xml.Serialization; using System.Xml; namespace Fresh.Global { public static class IconConfig { //TODO: put in the web config file static string IconFileName = System.Web.Hosting....
6cea0bb7c23ab8c845e98838814c580d7023238f
C#
hansenjacobs/Chatroom
/Server/Client.cs
2.796875
3
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Server { class Client : IRecipient { NetworkStream stream; TcpClient client; ...
56d170a99d7ed2a06acadc9af325dfa77d01dc73
C#
PetrovPetar5/Databases-MSSQL-EntityFramework-SoftUni-Problems
/Entity Framework Core/ADO.NET/PrintAllMinionNames/Program.cs
3.390625
3
namespace PrintAllMinionNames { using System; using System.Collections.Generic; using Microsoft.Data.SqlClient; class Program { static void Main(string[] args) { const string connectionString = @"Server=.;Database=MinionsDB;Integrated Security=true;"; ...
ffde324ac937671c5551e3231748e54198cf4fcb
C#
pinarbulbul/DowntimeAlerter
/DowntimeAlerter.Infrastructure/BackgroundJob/HealthCheckJob.cs
2.578125
3
using DowntimeAlerter.Application.Notifications; using DowntimeAlerter.EntityFrameworkCore.TargetDb; using System; using System.Net.Http; using System.Threading.Tasks; namespace DowntimeAlerter.Infrastructure.BackgroundJob { public class HealthCheckJob: IHealthCheckJob { private readonly TargetDbConte...
008e3d1b8fc3c5d17291005514e852f4f3b0654e
C#
limonana/Recommendation_Systems_Course
/3/ProbabilityForest/DB.cs
3.46875
3
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProbabilityForest { class DB { public void LoadPart(string fileName, int lineCount) { var reader = new StreamReader(fileName); ...
922500a881a79a681ab9f1879a9a91eed2cc8011
C#
ppedvAG/190402_Xamarin_BGH
/DatenSpeichernUndLaden/DatenSpeichernUndLaden/DatenSpeichernUndLaden/RESTPage.xaml.cs
2.859375
3
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace DatenSpeichernUndLaden { [XamlCompilation(XamlCompilationOptions.Compile)] public partial ...
3f0b47311bd69964038e7b8ef74f20e5a2c9f456
C#
chengming0916/SamplePrism
/SamplePrism.Presentation.Common/Message.cs
2.90625
3
namespace SamplePrism.Presentation.Common { public class Message { public Message(string rawMessage) { Key = rawMessage.Substring(0, rawMessage.IndexOf(':')); var message = rawMessage.Split(':')[1]; string command = message.Substring(1, message.IndexOf(">") -...
00354579f4038c2b78d7b892bbb48ce59269475e
C#
evgenyviyachev/CSharp-Advanced
/2. Sets and Dictionaries/SetsDictionariesEx/Problem 11/LogsAggregator.cs
3.203125
3
using System; using System.Collections.Generic; namespace Problem_11 { class LogsAggregator { static void Main() { int lines = int.Parse(Console.ReadLine()); SortedDictionary<string, SortedSet<string>> usernameIPs = new SortedDictionary<string, SortedSet<string>>(); ...
8765a019ad419750ef62aa4cd0bec2f1feefd348
C#
gregfield/IN710-fielgm2
/Week 7/PredicateDelegate/PredicateDelegate/Form1.cs
3.328125
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 PredicateDelegate { public partial class Form1 : Form { List<int> randomNumber...
87d727cc7671f107c6c8ba559d15c1f8df2754dc
C#
xamarin/java.interop
/tools/param-name-importer/JavaApiParameterNamesExporter.cs
2.75
3
using System; using System.IO; using System.Linq; using System.Xml; using Xamarin.Android.Tools.ApiXmlAdjuster; namespace Xamarin.Android.Tools.ApiXmlAdjuster { public static class JavaApiParameterNamesExporter { public static void WriteParameterNamesXml (this JavaApi api, string file) { using (var xw = XmlW...
b25cba1caf79f0731a74d86701bb42bf1a2c013a
C#
SergeyDushkin/TechFactory
/TF/src/TF.DAL/UserRoleRepository.cs
2.53125
3
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Dapper; using TF.DAL.Query; using TF.Data.Systems.Security; namespace TF.DAL { public class UserRoleRepository : IUserRoleRepository { private readonly NoodleDbContext context; public UserRo...
a2094a1ca78a005ce3922dd58e7492ae2a5ae645
C#
shendongnian/download4
/first_version_download2/121584-8558442-19234913-2.cs
3.171875
3
public DataTable getSections() { String url = "http://<site_url>/sections.xml/sections.xml"; DataTable t = new DataTable(); t.Columns.Add("id", typeof(String)); t.Columns.Add("name", typeof(String)); HttpHandler handle = new HttpHandler(); ...
da424a4e924562c117fce6ec1bbe5fcf2018b9a9
C#
ilaydaakbulut/CSharpLearningProjects
/MyDicrionary/Program.cs
3.078125
3
using System; namespace MyDicrionary { class Program { static void Main(string[] args) { MyDictionary<int, string> myDictionary = new MyDictionary<int, string>(); myDictionary.Add(1, "AA"); myDictionary.Add(2, "BB"); myDictionary.Add(3, "CC"); ...
a82e2600c955fa674fc37cd96e1f85bb68e8be0e
C#
alvarofachinetto/br.com.livraiashalom
/br.com.livrariashalom/BLL/FornecedorBLL.cs
2.59375
3
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using br.com.livrariashalom.DAO; using br.com.livrariashalom.Model; namespace br.com.livrariashalom.BLL { public class FornecedorBLL { private Fo...
6e870c4aa5b3e4855681dc930498d7d9e380a517
C#
timawesomeness/SpectrumNameColorizer
/NamePlugin/NamePlugin.cs
2.734375
3
using Spectrum.API; using Spectrum.API.Configuration; using Spectrum.API.Interfaces.Plugins; using Spectrum.API.Interfaces.Systems; namespace NamePlugin { public class Entry : IPlugin { public string FriendlyName => "Name Colorizer"; public string Author => "timawesomeness"; pub...
7c3931f7e6737292b43aadf2b0a1039264fec706
C#
dadjh85/Demo4-Curso-.NetCore3.1
/src/Demo4/Demo4/Controllers/UserController.cs
2.53125
3
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Service.DtoModels; using Service.UserService; using System; using System.Threading.Tasks; namespace Demo4.Controllers { /// <summary> /// Controler of User /// </summary> [Authorize(Policy = "AdminAndUser")] public cla...
2fffcaa36b6baf0d74496df459d461a95489aa3b
C#
radol91/BitMapEditorSolution
/BitMapEditor/MyBitmap.cs
3.046875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Drawing; using System.Drawing.Imaging; namespace BitMapEditor { class MyBitmap { private Bitmap preBitmap; private Bitmap curBitmap; private...
239ae86a66072b12cbe3e14b7d2a6c8b732118aa
C#
nesherben/SpaceInvaders
/Space Invaders/Assets/Scripts/Pathfinding/Pathfinder.cs
2.875
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Pathfinder : MonoBehaviour { static List<Waypoint> waypoints = new List<Waypoint>(); //Referencia a todos los waypoints de la escena Queue<Waypoint> queue = new Queue<Waypoint>(); //Cola de procesamiento de waypoint...
e70918e5f13b1350e99cebee778aaef1b7fae478
C#
Junior91323/Employees
/Employees.DAL/Repositories/EmployeesRepository.cs
2.796875
3
using Employees.DAL.EF; using Employees.DAL.Entities; using Employees.DAL.Interfaces; using Employees.DAL.Interfaces.Repositories; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Employees.DAL.Repositories { pu...
20dd2ee46731bb988b6d166587e84b738ae0e09a
C#
TelerikHomeworks/StanHomework
/2. Homework Primitive Data Types and Variables/10Employee Data/Employee.cs
3.65625
4
using System; //A marketing company wants to keep record of its employees. Each record would have the following characteristics: //First name //Last name //Age (0...100) //Gender (m or f) //Personal ID number (e.g. 8 306 112 507) //Unique employee number (27 560 000…27 569 999) //Declare the variables needed to kee...
b6f16f5347caa605e3ca4852b6b75ecc5ba14e3b
C#
diegomalta/DataStructuresAndAlgorithms
/src/PhoneNumbers/Program.cs
3.546875
4
using System; namespace PhoneNumbers { class Program { static void Main(string[] args) { /* * for given a numbers, [3,6,9] * return with the posibles words * that we can create using the phone keys * -------------------- ...
30d1c1697ff85feeae74f1877a93c43b36d2cf9f
C#
micjahn/ZXing.Net
/Source/lib/common/GlobalHistogramBinarizer.cs
2.546875
3
/* * Copyright 2009 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
e907548e0477fee1c1ef6d611bac6cbe932a4494
C#
bur-lis/VKR
/VKR/MatrixC.cs
2.828125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MathNet.Numerics.LinearAlgebra.Complex; using System.Numerics; using System.Windows.Controls; namespace VKR { static class MatrixC { static List<string> _nameGates = new List<str...
dd9a4dbb352aeca502954304d33e3fe220244db2
C#
stefanbursuc/Bewildered-Core
/Runtime/UHashSet.cs
2.984375
3
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Bewildered { // Implementation Note: // We do not inheirt from HashShet<T> because in the ISerializationCallbackReceiver.OnBeforeSerialize() method // we need to iterate over the items in the HashSet but ...
4f6864d3c9279d6f12f2cf0cb1ac8a36a5cc6894
C#
theunrepentantgeek/vsgraph
/src/Niche.Graph/Edge.cs
3.265625
3
using System; using System.Drawing; using Niche.Shared; namespace Niche.Graphs { /// <summary> /// A graph edge, linking two nodes /// </summary> public class Edge { /// <summary> /// Gets the node from which this edge starts /// </summary> public Node Start ...
9db12c5d17a766a675db08131f7a03e77419e507
C#
qLaudiu/SP_FootballManager
/SP_FootballManager/Staff.cs
3.03125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SP_FootballManager { public class Staff : IStaff { private List<IStaff> children = new List<IStaff>(); public Staff() : base() { } public over...
26c50b49067774aa9629f27a5b7c018aebe529b2
C#
wxm001/Wei.OA
/Wei.OA.Common/LogHelper.cs
2.75
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Wei.OA.Common { using System.Threading; //public delegate void WriteLogDel(string str); public class LogHelper { public static Queue<string> ExceptionStringQueue=new Q...
3e7bcca29fb732918562278c7c3ed30647a0a674
C#
jaskarans-optimus/Induction
/Dot Net Induction/XML and Serialization/Assignment28/Assignment28/Program.cs
3.15625
3
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assignment28 { class Program { static void Main(string[] args) { Student student = new Student(2, "abc", 60); Student student1 ...
7295af45aebd086727af639d128e2fa549baaf2c
C#
Volha525/ola-bardezkaja
/LetterAa.cs
3.4375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LetterAa { class Program { static void Main(string[] args) { Console.WriteLine("Введите предложение"); string sentense = Console.Re...
2249dffbe5b1d61ce61522b30702edf384f9ebf2
C#
estrela530/bermuda
/ShipGame/Actor/Player.cs
2.53125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ShipGame.Device; using ShipGame.Def; using ShipGame.Util; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework; namespace ShipGame.Actor { class Player : GameObject { ...
0bcf91c41ce3bdaf0f89e6d52380cefaea243682
C#
BenjaminBruton/PartsInventoryProject
/C968 - BFM1 - BBruton Inventory Project/AddPart.cs
2.765625
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 C968___BFM1___BBruton_Inventory_Project { public partial class AddPart : Form ...
42dbe232efb3bf2da9e6eee5d6fd6b0a32cf3705
C#
k2workflow/Chasm
/src/SourceCode.Chasm/Blob.cs
2.9375
3
using System; using System.Collections.Generic; using System.Diagnostics; using SourceCode.Clay.Buffers; namespace SourceCode.Chasm { [DebuggerDisplay("{ToString(),nq,ac}")] public readonly struct Blob : IEquatable<Blob> { private static readonly Blob s_empty; /// <summary> /// A s...
18ed933521c26cae464b65541cef43bd6bc8732b
C#
ChristianArnold/OVT_Hololens
/Assets/Scripts/Functionality Scripts/vectorsScripts/EVectorScript.cs
2.515625
3
using UnityEngine; using UnityEngine.UI; using System.Collections; using System; /// E Vector Script /// Author: Thomas Fitzgerald /// Draws a line from the origin to the perigee of the current orbit /// So easy a caveman could do it public class EVectorScript : MonoBehaviour{ public Library lib; public InputFie...
4a2a4c4d7bab4ae68d95ca726d1ba78ac7239075
C#
brungardtdb/Craps
/Craps/Program.cs
3.65625
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Craps { // create random-number generator for use in method RollDice private static Random randomNumbers = new Random(); // enumeration with constants that represent the game s...
803f8d25ec3e4be60c8398e87a0d331579db55d9
C#
brauniks/FileWorker
/FileWorker/Tools/XmlTransformer.cs
2.578125
3
namespace FileWorker.Tools { using Interfaces; using PdfFile.Common; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Xsl; /// <summary> /// Defines the <see cref="XmlTransfo...
3308c622fe61585448bdf84fe41e45d584da3817
C#
phbraganca/Insurance
/Insurance.Domain/RepositoryBase.cs
3.078125
3
using Insurance.Domain.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Insurance.Domain { public class RepositoryBase<T>: IRepositoryBase<T> where T : class { private DataContext<T> Context { get; set; } public RepositoryBase(DataCo...
dd3a1b0d785035b1f68dce77ee24f45bf95fc76e
C#
manikantatps/The-complete-aspnet-mvc-5-course
/Vidly/Controllers/MoviesController.cs
3.015625
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Vidly.Models; using Vidly.ViewModels; namespace Vidly.Controllers { public class MoviesController : Controller { // GET: Movies/Random public ActionResult Random() { ...
ebd6629133d26b0c9caa800457c0941a22187a8c
C#
zubenkoivan/algorithms
/Algorithms/Graphs/StronglyConnectedComponents.cs
3.203125
3
using System.Collections.Generic; namespace Algorithms.Graphs { public class StronglyConnectedComponents { private readonly DirectedGraph graph; private readonly VerticeColors colors; private DirectedGraph invertedGraph; private int verticeIndex; private readonly int[] ...
7fbb0439c3500b9a8e91e89f4a45c1d7d65678a9
C#
gergelyposa/MetalGearLiquid_WPF
/MetalGearLiquid_WPF/MetalGearLiquid/WpfApp1/Persistance/MetalGearLiquidFileDataAccess.cs
2.75
3
using System; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Diagnostics; namespace MetalGearLiquid.Persistence { public class MetalGearLiquidFileDataAccess : MetalGearLiquidDataAccess { /// <summary> /// Fájl betöltése. ...
a885e78f5319a9ad42bab948d78ae4bc78ce08fe
C#
WanftMoon/codesignal
/CodeSignal/Arcade/Intro/ExploringTheWaters.cs
3.796875
4
using System; using System.Collections.Generic; using System.Linq; namespace CodeSignal.Arcade.Intro { public class ExploringTheWaters { /// <remarks> /// Several people are standing in a row and need to be divided into two teams. The first person goes into team 1, the second goes into team 2...
0d04fa8f3346ba6712d44ec774208b916c4c8ae6
C#
austinhill42/CSharp
/Programming Assignment 2/Programming Assignment 2/Car.cs
3.375
3
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Programming_Assignment_2 { public class Car { // Using default get/set since data is validated by the form before continuing public double CostOfOwnership { get; set; } public doubl...
711514294acae4ee404fddc9e0d2e85a7c1354f4
C#
ReissZachary/TinkerJems
/TinkerJems.Wpf/MainWindow.xaml.cs
2.578125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace TinkerJems.Wpf { public partial class MainWindow : Window { public MainWindow() { InitializeComponen...
d00743a37edb86f02f23f6c74d2474d2dab7f71e
C#
martincostello/lambda-test-server
/tests/AwsLambdaTestServer.Tests/ReverseFunctionTests.cs
2.546875
3
// Copyright (c) Martin Costello, 2019. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using System.Text.Json; using MartinCostello.Testing.AwsLambdaTestServer; namespace MyFunctions; public static class ReverseFunctionTests { ...
54fd3195ef51903d5ed50b1ed8728af1da69df16
C#
IvanovVadym/RemoteEducation
/RemoteEducationApi/Application/Students/Commands/CreateStudent/CreateStudentCommandValidator.cs
2.671875
3
using FluentValidation; namespace Application.Students.Commands.CreateStudent { public class CreateStudentCommandValidator : AbstractValidator<CreateStudentCommand> { public CreateStudentCommandValidator() { RuleFor(v => v.FirstName) .NotEmpty().WithMessage("FirstNa...
b915e4608b8ae1ee1887cd600de12ae018e75842
C#
Knagis/CommonMarkSharp
/CommonMarkSharp/BlockParsers/IBlockParserExtensions.cs
2.953125
3
namespace CommonMarkSharp.BlockParsers { public static class IBlockParserExtensions { public static int ParseMany<T>(this IBlockParser<T> parser, ParserContext context, string input) where T : class { return parser.ParseMany(context, new Subject(input)); ...
450a038a95e32765e12eacdee09d8630a7c4794a
C#
matei-tm-csv/ApiVersioningDemo
/DemoVersioning/Controllers/v2_0/WeatherForecastController.cs
2.796875
3
using System; using System.Collections.Generic; using System.Linq; using ApiVersioningDemo.Configuration; using ApiVersioningDemo.Models.v2_0; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace ApiVersioningDemo.Controllers.v2_0 { /// <summary> /// WeatherForecast class /// </su...