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
b66fe111e3b2245fb88863244d7309227a84cac2
C#
KonH/BackupUtility
/BackupUtility.Tests/Mocks/MockFileManager.cs
2.71875
3
using System; using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; using BackupUtility.Core.FileManager; using BackupUtility.Core.TimeManager; namespace BackupUtility.Tests.Mocks { static class MockFileManagerHelpers { public static Span<string> ToSpan(this string fullPath) { retur...
b2cdb9f2816d0038abdb410c7e8ccc01bb5676c6
C#
neetu-khatra/Medicaps-complete
/demo pages/Demo.aspx.cs
2.640625
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Configuration; using System.Data.SqlClient; using System.Collections; public partial class Demo : System.Web.UI.Page { protected void Page_Load(object sender, Eve...
85ec3f025a6eecb3c4aa00f5d3318012ce1b093e
C#
njmube/DT.PCP
/DT.PCP.Logging/Logger.cs
2.671875
3
using System; using System.IO; using NLog; using NLog.Config; namespace DT.PCP.Logging { /// <summary> /// Представляет логгер /// </summary> public class Logger:ILogger { private static NLog.Logger _logger; public void Debug(string msg) { _logger.Debug(msg); ...
081f7299c27fe11bf28a66710e72f799e8713e5b
C#
ricarmagu/sales-system-2
/sales-system-2/Program.cs
3.140625
3
using System; namespace sales_system_2 { class Program { static void Main(string[] args) { Console.WriteLine("programa inicializado"); Reports report = new Reports(); Seller v1 = new Seller(); v1.nameSeller = "juan"; v1.age = 23; ...
a31a5702a7c6b1031e3d2a4e2a7014909bbee3bc
C#
KristofferRisa/Helsenorge.Messaging
/src/Helsenorge.Registries/Abstractions/ProcessSpecification.cs
2.578125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Helsenorge.Registries.Abstractions { /// <summary> /// A ProcessSpecification can be thought of in practial terms as a message type. /// </summary> /// <example> /// <![CD...
e9e278e6e8d1fd852dae9630d072c19478b98c2e
C#
DottGRIP/Kindler-Executive-Compiler
/program.cs
2.90625
3
using System; using Class_01; using Class_02; namespace Kindler_Executive_Compiler { class Program { public static string cmd_init = "cmd"; public static string cmd_help = "help"; public static string cmd_exit = "exit"; public static string key_return = "enter"; public s...
9ce413806582311555608fa2c0ee3ddf6040d8f6
C#
spencewenski/Vision
/Assets/Scripts/EmptyAudioSource.cs
2.578125
3
using UnityEngine; using System.Collections; using System.Collections.Generic; public class EmptyAudioSource : MonoBehaviour { private AudioSource audioSource; private bool isDestroyed = false; private static Queue<EmptyAudioSource> activeAudios = new Queue<EmptyAudioSource>(); void Awake() { ...
07f1c4ef172e802979d321b64e9a64eef1c93f12
C#
Peokk/Codewars-Tasks
/Product-of-consecutive-Fib-numbers.cs
3.53125
4
public class ProdFib { public static ulong[] productFib(ulong prod) { ulong num1 = 0; ulong num2 = 1; while (true) { if (num1 * num2 == prod) return new ulong[] { num1, num2, 1}; if(num1 * num2 > prod) return n...
4b3dd2475bd5fe14f03bd46cf089a2d97c742b29
C#
jcqnly/atm
/atm/atm/Classes/Deposit.cs
3.640625
4
using System; using System.Collections.Generic; using System.Text; namespace atm.Classes { public class Deposit { /// <summary> /// Check if a deposit amount is negative /// </summary> /// <param name="amount"></param> /// <returns></returns> public void CheckIfDepositIsNegative(decimal amount, decimal...
923dffa7c2572db13afe9f54a5b6dcc6dd92723e
C#
trigonotis97/Unity2DGame_ProjHoonGeul
/Proj_HoonGeul_2_Github/Assets/Scripts/BattleScene/BackGroundWordGen.cs
2.65625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BackGroundWordGen : MonoBehaviour { public GameObject wordPref; float x; float y; float width; float height; // Start is called before the first frame update void Start() ...
0b89c80d97291bd98e2baa76086062feec54b0e3
C#
Yordi23/Tendencia---Code-Katas
/15-06-2019/Anagrams2/Program.cs
3.609375
4
 using System.Collections.Generic; namespace Anagrams2 { class Program { static void Main(string[] args) { } } public class AnagramFinder { List<char>[] sortedChars; public string[] Find(string[] words) { sortedChars...
4ddd89076361d2650bff27e15f37d1546379f4a2
C#
ihabM2i/FormationDOTNET0221
/Caisse/Classes/Payment.cs
2.84375
3
using Annuaire.Tools; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Text; namespace Caisse.Classes { abstract class Payment { //Reference paiement private int id; private DateTime datePayment; private decimal amount; private ...
6fc6c4c48590535821290ac1c30bb95d938b1d9a
C#
DinoChan/UWP-Samples
/TemplatedControlSample/TemplatedControlSample/SimpleItemsControls/EventListView.cs
2.9375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace TemplatedControlSample { public class EventListView : ListView { public EventListView() { _items = ne...
250f261e6f6d1d48232f28f0037608b1b58c8774
C#
unosbaghaie/Ybm.Framework
/Ybm.Common/Models/Mapping/TokenCategoryMap.cs
2.640625
3
using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; namespace Ybm.Common.Models.Mapping { public class TokenCategoryMap : EntityTypeConfiguration<TokenCategory> { public TokenCategoryMap() { // Primary Key this.HasKey(t => t.I...
706d1123d7784b656c3ccd2a18cb3806b8c294ad
C#
zhouyongtao/my_aspnetmvc_learning
/Homeinns.Common/Log/EventLogRecord.cs
2.71875
3
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace Homeinns.Common.Log { /// <summary> /// Windows事件日志 /// </summary> public class EventLogRecord : IRecordLog { /// <summary> /// 操作人 /// </summary> private readonl...
83a796af417f31bfc9fcfd6ada03a489e1a9cb27
C#
MarcoNaik/Unity
/TopDown Shooter 3D/Assets/Scripts/DropManager.cs
2.859375
3
using System; using System.Collections.Generic; using UnityEngine; using Random = UnityEngine.Random; public class DropManager : MonoBehaviour { [System.Serializable] public class Pool { public string name; public GameObject prefab; public int size; } public static Dro...
3ca19672d0f9a6d1aeb3a3f2924154536a378786
C#
vknvnn/DotnetCoreSln
/RedisDemo/Program.cs
2.796875
3
using Microsoft.Extensions.Logging; using NLog.Extensions.Logging; using ServiceStack.Redis; using ServiceStack.Redis.Generic; using System; using System.Text; using System.Threading; using System.Threading.Tasks; namespace RedisDemo { public class Student { public int Id { get; set; } public ...
2c0ac6f9ff2ea88484c4723f699119e3a811cf85
C#
WilliamChavula/design-patterns
/Abstract-Factory-Pattern/PetTiger.cs
3.015625
3
using System; namespace Abstract_Factory_Pattern { public class PetTiger : ITiger { public void AboutMe() { Console.WriteLine("Pet Tiger says: Halum. I play in an animal circus."); } } }
020c3fabe75eb47d254acad455a11b96c233ae3b
C#
georgiIvanov/RegFormServer
/RegFormServer/Utilities/DateConverter.cs
2.75
3
using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace RegFormServer.Utilities { public class DateConverter : DateTimeConverterBase { public override object ReadJson(Newtonsoft.Json.JsonReader reader, Type objectType, object exi...
da878ae9e5560173c5e8a1e59eedeccdd7bda1f0
C#
KKozlowski/TechnologieProgramowania2015
/ZAD4/Biblioteka/Fillers/MassFiller.cs
3.21875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections.ObjectModel; namespace Biblioteka { public class MassFiller : IFiller { Random radom = new Random(); private int numberOfPos = 10000; public int Numb...
27231ff6b08baf1b7b6081713d4773a63ea51cdb
C#
arthertz/B453-Sassafras
/SassGame/Assets/Scripts/Worm.cs
2.734375
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Worm { public float pitch; public float yaw; public Vector3 pos; public Worm (float pitch, float yaw, Vector3 initPos) { this.pitch = pitch; this.yaw = yaw; this.pos = initPos; } ...
a64b8ff74d36600fc8a63dabc0ec144319f89c3b
C#
xdinos/SDL2Experiments
/GrandStrategy/SharpCEGui/SharpCEGui.Base/UnifiedDim.cs
2.65625
3
#region Copyright // Copyright (C) 2004 - 2013 Paul D Turner & The CEGUI Development Team // // C# Port developed by The SharpCEGui Development Team // Copyright (C) 2012 - 2013 // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (th...
c96af40b10bc1fd585c979f30d6195ceadcf79f0
C#
Zwapgrid/AppStorePostExamples
/CreateAndValidateConnection/RSACryptor.cs
2.71875
3
using System; using System.IO; using System.Security.Cryptography; using System.Text; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.OpenSsl; using Org.BouncyCastle.Security; namespace CreateAndValidateConnections { public class RSACryptor { const int K...
047d0895a5cbfc2fe99d92c987747e143ac106ec
C#
sachintanwar2206/ThinkBrigde
/Models/Product.cs
2.546875
3
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace ThinkBridge.Models { public class Product { public Product() { Id = Guid.NewGuid().ToString().ToUpper(); Active...
64780b4beab2ce985b954d7a1ee2f6fb48731ff5
C#
Alword/Algoexpert
/Alword.Algoexpert/Tier0/FindClosestValueInBst.cs
3.359375
3
using System; using System.Collections.Generic; using System.Text; namespace Alword.Algoexpert.Tier0 { public class FindClosestValueInBst { public class BST { public int value; public BST left; public BST right; public BST(int value) ...
7be570c772ca1ed4f23ec7f642b52c2747b55d09
C#
Ranjpri/Linqpad-Files
/13_Armstrong Number.linq
3.9375
4
<Query Kind="Program" /> void Main() { //Check if a number is an Armstrong number or not //An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Console.WriteLine("Enter a number"); int digit100 = 1; int digit10 =1; int digitOnes=...
23261881225a924bbe5f19849d3df9d4180bf41a
C#
hoanganh9/BachMaiCR
/BachMaiCR.DataAccess/Transaction.cs
2.5625
3
using System; using System.Transactions; namespace BachMaiCR.DataAccess { public class Transaction : ITransaction, IDisposable { protected UnitOfWork uow { get; private set; } protected TransactionScope ts { get; private set; } public Transaction(UnitOfWork u) { t...
cef16301151731ef6d44c09797bf4d58fd58dc82
C#
alexandercamps/cuite
/src/Sut.HtmlTest/TempFile.cs
2.96875
3
using System; using System.IO; namespace Sut.HtmlTest { using System.Collections.Generic; /// <summary> /// Wrapper for a temporary file /// </summary> public class TempFile : IDisposable { /// <summary> /// Gets the file path. /// </summary> /// <value> ...
aa5c1b401eedb6ea427a5d1e4a97c1164e0d2948
C#
M2m0ryZ/compactframework
/InTheHand/Runtime/InteropServices/SYSTEMTIME.cs
2.8125
3
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SYSTEMTIME.cs" company="In The Hand Ltd"> // Copyright (c) 2003-14 In The Hand Ltd. All Rights Reserved. // </copyright> // <author>Peter Foot</author> // -------------------------...
adfd228a4d661616d8aa52c8602bc0cfe31ce7a8
C#
TGladysheva/shpora_hw3
/Markdown/StringAnalyzer/MatchInfo.cs
2.53125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Markdown { public class MatchInfo { public bool IsMatch { get; } public (int, int) StartIndex { get; } public (int, int) EndIndex { get; } public MatchI...
61553fa785d2a568e23669e3395e37ac16ada6c1
C#
minism/hotel-client-unity
/Lib/Util.cs
2.6875
3
namespace Hotel { public static class Util { public static string GetFlagValue(string flagName) { var args = System.Environment.GetCommandLineArgs(); for (int i = 0; i < args.Length; i++) { if (args[i].StartsWith(flagName)) { var chunks = args[i].Split('='); if (chunks.Le...
9b964d61fe77ad96c84fd96f59bef32a266f7796
C#
herbfunk/Funky
/fBaseXtensions/Navigation/Clustering/ClusterConditions.cs
2.6875
3
namespace fBaseXtensions.Navigation.Clustering { public class ClusterConditions { public readonly double ClusterDistance; public readonly float MaximumDistance; public readonly float MinimumDistance; public readonly int MinimumUnits; public readonly bool IgnoreNonTargetable; public readonly double DOTDPS...
3fbe59748ca4ab4c0dd67aa93ce1398d41dca90e
C#
dkasavetova/TelerikAcademy
/1.Programming/1.CSharpPartOne/7.ExamPreparation/Telerik-Academy-Exam-1-At-7-Dec-2011-Morning-Re/DancingBits/DancingBits.cs
3.59375
4
using System; using System.Text; class DancingBits { static void Main() { int k = int.Parse(Console.ReadLine()); int n = int.Parse(Console.ReadLine()); StringBuilder bitSequence = new StringBuilder(); for (int i = 0; i < n; i++) { bitSequence.Append(Conver...
9ab14b085c0d721d2443dd3a2916ea804b42f4c7
C#
Tmazo/ApiCalculator
/CrudCalculator/Business/CalculatorBusiness.cs
2.96875
3
using CrudCalculator.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CrudCalculator.Business { public class CalculatorBusiness : ICalculatorBusiness { public string CalculatorRules(CalculatorModels calculatorModel...
34d1f343dceac3e3e4ad4a645d4ab60215a5bd39
C#
mirusser/Producer_Consumer_RabbitMQ_Demo
/RabbitMQ.ProducerDemo/Producers/QueueProducer.cs
2.796875
3
using System.Text; using System.Threading; using Newtonsoft.Json; using RabbitMQ.Client; namespace RabbitMQ.ProducerDemo.Producers { public static class QueueProducer { public static void Publish(IModel channel, string queueName = "demo-queue") { channel.QueueDeclare( ...
0d7e1f5d70b6a8210ecf84ea18620a0c35ca20c4
C#
ANCHETOO/SoftUni_Projects
/C#Advanced/Stacks_And_Queues/Auto_Repair_And_Service.cs
3.578125
4
using System; using System.Collections.Generic; using System.Linq; namespace Auto_Repair_And_Service { class Auto_Repair_And_Service { static void Main(string[] args) { string[] cars = Console.ReadLine() .Split(" ", StringSplitOptions.RemoveEmptyEntries) ...
d5eb0d9e18ca498896d45dffe1eed01581551a6f
C#
mv740/E-Wok-MyConcordia
/MyConcordiaID/src/MyConcordiaID/Helper/FormatHelper.cs
3.1875
3
using System; namespace MyConcordiaID.Helper { public class FormatHelper { /// <summary> /// Convert string timestamps to C# DateTime object /// </summary> /// <param name="timestamp"></param> /// <returns></returns> public static DateTime ConvertToDateTime(str...
325446267398def1e707544fa530dc46a523d9fb
C#
RyanLamansky/dotnet-webassembly
/WebAssembly/Instructions/MemoryImmediateInstruction.cs
2.640625
3
using System; using System.Linq; using System.Reflection; using System.Reflection.Emit; using WebAssembly.Runtime; using WebAssembly.Runtime.Compilation; namespace WebAssembly.Instructions; /// <summary> /// Common features of instructions that access linear memory. /// </summary> public abstract class MemoryImmedia...
b0b698492d909c99326bb52136b1ac3d429b7a86
C#
Jianhaos/GroceryManager
/Grocery Master/Grocery Master/DataModel/GroceryStorageDataSource.cs
2.5625
3
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading.Tasks; using Windows.Data.Json; using Windows.Storage; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Imaging; using Grocery_Master.Common; using System.Runtime.Serialization.Json; ...
2f5da03ecbc7856852a0c94a21ac1f369ff00fe3
C#
weboni83/wpf-lite-poco-gen
/LiteOrmPocoGen/PocoGen/Readers/SqliteSchemaReader.cs
2.765625
3
// ----------------------------------------------------------------------- // <copyright file="SqliteSchemaReader.cs" company="Poco Generator for Lite ORMs"> // Copyright (c) Lite Poco Generator. All rights reserved. // This is code is based on the T4 template from the PetaPoco project which in turn is based on the s...
e48513cc8f4d2ec516c2da193b81ea97b355618f
C#
TomArrow/RagecomicToPDF
/RageItem.cs
2.90625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Web; namespace RagemakerToPDF { class RageItem { public float x, y; public float opacity = 1f; public float rotation = 0.0f; publi...
4b8c1e4f4fcc0ce378d6b8302f5a4cdbfa2cbccc
C#
Her0elt/dotnet-testing
/dotnet_app/Data/PersonRepo.cs
3.125
3
using dotnet_app.Models; using System.Linq; using System.Collections.Generic; using System; namespace dotnet_app.Data { public class PersonRepo : IRepo<Person> { private readonly Context _context; public PersonRepo(Context context) { _context = context; } ...
a6c2eccd380b9f847ac511986687f98fa46ffd10
C#
Ritikac11/KaplanAssignmentAPI
/KaplanAssignmentApi.UnitTest/AssignmentServiceTest.cs
2.796875
3
using Xunit; using System.Linq; using System.Threading.Tasks; using KaplanAssignmentApi.Model; using KaplanAssignmentApi.Data; using KaplanAssignmentApi.Service; namespace KaplanAssignmentApi.UnitTest { public class AssignmentServiceTest { private readonly AssignmentContext dbContext; public A...
528648fbd19a71bf4859521220f58a4ea3b41d01
C#
EnhWeb/csharp-sdk
/Qiniu/Util/StringEx.cs
2.546875
3
using System; using System.Collections.Generic; using System.Text; namespace Qiniu.Util { /// <summary> /// String辅助函数 /// </summary> public static class StringEx { /// <summary> /// 对字符串进行Url编码 /// </summary> /// <param name="value"></param> /// <...
34a291e2238e6de679ec4e2a33e0d9cb7cc714ca
C#
onCodeDesign/Code-Design-Training
/AppInfraDemo/Modules/Sales/Sales.Services/OrderingService.cs
2.5625
3
using System; using System.Collections.Generic; using System.Linq; using Contracts.Sales; using iQuarc.AppBoot; using iQuarc.DataAccess; using Sales.DataModel; namespace Sales { [Service(typeof (IOrderingService))] class OrderingService : IOrderingService { private readonly IRepository repository;...
83e26d8363c06eb3367fd48c54a16e075c62647e
C#
scfoley/XamarinCodingTest
/XamarinAndroidCodingTest/XamarinAndroidCodingTest.LocalStorage/Repositories/DatabaseRepository.cs
2.75
3
using System; using System.IO; using SQLite; using XamarinAndroidCodingTest.LocalStorage.Contracts; namespace XamarinAndroidCodingTest.LocalStorage.Repositories { public class DatabaseRepository : IDatabaseRepository { private readonly SQLiteConnection connection; public DatabaseRepository() ...
5021f899d2af46aa6319e8c481ed0be2cd6f4a63
C#
AnastasPetrenski/OOP-CSharp
/05. SolidPrinciples/MyLogger/Factories/LayoutFactory.cs
2.578125
3
using MyLogger.Models.Contracts; using MyLogger.Models.Layouts; using System; using System.Collections.Generic; using System.Text; namespace MyLogger.Factories { public class LayoutFactory { public ILayout ProduceLayout(string type) { ILayout layout = type switch { ...
9a4570a8a3114c5c1719cedb3324ad355057f8f9
C#
AvaPL/Control-of-discrete-processes
/WiTi/WiTi/WiTi/BruteForce.cs
3.171875
3
using System.Collections.Generic; using Combinatorics.Collections; namespace WiTi { public class BruteForce { public static WiTiTimes SolveUsingPermutations(List<Task> tasks) { Permutations<Task> permutations = new Permutations<Task>(tasks); WiTiTimes result = new WiTiT...
4ef58ac2fe4a38b5402a03a0fe00084406e28d0f
C#
laurens423/Spedd-n-Stronk
/Scripts/Load.cs
2.578125
3
using Godot; using System; using Godot.Collections; public class Load : Button { // Declare member variables here. Examples: // private int a = 2; // private string b = "text"; // Called when the node enters the scene tree for the first time. public override void _Ready() { File saveGa...
2b9bf72e875860758e937eea0b15200ac1664db7
C#
NasC0/Side_Stuff
/CoursePaper/CoursePaperNew/Classes/DBConnector.cs
3.0625
3
/* A simple Class that connects to the database and executes a query. * Database connection string are located in App.config * Implements MySQL query protection from SQL injection */ using System; using System.Collections.Generic; using System.Windows.Forms; using MySql.Data.MySqlClient; using System.Data; using S...
8a3d57fc4908a36c5895f4e1a7b638e729140121
C#
sonkhryzz/PORTFOLIO
/Csharp/05/supermercado/Program.cs
3.296875
3
using System; using System.Collections.Generic; using System.Linq; namespace Compras_No_Supermercado { class Program { static void Main(string[] args) { string[] prods; List<string> list = new List<string>(); int n = int.Parse(Console.ReadLine()); ...
6023f36654453d3c2e641410b168fbbf564652a1
C#
Ulyanov-programmer/NewsSite
/NewsSite.BL/Abstractions/IDbManager.cs
3.078125
3
using System; using System.Threading.Tasks; namespace NewsSite.BL.Abstractions { /// <summary> /// Представляет абстракцию класса, имеющего доступ к базе данных, содержащего полный для этого функционал. /// </summary> internal interface IDbManager { /// <summary> /// Добавляет сущн...
a282bef896d4be1e4f362bdf2b9d9d6d2731f546
C#
mickespace/BStar
/恒盛市政园林/.svn/pristine/51/5152551380853b202a71fc31813ac4da634c1bdb.svn-base
2.59375
3
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WallE.Data.MySql; using WallE.Platform.Models; namespace WallE.Platform.DalService { internal class CategoryDal { private static CategoryDal _ins; private CategoryDal() { } /// <summ...
8bfc49d58999fd295badf68f3f237ce82948e195
C#
Tobias-Fischer-Official/kdf
/Knuddels Development Framework/ClientEventArgs/ChangeUserListImageEventArgs.cs
2.890625
3
using System; using KDF.ChatObjects; namespace KDF.ClientEventArgs { /// <summary> /// Stellt Daten für das OnChangeUserListImage-Ereignis bereit /// </summary> /// <remarks> /// <para>Dieses Ereignis tritt dann ein, wenn der Server Das Token mit dem Token-Identifizierer 'm' oder 'z' an den Client...
d69915ae99062f1b15369d30c16c0de0a1b1f951
C#
KonstantinTopchiy1991/HomeWorks
/Program.cs
3.3125
3
using System; namespace HomeWorks { class Program { static void Main(string[] args) { int[] array = {5, 3, 8, 14, 21, 19}; evenNumber(5, 6); Console.WriteLine("\n"); quarterNumber(3, -2); Console.WriteLine("\n"...
2341a0e51dddabd18926a1528c7222e7e939f5e7
C#
cnikolaidis/EnvironmentalInspectionManagement
/EnvironmentalInspectionManagement.DataAccessLayer/Services/EntityServices/NaturaRegionActivityMapsService.cs
2.546875
3
namespace EnvironmentalInspectionManagement.DataAccessLayer.Services.EntityServices { #region Usings using System.Collections.Generic; using Models.Exceptions; using Models.Entities; using Models.Criterias; using System.Linq; using Models.Dtos; using System; using Core; #endregi...
5ceb153ea389af1bd4ec7982847286f54b9a590a
C#
shendongnian/download4
/first_version_download2/140462-10163831-23302769-2.cs
2.5625
3
class TheViewModel { public string CompanyName { get; set; } public string UsernameText { get; set; } public string PasswordText { get; set; } private bool Validate() { bool result = !QuickMethods.IsFullyEmpty(CompanyName) && !Quic...
09167d821217b8ad790945ebcce4e0bbb43a7558
C#
egorovav/Ja2Project
/StdLib/GIF.cs
2.546875
3
using System; using System.Collections.Generic; //using System.Text; using System.Drawing.Imaging; using System.Drawing; using System.IO; namespace StiLib { public class GIF { public static void ConvertBitmapsToGif (List<ExtendedBitmap> exBms, string fileName, UInt16 timeOut, bool transparent, bool...
4f47228193b04c4cdc8f6843b5b8245168ba2b50
C#
evgeni0s/StockTraderExcercise
/StockTraderExcercise/StockTraderExcercise/Converters/BooleanToColorConverter.cs
3.25
3
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; using System.Windows.Media; namespace StockTraderExcercise.Converters { [ValueConversion(typeof(bool), typeof(SolidColorBrush))] public cla...
a759a54715ff47d52ee9ecee55bdfc70a587fda2
C#
leovel/SistemaRH
/RH.Manager/Converters/LayoutTypeToRotateAngleConverter.cs
2.546875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; using Telerik.Windows.Diagrams.Core; namespace RH.Manager.Converters { public class LayoutTypeToRotateAngleConverter : IValueConverter { public object Convert(...
05787a2d69da963abfab1facfb92d8c48d63279a
C#
MikeHitrov/SoftUni
/Programming Fundamentals/4. Lists and Matrices Exercises/05. Max Platform/Max Platform.cs
3.453125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _05.Max_Platform { class Program { static void Main(string[] args) { int[] size = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); int...
9978f5df0aa89417c3184f44e62e9a3ffe60bfbd
C#
AntoanKuyumdzhian/Programming-Fundamentals
/Methods and Debugging/Factorial Triling Zeros/Factorial Triling Zeros.cs
3.46875
3
namespace Factorial_Triling_Zeros { using System; using System.Numerics; public class Program { public static void Main() { int number = int.Parse(Console.ReadLine()); BigInteger result = 1; for (int i = 1; i <= number; i++) { ...
86543e270713f171a526ca94755687fa1fe9d426
C#
Denev/Software-University
/Programming Basics/04.Operators-And-Expressions/12.ExtractBitFromInteger/ExtractBitFromInteger.cs
3.703125
4
//Write an expression that extracts from given integer n the value of given bit at index p. using System; class ExtractBitFromInteger { static void Main() { int number = int.Parse(Console.ReadLine()); int position = int.Parse(Console.ReadLine()); Console.WriteLine((number >> position)...
a78457f8e95e5f72d9a79b4d087abba6131dc4f3
C#
drollicdotcom/devart-template
/project_code/com/drollic/app/dreamer/core/Sketch.cs
2.578125
3
/* Copyright 2006, Drollic All rights reserved. http://www.drollic.com Redistribution of this software in source or binary forms, with or without modification, is expressly prohibited. You may not reverse-assemble, reverse-compile, or otherwise reverse-engineer this software in any way. THIS SOFTWARE ("SO...
31fafb198094907441430c84662a1514490bf2a1
C#
olegsych/fuzzy
/test/Implementation/FuzzyEnumTest.cs
2.546875
3
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Inspector; using NSubstitute; using NSubstitute.Core; using Xunit; namespace Fuzzy.Implementation { public partial class FuzzyEnumTest: TestFixture { readonly Fuzzy<TestEnum> sut; public Fuz...
71fecb58759b487fd50dfd6794ccd371c144ff76
C#
fangfsz/dotnet-outlook-nosdk
/dotnet-outlook-nosdk/Helpers/OAuthHelper.cs
2.625
3
using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Web; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace dotnet_outlook_nosdk.Helpers { public class OAuthHelper { private static string authEndpoint = "/oa...
bf802feddc6d32ea2dbcd95ace5533b1e8375cad
C#
shendongnian/download4
/code1/33121-525449-873938-2.cs
2.953125
3
using System; using System.Windows.Forms; static class Program { [STAThread] static void Main() { // older menuitem MenuItem mi; using (Form form = new Form { Menu = new MainMenu { MenuItems = { (...
96ef39597e15b43f43b4ca48712e6de0b7f8df88
C#
davisbd100/CAIM
/DataStorage.cs
2.578125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CAIM { public class DataStorage { public List<double> Interval { get; set; } public String DataStored { get; set; } public List<List<double>> Table { get; set; ...
b6fa24ed82ea6b1a8b2b9707fc30509f2f63dbaf
C#
Mark-Diedericks/Excel-Macros-Old
/Excel Macros INTEROP/Engine/EngineIOManager.cs
2.796875
3
/* * Mark Diedericks * 22/07/2018 * Version 1.0.0 * Manages execution engines' IO */ using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Excel_Macros_INTEROP.Engine { public class EngineIOManager { private...
54674fdfbd20f67ddc02fc21cb5be6fc3e2e697c
C#
chenjiejijiji/Unity-Any-Localization
/AnyLocalization/Assets/AnyLocalization/Scripts/AnyLocalizationManager.cs
2.640625
3
 // Any Localization - © 2020-2021 George Huan. All rights reserved // https://gorh.cn/any-localization/ using System; namespace AnyLocalization { public static class ANL { public const string XMLStreamingAssetsPath = "AnyLocalization/XML"; public static string GetString(string key) ...
55204b4d7e27ec7ff02a35a78163bf394a2ef862
C#
DashaYulbarisova/IS_lab_work
/Choose Book Expert System/WinFormsBookExpertSystem/WinFormsBookExpertSystem/StudyComponentForm.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.Threading.Tasks; using System.Windows.Forms; namespace WinFormsBookExpertSystem { public partial class StudyComponentForm : Form { pu...
91c8072ab24ea17b08e1e32bc4a65793d2176412
C#
james276657/code
/Windows/C_Sharp/InstrumentPanel/Instrument Panel/DigitalMPH.cs
2.59375
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; 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; using System.Windows.Navigation; using System.Windo...
5df3cae54dbf3cf8e84fb82dd492d055213390c8
C#
LunariStudios/TsukiSuite
/Assets/Entities/Problems/Problem.cs
2.546875
3
using System; using System.Collections.Generic; namespace Lunari.Tsuki.Entities.Problems { public class Solution { public Solution(string description, Action solution) { Description = description; Action = solution; } public int Score { get; ...
380bdc537d68637c83320fdc346820e83e193eb7
C#
ColleenWoolsey/StudentExerciseAPI
/StudentExerciseAPI/Controllers/StudentController.cs
2.9375
3
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using System.Data; using System.Data.SqlClient; using StudentExerciseAPI.Models; using Microsoft.AspNetCore.Http; using StudentExercisesAPI.Models; ...
f768ab9d724d4cbd7435315adbb760827b63875e
C#
SrDoge/ListaExerc-1
/Exerc7/Program.cs
3.96875
4
using System; using System.Globalization; namespace Exerc7 { class Program { static void Main(string[] args) { //Faça um algoritmo para calcular o percentual de desconto que foi dado em um determinado produto sendo que o usuário deverá informar o valor sem desconto e depois o valo...
79299d855888a749e3c6e7821825bf4046ac5412
C#
wis-niowy/V-sem---Computer-Graphics---project2
/V sem - GK - projekt2/Quickhull.cs
2.953125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace V_sem___GK___projekt2 { public static class Quickhull { public static Polygon CreateConvexPolygon(int xMin, int xMax, int yMin, int yMax) { Polygon returnPo...
f995ce8cc64120e76e952162645b3cf8ee052bde
C#
Nichsiciul/The-True-Globals
/Helper/Util/Waiter.cs
3.375
3
using UiHelper.Logging; using System; using System.Configuration; namespace Util { public abstract class Waiter { public long MillisecondsToPause { get; set; } public long SecondsToWait { get; set; } /// public Waiter(int secondsToWait, long millisecondsToPause) { ...
91990fa67b62413e40a77fdd688d834c13784b93
C#
jpsietsma/AquatiLife_Inventory
/WFP_AquatiLife_Inventory_UI/ViewModels/UserPurchaseViewModel.cs
2.609375
3
using AquatiLife_Inventory_DataAccess.Authentication; using AquatiLife_Inventory_DataAccess.DatabaseContext; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WFP_AquatiLife_I...
6199099ecdfb11a28934ac79b86bc03d12535bdd
C#
theflamio/KursusAdvanceCSharp
/Opgaver_Samlinger_fibonacci/Program.cs
3.8125
4
using System; using System.Collections.Generic; using System.Diagnostics; namespace Opgaver_Samlinger_fibonacci { class Program { static void Main(string[] args) { Stopwatch sw1 = new Stopwatch(); Stopwatch sw2 = new Stopwatch(); sw1.Start(); ...
93ccef05d62c07fdc305157e623ddad071d2a8f2
C#
TaylorLi/WorkStudioEnhance
/CommonObjects/CommonLibrary/WebObject/SimultaneousLogin.cs
2.671875
3
/* * ¼ * * ż * ʱ䣺201195 * * ޸ģ[] * ʱ䣺[ʱ] * ˵[˵] * */ using System; using System.Collections.Generic; using System.Text; using System.Collections; namespace CommonLibrary.WebObject { public class SimultaneousLogin { /// <summary> /// ...
eb981d6ab0d716f7479d1ca2eccbfd70e67ba57d
C#
leon7713/WarehouseProject
/BusinessLogic/DataValue/YValue.cs
3.015625
3
using BusinessLogic.DataStructures; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BusinessLogic.DataValue { internal class YValue : IComparable<YValue> { //data members internal double _y; private static int _maxCo...
211be7cca4d7fbc7f33f4938a8c86c6d58b3cf0c
C#
kmclarnon/FactorioModBuilder
/FactorioModBuilder/Extensions/CollectionMethods.cs
3.265625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FactorioModBuilder.Extensions { public static class CollectionMethods { public static List<T> ListWrap<T>(this T item) { return new List<T>() { item }; ...
e48e6f69e234602f55e5da82adcce1754fd8cb1e
C#
HotkeyM/UnityRL
/Assets/Scripts/DialogScript.cs
2.578125
3
using UnityEngine; using UnityEngine.UI; using System; using System.Collections; using System.Collections.Generic; [Serializable] public class Phrase { //public Phrase(){} public string text = "Test test test test"; public Sprite image1 = null; public Sprite image2 = null; public bool jumping = true; } public ...
8d5f2db28bb1db0e51f814d736ceab65837afb3e
C#
mode51/Tungsten
/Src/Tungsten.Threading/Thread.cs
3.21875
3
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace W.Threading { /// <summary> /// Functionality related to multi-threading /// </summary> public class Thread //static methods { /// <summary> /// Blocks...
036fd3b06d33787a591b6bc3e777c43c5dceccfa
C#
BigGoose200/Enemy-Drop
/Assets/Scripts/PlayerMovement.cs
2.765625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { public float speed; // how fast the player goes private float horizontal; // controls horizontal axis public float jumpForce; // how high the player jumps public bool grounded =...
a70d6ebd8db4845a3b91cf6840fcf8d61455a571
C#
Qowaiv/qowaiv-validation
/src/Qowaiv.Validation.TestTools/FluentAssertions/ResultAssertionsBase.cs
2.859375
3
namespace FluentAssertions.Qowaiv.Validation; /// <summary>Contains a number of methods to assert the (in)validness of a <see cref="Result"/>.</summary> public abstract class ResultAssertionsBase<TSubject> where TSubject : Result { /// <summary>Initializes a new instance of the <see cref="ResultAssertionsBase...
3af89183df10a533ea8b55a111967327bc7e4ec8
C#
nareshzenar/Assignment25jan2021
/Assignment25jan2021/MemoryStreamClass.cs
3.578125
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; /* * The MemoryStream class creates streams that have memory as a backing store instead of a disk or a network connection. * MemoryStream encapsulates data stored as an unsigned byte a...
3adcb53f22f26755bafa1991abafc0ce7b71236d
C#
rogerhdz/xamglo
/XamarinPO/XamarinPO/XamarinPO/Helpers/ApplicationPropertiesManager.cs
2.859375
3
using System; using System.Threading.Tasks; using Xamarin.Forms; namespace XamarinPO.Helpers { public static class ApplicationPropertiesManager { public static async Task Save<T>(string key, T value) { Application.Current.Properties[key] = value; await Application.Curre...
2a8721c49b7cdd3dff7bc0632a520eb32dc05113
C#
GrigoryBushuev/Algo
/UnitTests/DataStructures.Tests/Nonlinear/Trees/LLRBTreeTest.cs
3
3
using DataStructures.Nonlinear.Trees; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; namespace DataStructures.Tests.Nonlinear.Trees { [Ignore("Rewrite")] [Category("Left-leaning red–black tree")] [SetUICulture("en-us")] [TestFixture] public class LLRBTree...
9c669b635292aea8b132520c0dea7e81e561ccbf
C#
bubdm/Rule-Engine
/Yea/DataTypes/PriorityQueue.cs
3.328125
3
#region Usings using System.Collections.Generic; using System.Linq; #endregion namespace Yea.DataTypes { /// <summary> /// Helper class that implements a priority queue /// </summary> /// <typeparam name="T">The type of the values placed in the queue</typeparam> public class PriorityQueue<T> ...
04b141aed9549b81ce23a1e9ea02abd134c5e0b7
C#
trungvdhp/trieutapsinhvien
/QuanLySVTinChi/Bussiness/NgayTrieuTapInfo.cs
3.109375
3
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; namespace TrieuTapSinhVien.Bussiness { /// <summary> /// Lớp ngày triệu tập - chứa ngày, tiết bắt đầu, tiết kết thúc, điều kiện (và hoặc tới) /// </summary> public class NgayTrieuTapInfo { ...
df5abf1437014bfd911f1438b273a1a69f1e1793
C#
KorolkoIgor/EpamTasks
/PhoneStation/Billing/Contract.cs
2.953125
3
using PhoneStation; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Billing { public class Contract { private int contractID; public Client client; public IBillingPlan plan; private DateTime lastBillingPlanChange; public ...
8711899ea9e5dbb51d49b41e1ae5451dc64f769e
C#
Apriorhythm/scut_ee
/PG2011/S2011_1.0/S2011_1.0/RootMainForm.cs
2.546875
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace S2011_1._0 { public partial class RootMainForm : Form { DB db; String sql; DataTable table; ...
b275a1268c82c7b7718881a3f38f29c7a5b231ca
C#
DeltaEngine/DeltaEngine.MonoGame
/Input/MouseButtonTrigger.cs
2.734375
3
using System; using DeltaEngine.Commands; using DeltaEngine.Datatypes; using DeltaEngine.Extensions; using DeltaEngine.ScreenSpaces; namespace DeltaEngine.Input { /// <summary> /// Allows mouse button presses to be tracked. /// </summary> public class MouseButtonTrigger : InputTrigger, PositionTrigger,...
c24b80201774f738f994e3e56aeda7e5c6604341
C#
abhinav13/python-learn
/Calculator_NUnit/Calculator/Calculator.cs
3.6875
4
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace CalculatingDevices { public class Calculator { public int Value { get; private set; } public int Add(int a, int b) { return...
afa4f3e337f4c40adcc94268d4a18814649d81e2
C#
dukemiller/anime-downloader
/anime-downloader/Classes/VersionManager.cs
2.78125
3
using System; using System.Threading.Tasks; using System.Timers; using anime_downloader.Repositories.Interface; using anime_downloader.Services.Interfaces; using GalaSoft.MvvmLight.Ioc; namespace anime_downloader.Classes { public static class VersionManager { private static DateTime _updateCheckDelay ...
ea50496327e775c222a0aa7bec364748b73e81ea
C#
TyomaZZ/Labs
/Labs/FormLab11.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 MyLib; namespace Labs {//tyomashi//ЧертНогуСломить public partial class FormLab11 : Form, Inte...
eecd4c7598e33f4b032de08ba42f93c96546c744
C#
TTCErembodegem/TTC-React-Back
/src/Ttc.WebApi/Controllers/ClubsController.cs
2.59375
3
using System.Collections.Generic; using System.Threading.Tasks; using System.Web.Http; using Ttc.DataAccess.Services; using Ttc.Model.Clubs; using Ttc.WebApi.Utilities; namespace Ttc.WebApi.Controllers { [RoutePrefix("api/clubs")] public class ClubsController : BaseController { #region Constructor...
db893dd868a169a61036997bdd8fa2affc19071e
C#
ejoebstl/sGrid
/sGridServer/Controllers/IdProviderController.cs
2.515625
3
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using sGridServer.Code.DataAccessLayer.Models; using sGridServer.Code.Security; using sGridServer.Code.Utilities; using System.Net; namespace sGridServer.Controllers { /// <summary> /// The ...
809afe8c9e9d9a775b742e6b6a2f30b1528f98ff
C#
NikolayKolibarov/C-Sharp-Programming-Basics
/Console-Input-Output-Homework/08.NumbersFromOnetoN/NumbersFromOneToN.cs
3.390625
3
using System; class NumbersFromOneToN { static void Main() { int number; Console.WriteLine("Enter integer: "); while (!int.TryParse(Console.ReadLine(), out number)) { Console.WriteLine("The number must be an integer: "); } Console.WriteLine(""); ...