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 |
|---|---|---|---|---|---|---|
d16cc5e3a7e49cd5cb965bde321e919782f6458e | C# | skAeglund/Chessders | /Assets/Scripts/Game/Systems/MoveGenerator.cs | 2.6875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveGenerator : MonoBehaviour
{
public static string GetStockfishMove(string FENstring, int difficulty = 1)
{
var process = new System.Diagnostics.Process();
//p.StartInfo.FileName = "C:\\Users\\AndersHg... |
397829a6638d88d3ff95392e244f1d071ac1b402 | C# | yeffry056/PreoyectoFinal_Aplicada1_Eladio_Mario | /ProyectoFinalAplicada1/BLL/CategoriasBLL.cs | 2.78125 | 3 | using Microsoft.EntityFrameworkCore;
using ProyectoFinalAplicada1.DAL;
using ProyectoFinalAplicada1.Entidades;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace ProyectoFinalAplicada1.BLL
{
public class CategoriasBLL
{
//Meto... |
6553b867e7db94e92cb203b2df604b7011ff1640 | C# | VesiBaleva/MilhouseProject | /Inventory management/Inventory.UI/Menu.cs | 2.609375 | 3 | using System.Collections.Generic;
using System;
public class Menu
{
public List<MenuItem> MenuItems { get; set; }
public string Title { get; set; }
public Menu(string title)
{
this.Title = title;
this.MenuItems = new List<MenuItem>();
}
public Menu(string title, List<MenuItem... |
6c5cfa814c6da1c41cd45af8291a182da549005f | C# | maoxx241/bike | /bike/Login.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SQLite;
namespace bike
{
public partial class Login : Form
{
public Lo... |
3d01d96741f7586246ee344e4a322619afa3df6c | C# | deefault/LabApp | /Shared/Dto/UserRegisterDto.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace LabApp.Shared.Dto
{
public abstract class UserRegisterDto
{
[EmailAddress]
[Required]
public string Email { get; set; }
[Required]
public short Pho... |
6abc6b57745931f23df528afb12d751fa9878832 | C# | nicoletaraiu/JuniorMind | /Anagrams/Anagrams/AnagramsTests.cs | 3.453125 | 3 | /*Anagrame
Pentru un cuvânt dat calculează numărul de anagramări posibile. Nu trebuie ca
cuvintele rezultate să existe în dicționar. Anagramările nu trebuie să se repete
și nu trebuie generate anagramările, doar să se calculeze numărul lor.*/
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sy... |
73805436a3e9ea997b6933c8f738e08bca31c607 | C# | desla/SlabGeometryControl | /Круглые слитки/SlabGeometryControl/SensorConfiguration/ISensorConfigurationListener.cs | 2.703125 | 3 | namespace Alvasoft.SensorConfiguration
{
/// <summary>
/// Подписчик на изменение конфигурации датчиков.
/// </summary>
public interface ISensorConfigurationListener
{
/// <summary>
/// Возникает при добавлении датчика.
/// </summary>
/// <param name="aConfiguration"... |
cb970c07ea23437af4365814a21000df255283ff | C# | thomasemmerson/CSharp-BrightHR-CodeKatas | /SweetAssKata/SweetAssKataTests.cs | 3.15625 | 3 | using System;
using NUnit.Framework;
namespace SweetAssKata
{
[TestFixture]
public class SweetAssKataTests
{
private const string Word = "ass";
private readonly string[] _adjectives = { "sweet", "nice", "cool" };
private readonly string[] _nouns = { "car", "bike", "train"... |
37747cf1041c4f0e53ae30c7eb0e045cd86893d8 | C# | niteshrai02/C-Sample | /StaticSample/Program.cs | 3.328125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Console;
namespace StaticSample
{
class Program
{
static void Main(string[] args)
{
string s = "hello";
var val = s.ConvertString(s);
... |
11d15605ef55e882bfd056b21c4aea19ae8fadad | C# | Umut93/BoldQuiz | /BoldQuizMVC/BoldQuizMVC/Controllers/QuizController.cs | 2.59375 | 3 | using BLL;
using BoldQuizMVC.Models;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
namespace BoldQuizMVC.Controllers
{
public class QuizController : Controller
{
private UserLogic UserLogic... |
5e9b8a2f63c28c9f16b4b402edb8bb6adb6b3169 | C# | wolfghost9898/cql-teacher-server | /chat-teacher-server/CQL/Componentes/Collections/Clear.cs | 2.8125 | 3 | using cql_teacher_server.CQL.Arbol;
using cql_teacher_server.Herramientas;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace cql_teacher_server.CQL.Componentes
{
public class Clear : InstruccionCQL
{
Expresion id { set; get; }
int l { se... |
026c89a23159f9b98f16470dd57e3d2d55540f76 | C# | TheFree-Man/Object-Orientated-Development | /Final Exam May 2021/UnitTestGameApplication/UnitTest1.cs | 2.5625 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using GameApplication;
namespace UnitTestGameApplication
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestPriceDecrease()
{
Game g1 = new Game("Minecraft", 88, "Test Description", "PC",... |
933b4e7575c77f97195ef192fd957831733192ef | C# | VictorHugoAguilar/webApiClubDeport | /webApiClubDeport/Object/Result.cs | 2.765625 | 3 | using Newtonsoft.Json;
using System;
namespace webApiClubDeport.Object
{
public class Result
{
private int Code { get; set; }
private Boolean Resultado { get; set; }
private String Message { get; set; }
public Result(int code, Boolean result, string message)
{... |
ce8dba7ae8391f750176a66992e0a9fe695dd08c | C# | newcat/LedMusic2 | /LedMusic2/Nodes/DotNode.cs | 2.578125 | 3 | using LedMusic2.Attributes;
using LedMusic2.Enums;
using LedMusic2.Models;
using LedMusic2.ViewModels;
using System;
using System.Windows;
namespace LedMusic2.Nodes
{
[Node("Dot", NodeCategory.GENERATOR)]
public class DotNode : NodeBase
{
public DotNode(Point initPosition) : base(initPosition)
... |
488cdecd18020b69107a2e74bf82d4a9956ec1f5 | C# | SudokuMonster/Sudoku | /old/Sudoku.Core.Old/Checking/PuzzleAttributeChecker.cs | 2.75 | 3 | using Sudoku.Data.Meta;
using Sudoku.Solving;
using Sudoku.Solving.Bf.Dlx;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
using System.Linq;
namespace Sudoku.Checking
{
public static class PuzzleAttributeChecker
{
public static bool IsUnique(this Grid ... |
7e6f072a8d47a1c7d972ea23a1f1772189a85b98 | C# | srl295/NCLDR | /NCldr/Types/Calendar.cs | 3.15625 | 3 | namespace NCldr.Types
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
/// <summary>
/// Calendar is a CLDR calendar
/// </summary>
/// <remarks>CLDR reference: http://www.unicode.org/reports/tr35/#Calendar_Elements </remarks>
[Serial... |
a60128b278dd3eb7e34473efbe11b4560bb7c93e | C# | hdwangTW/01_NewbieVillage | /src/LanguageBasics/18_Disposable.cs | 2.953125 | 3 | using System.Text;
using LanguageBasics.Common;
using Xunit;
namespace LanguageBasics
{
// ReSharper disable UnusedVariable
public class Disposable
{
[Fact]
public void should_call_dispose_anyway_using_try_finally()
{
var tracer = new StringBuilder();
... |
e13032406e1787e8a600f666c1e4f4401df51354 | C# | Flavian/SemiCNTK | /SemiCNTK-1-Csaba/SzabolcsLecke1/ViewModel.cs | 2.734375 | 3 | using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Windows.Input;
using SzabolcsLecke1.Models;
namespace SzabolcsLecke1
{
public class ViewModel : NotifyBase
{
const string SourceFolder = "SourceFiles";
#region Declaration
#region Measurements
... |
3cb8b6f505a23927ac913fd20565318b5123a299 | C# | yuriity/VSCThemesStore | /api/Domain/Repositories/ThemeRepository.cs | 2.640625 | 3 | using System.Threading.Tasks;
using VSCThemesStore.WebApi.Domain.Models;
using MongoDB.Driver;
namespace VSCThemesStore.WebApi.Domain.Repositories
{
public interface IThemeRepository
{
Task<VSCodeTheme> GetTheme(string id);
Task Create(VSCodeTheme theme);
Task<bool> Update(VSCodeTheme t... |
171fdb926b1962b0e329c7c4dd7824afb3ed2a5b | C# | 1tsTheLuffy/Project-1-a-game-R | /Project 1(A Game)/Assets/Scripts/EnemyScripts/Insect.cs | 2.640625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Insect : MonoBehaviour
{
private int randomInt;
[SerializeField] float speed;
[SerializeField] float timer;
[SerializeField] float timeBtwNextMove;
[SerializeField] Transform[] movepoints;
private voi... |
0594656ad3153f9f9fd71172360b5ee5635e81c3 | C# | sebastienalvarez/VisibilitePlanetes | /VisibilitePlanetes/VisibilitePlanetes/VisibilitePlanetes/MoonAndPlanetInfoPage.xaml.cs | 2.65625 | 3 | /****************************************************************************************************************************************
*
* Classe MoonAndPlanetInfoPage
* Auteur : S. ALVAREZ
* Date : 28-07-2019
* Statut : Release
* Version : 1
* Revisions : NA
*
* Objet : Classe permettant de représenter ... |
df1c0e9b555b5ee8ae74f1a9235468a5edbf8887 | C# | nnaabbcc/exercise | /windows/pw6e.official/CSharp/Chapter17/PrintMonthlyPlanner/PrintMonthlyPlanner/MonthYearSelect.xaml.cs | 2.90625 | 3 | using System;
using Windows.Globalization;
using Windows.Globalization.DateTimeFormatting;
using Windows.UI.Xaml.Controls;
namespace PrintMonthlyPlanner
{
public sealed partial class MonthYearSelect : UserControl
{
public event EventHandler MonthYearChanged;
public MonthYearSelect(... |
ed17307198c97e51f78864b630c61a7af4fa8713 | C# | CountrySideEngineer/Ev3ConsoleDeepLearning | /dev/Ev3ConsoleDeepLearning/Model/ConnectState.cs | 2.84375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//using System.Windows.Media.Imaging;
namespace Ev3Controller.Model
{
public enum ConnectionState
{
/// <summary>
/// Device is disconnected.
/// </summary>
... |
0e9151ced46bc2ba3105d7017a2f83b4a9ffdb8e | C# | scott-vincent/CSharp-Rules-Engine | /RulesEngine/Models/Condition.cs | 2.9375 | 3 | namespace RulesEngine.Models
{
public class Condition
{
public enum Oper
{
And,
Or,
NotDefined,
IsDefined,
Equal,
NotEqual,
LessThan,
GreaterThan,
LessThanOrEqual,
GreaterThan... |
5c673495ea8664d48010c4dc445190228631ac54 | C# | Akmoore7/Knightmare_OLD | /Assets/Scripts/Player/PlayerHealth.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerHealth : MonoBehaviour
{
private float health;
private bool alive;
public float invulCD = 0.2f;
public float invulTimer = 0.0f;
// Start is called before the first frame update
void Start()
{
... |
e8a1d127cf205b59e3ac6bf38f2b95bf58a35776 | C# | mrlvr/robocup-2014 | /MRLUtilities/Commons/Tree/GNode.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MRL.Commons.Tree
{
public class GNode<T> : ICloneable
{
#region Public Variables
public T Data;
public List<GNode<T>> Childs { set; get; }
public GNode<T> Parent { set; get; }
... |
0e3e4f4203269cd60f27325e7bb6994209d5eb83 | C# | BunkerSoft/BunkerSoft | /BunkerSoftServidor/Models/ApplicationRepository.cs | 2.578125 | 3 | using BunkerSoftServidor.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
public abstract class ApplicationRepository<T> : IApplicationRepository<T> where T : class, IEntity
{
pri... |
33f841200a4a8e4bf35c9d5cc1b422b2c3bf723d | C# | joshjcarrier/OpenAnt.NET | /OpenAnt.NET/OpenAnt/Services/EntityFactory.cs | 2.921875 | 3 | namespace OpenAnt.Services
{
using Data;
using Entity;
using Entity.Sprite;
using Entity.Terrain;
/// <summary>
/// Generates game entities from world tiles.
/// </summary>
public class EntityFactory
{
/// <summary>
/// The content provider.
//... |
74ed6c232202c32ff77082c746d902a82ed6d2b2 | C# | GoryMoon/Bannerlord-Twitch | /BannerlordTwitch/BannerlordTwitch/Util/FileSystem.cs | 2.5625 | 3 | #if e159
using System.IO;
using Path = System.IO.Path;
#endif
using System.Linq;
using TaleWorlds.Engine;
using TaleWorlds.Library;
namespace BannerlordTwitch.Util
{
#if e159
public struct PlatformDirectoryPath
{
public PlatformDirectoryPath(string path)
{
Path = path;
}
... |
0117f89d96b8d18bb78618a223e1d6a238de4020 | C# | zurachan/ACAG | /ACAG.Abacus.CalendarConnector.Exchange/EWSHelper.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ACAG.Abacus.CalendarConnector.Models.Abacus.V1_0;
using Newtonsoft.Json;
namespace ACAG.Abacus.CalendarConnector.Exchange
{
public static class EWSHelper
{
private static string ToHexStrin... |
3ce0d2334d2431b34f370cbbd3e57c7656e33cac | C# | khughes0123/GoldBadgeConsoleChallenges | /KomodoCafeRepo/MenuItem_Repo.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KomodoCafeRepo
{
public class MenuItem_Repo
{
private readonly List<MenuItem> _directory = new List<MenuItem>();
public bool AddMenuItemtoDirectory(MenuItem item)
... |
ab3777d59968a62f9be0da2b608c8b7d2ac60c92 | C# | joel-chen/EmrWorkflow | /EmrWorkflow/Run/Activities/StartJobActivity.cs | 2.515625 | 3 | using Amazon.ElasticMapReduce;
using Amazon.ElasticMapReduce.Model;
using EmrWorkflow.Model;
using EmrWorkflow.RequestBuilders;
using System.Threading.Tasks;
using System.Xml;
namespace EmrWorkflow.Run.Activities
{
/// <summary>
/// A strategy to start a new cluster to run an EMR Job
/// </summary>
pu... |
213fee6c6557ebf21bae6b18884203fb4e357184 | C# | yu-zyu/Design_Pattern_of_Unity | /Assets/13_Visitor/exercises/Entry.cs | 2.625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace VisitorPattern_exercises
{
public abstract class Entry : Element
{
public abstract string getName();
public abstract int getSize();
public Entry Add(Entry entry)
{
... |
045634b9696ca7e35f2a9521285c95142ab0a8e6 | C# | danieltadresu/ferme-app | /ferme-api/utils/templates/Bill.cs | 2.96875 | 3 | using System;
using System.Text;
using Models;
using System.Collections.Generic;
namespace utils.templates
{
public static class Bill
{
public static string GetHTMLString(
Order order
) {
List<Models.CartItem> cartItems = Connection.CartItemConnection.GetEntitiesByOrderId(order.Id);
forea... |
bfff42f83d079436425d02ce4070a5ffb008b227 | C# | ZhenDeng/ProductOrderSystem | /Trojantrading/Repositories/Generic/GenericRepositoryV2.cs | 2.703125 | 3 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Trojantrading.Repositories.Generic
{
public class GenericRepositoryV2<TEntity> : ReadOnlyRelationshipRepositoryV2<TEntit... |
fb0a4992f7f58c35adab31663b48d77df4d9810a | C# | aonuryilmaz/BasketApi | /Basket.Core/Domain/Models/BasketItem.cs | 2.703125 | 3 | using System;
namespace Basket.Core.Domain.Models
{
public class BasketItem
{
public string Sku { get; set; }
public string Name { get; set; }
public int Quantity { get; set; }
public int UnitPrice { get; set; }
public static BasketItem FromProduct(Product product,int q... |
138e99eb867fa3e6724f396be8b8a78eec20761d | C# | ABErlich/CoreAngular7Template | /Organigrama.Repositories/BaseRepository.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Microsoft.EntityFrameworkCore.Storage;
using Organigrama.Interfaces.Repositories;... |
b2657769ee604bcf49ac0dc5b347a75f2b2fc4f0 | C# | rattarius/BLOODYFANTASTICPLATFORMER | /Player.cs | 2.625 | 3 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections;
namespace AwesomePlatformer
{
/// <summary>
/// This is the main type for your game.
/// </summary>
class Play... |
ec22842e0ac92615f3392028d16a89339b6831ed | C# | Refocosta/Refosus | /Refosus.Web/Helpers/FileHelper.cs | 2.625 | 3 | using Microsoft.AspNetCore.Http;
using System;
using System.IO;
using System.Threading.Tasks;
namespace Refosus.Web.Helpers
{
public class FileHelper : IFileHelper
{
public async Task<string> UploadFileAsync(IFormFile File, string folder)
{
string guid = Guid.NewGuid().ToString();
... |
84460899e8e9679606c580dc225f6a04802a6874 | C# | KristaRutz/Scrabble-scorer-ConsoleApp | /ScrabbleScore/Program.cs | 3.46875 | 3 | using System;
using ScrabbleScore.Models;
namespace ScrabbleScore
{
public class Program
{
public static void Main()
{
Console.WriteLine("Enter your word to calculate it's Scrabble score.");
string userInput = Console.ReadLine();
try
{
int score = ScrabbleScorer.Score(userIn... |
ae3c74817c3af59ac73a3b7c4e6878df3345e5c5 | C# | tuboring/tuboring | /WindowsFormsApp1/Tickets.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace WindowsFormsApp1
{
public partial class Tickets : Form
{
... |
caa207cfcdca7b007abdbbdfbc16899dd0e72311 | C# | technos12/AdventOfCode_2020 | /Day5/Data.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Day5
{
public static class Data
{
public static List<string> GetInputs()
{
return new List<string> {
"FFBBFFFLRL",
"FFBBFBBRRL",
"FBBBFFBLRL",
"BBFBFFBLRR",
"BFBBBFFLLL",
"BFBBBBBLLR",
"FBF... |
b442bf7f0f6c9333e95d8b7fe5b3adff412d3c42 | C# | JTRaffield/C-apps | /MilitaryUnit/MilitaryUnit/Juniors.cs | 2.9375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MilitaryUnit
{
class Juniors: PersonnelClass
{
//updates the Position based on the object instance
public override void Position()
{
Console.Write... |
589b1ffa522b222616f20292b386b717a88a381c | C# | manosh7n/gibdd | /gibdd/gibdd/assets/Validator.cs | 3.15625 | 3 | using System;
using System.Text.RegularExpressions;
namespace gibdd
{
public static class Validator
{
public static bool nameValidator(string name)
{
try
{
return Regex.IsMatch(name, @"^[а-я]+(?:\W[а-я]+)+$", RegexOptions.IgnoreCase);
}
... |
ea8247726fc35209fa1d11994e7720483b7b3d33 | C# | JoshWAMiasco/Jcon_Contact_Tracing | /LTXJconLibrary/SystemBoard.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
/*
* Title: System Board
* Putpose: to Find SystemBoard name by providing jcon path information
* Version: 1
* Author: Joshua Miasco
* Date Start:
* Date End: 11/24/2020
*/
namespace LTXJconLibrary
{
public class SystemBoard :... |
5420e635cf24b598b86de078d69183a5a4fe3655 | C# | Kakaranish/OwnFluentValidation | /CustomValidation/PropertyValidators/SyncPropertyValidator.cs | 2.625 | 3 | using CustomValidation.Rules;
using CustomValidation.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace CustomValidation.PropertyValidators
{
public class SyncPropertyValidator<TObject, TProperty> : PropertyValidatorBase, ISyncPropertyValidator
{
... |
81e71a364a7be99bead0440531453f9b2e318c93 | C# | azizsagi/Radio-Frequency-Identity-Reader-RFID-in-C-Sharp | /mainrfid/XmlParser/XmlParser_Alarm.cs | 2.703125 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.Xml;
using System.IO;
using Siemens.Simatic.RfReader;
namespace Siemens.Simatic.RfReader.ReaderApi.XmlBinding
{
/// <summary>
/// This class parses the replys got from... |
dbb0624aa80f0f649828214aefae1d993191b394 | C# | Hengle/sbox-extraction | /code/Hero/HeroCollection.cs | 2.5625 | 3 | using System.Collections.Generic;
using System.IO;
using Sandbox;
namespace Extraction.Hero
{
/// <summary>
/// This is just a container for all hero data stuff
/// </summary>
public class HeroCollection
{
public static Dictionary<string, HeroData> HeroDatas = new ();
/// <summary>
/// Loads all hero data... |
5370c8e1e77aafe0c1dddfc15dcafbbb24507fd5 | C# | alinemokfa/e16_class_notes | /week_10/c_sharp_course/week_1/day_3/polymorphism/end_code/Library.cs | 3.296875 | 3 | using System.Collections.Generic;
namespace Library {
class Library {
private string name;
private int capacity;
private List<ICanBorrow> items;
public string Name
{
get { return this.name; }
set { this.name = value; }
}
public int Capacity
{
get { return this.... |
0dbdda4312be395a94999f2a03ddc5d77bbfa980 | C# | patrinhani-ciandt/BohriumNET | /test/Bohrium.Core.Test/Extensions/ByteArrayExtensionMethodsTestFixture.cs | 2.828125 | 3 | using Bohrium.Core.Extensions;
using Bohrium.Core.Test.TestHelpers;
using NUnit.Framework;
namespace Bohrium.Core.Test.Extensions
{
[TestFixture]
public class ByteArrayExtensionMethodsTestFixture : TestFixtureBase
{
/* Test is covering the methods bellow:
* T ToObject<T>(this byte[] value... |
004a93c05a74e388ed27f47fa9c9d27a95c1531b | C# | kuboj86/Lab10Alt | /Lab10Alt/Car.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;
namespace Lab10Alt
{
class Car
{
public Car()
{
this.Make = "Fiat";
this.Model = "500e";
this.Year = ... |
f4bee908b5f2594c377c8cd28a12af84c7ad6290 | C# | ruinosus/empresafarias | /EmpresaFarias/Repositorio/implementacoes/RepositorioPlano.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Repositorio.interfaces;
using ClassesBasicas;
using System.Data.SqlClient;
using Excecoes;
namespace Repositorio.implementacoes
{
/// <summary>
/// Classe responsavel por implementar a IRepositorioPlano.
... |
e6b7cab56f036dbf424afa6b4ae073809ef251fd | C# | juanUrdaneta/DesignPatternsPractice | /DIContainerDemo/ClassB.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace DIContainerDemo
{
public class ClassB : IB
{
private IA _classA;
public ClassB(IA classA)
{
_classA = classA;
}
public void doB()
{
_classA.doA();
... |
e31c56e49ede2b174a6aba806744842f4ef968a3 | C# | wangzq/resharper-template-compiler | /src/resharper-template-compiler/SettingsSerialisation.cs | 2.640625 | 3 | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Markup;
using System.Xml;
namespace CitizenMatt.ReSharper.TemplateCompiler
{
public class SettingsSerialisation
{
private readonly IDictionary<string, object> dictionary;
public Set... |
7071321ade05dfbd4037871f2bd62b1f5c209d5e | C# | ynatt/JPEGAlgorithm | /JPEGAlgorithm/vilenklin/ExpansionBase.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JPEGAlgorithm {
class ExpansionBase {
private List<int> p;
private List<int> m;
public ExpansionBase(List<int> p) {
this.p = p;
m = BuildM(p);
}
private List<int> BuildM(Li... |
869d5dcd1fe91d4c263151f679ed3ec7c95fe5df | C# | ezavgorodniy/problemSolving | /src/LeetCode/227_BasciCalculator/227_BasciCalculator/Program.cs | 3.828125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _227_BasciCalculator
{
public class Solution
{
private abstract class PolishNotationToken
{
}
private class PolishNotationTokenOperator : PolishNotati... |
0cabaa49715e4cf61f6f85c6b090cdcd346ae52f | C# | mogatti/hazelcast-csharp-client | /Hazelcast.Examples/Map/MapJsonExample.cs | 2.609375 | 3 | // Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
//
// 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... |
5371ee99b7fc54dc54dad61fd0f8ec9a4c615544 | C# | rockfordlhotka/mcmreporting | /mcmmodels/Dal/Schools.cs | 2.890625 | 3 | using System.Collections.Generic;
using Dapper;
using System.Linq;
namespace mcmmodels.Dal
{
public class Schools
{
public List<SchoolDal> Get()
{
using (var conn = Database.GetConnection())
{
var result = conn.Query<SchoolDal>("select id, school_name AS name from Schools;").AsList();
... |
ad13047ae2f02c1c0f72a9d4c670a47d8e7ca776 | C# | zapoutix/DBreeze | /Deployment/XamarinStore/v1/samples/android/DBreeze.Android/AndroidTest/MainActivity.cs | 2.59375 | 3 | using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using DBreeze;
namespace AndroidTest
{
[Activity(Label = "AndroidTest", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
... |
bcd68ccc60d142fc7a157c873e4b143aa154b9b8 | C# | HatiGamedev/GGJ2016 | /Assets/Prefabs/Finished/Font/Font.cs | 2.5625 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Font : MonoBehaviour {
public List<GameObject> ObjectFont;
public string Text;
public string Target;
public const float LetterDistance = 0.8f;
public List<GameObject> GetObjs(string s)
{
s = s... |
e4eb09553d4f5a44b280e200907858ac6146738f | C# | Nadeem-edu/OPTICS | /OM EYE CARE/DAL/usersDAL.cs | 2.890625 | 3 | using OM_EYE_CARE.BLL;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OM_EYE_CARE.DAL
{
class usersDAL
{
static string ... |
b169911aa4b299cc46b0d522613923d777f1e0a0 | C# | leon-mil/DesignPatternFramework_4.5 | /DoFactory.GangOfFour.Memento.NETOptimized/MainApp.cs | 3.359375 | 3 | using System;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Soap;
namespace DoFactory.GangOfFour.Memento.NETOptimized
{
/// <summary>
/// MainApp startup class for .NET optimized
/// Memento Design Pattern.
/// </summary>
class MainAp... |
fe4281c806d9aec9c22b242eb6949789ff885159 | C# | JOLLY-USS/calculatorivt164 | /calculator/calculator.Tests/TwoArg/MaxTest.cs | 2.703125 | 3 | using calculator.TwoArg;
using NUnit.Framework;
namespace calculator.Tests.TwoArg
{
[TestFixture]
class MaxTest
{
[TestCase(2, 3, 3)]
[TestCase(3, 2, 3)]
[TestCase(6, 2, 6)]
public void MinTest(double firstValue, double secondValue, double expected)
{
v... |
660bcd10ec246261b2aadf7ad5282d78e3d67a6a | C# | papnkukn/wmf | /library/WmfReader.cs | 2.921875 | 3 | using System;
using System.IO;
using Oxage.Wmf.Records;
namespace Oxage.Wmf
{
/// <summary>
/// Low-level WMF parser
/// </summary>
public class WmfReader : IDisposable
{
private Stream stream;
private BinaryReader reader;
public WmfReader(Stream stream)
{
this.stream = stream;
th... |
ce69ffc18db7a08d2909a7c13febaa3fdf501ec0 | C# | AdelaToderici/Algorithms | /SearchRotatedArray/LevelOrderTraversal.cs | 3.65625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SearchRotatedArray
{
class LevelOrderTraversal
{
public static List<Tuple<int, int>> Iterate(TreeNode root)
{
Queue<TreeNode> q = new Queue<TreeNode>();
... |
06e185f5aca1dfdefd3caf87d1687d047a66e4c8 | C# | Infarh/MathCore.WPF | /MathCore.WPF/ObservableCollectionSyncWrapper.cs | 2.5625 | 3 | using System.Collections;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Windows.Threading;
namespace MathCore.WPF;
/// <summary>Потокобезопасная обёртка для <see cref="T:System.Collection.ObjectModel.ObservableCollection[T]"/></summary>
/// <typ... |
5ab0d5c74d61aea5c8eae5f308d9ebd369cb0550 | C# | shendongnian/download4 | /first_version_download2/338239-28554024-83931532-2.cs | 2.6875 | 3 | private async void Button_Click(object sender, RoutedEventArgs e)
{
TextBoxOutput.Text = "calculating...";
var result = await Task.Run(Calculate);
TextBoxOutput.Text = result.ToString(CultureInfo.InvariantCulture);
}
private int Calculate()
{
Thread.Sleep(2000); //--si... |
1a888d3292f764f31e27f50bf4ddb53854d80bd3 | C# | thodoriskonstantoulias/Csharp_OOP_Course | /CsharpOOP_Course/CsharpOOP_Course/Advanced/DictionaryGeneric.cs | 4.03125 | 4 | using System;
using System.Collections.Generic;
using System.Text;
namespace CsharpOOP_Course.Advanced
{
public class DictionaryGeneric
{
public static void PlayingWithDictionaries()
{
Dictionary<string, string> dict = new Dictionary<string, string>();
Console.WriteLin... |
0a23497ed67335d9712299c1bc048eb60f7ff51b | C# | ViktorMamyan/examples | /C#/LINQ/Aggregate Functions/1/Program.cs | 3.5 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LINQ
{
class Program
{
static void Main(string[] args)
{
IList<int> numbers = new List<int> { 1,2,3,10,100,-250,-500,5000};
Console.WriteLine("... |
1bbac3d7f72596e71976c635afa9aa2cb0fcd789 | C# | TomoyukiYajima/TrapScissors_Team | /Assets/Kageyama/Script/Trap.cs | 2.75 | 3 | using UnityEngine;
using System.Collections;
public class Trap : MonoBehaviour
{
public enum TrapState
{
WAIT, //動物が掛かるのを待っている状態
CAPTURE, //動物を捕まえている状態
}
public TrapState _state;
#region 鋏むときに必要な変数
//鋏むんでいるオブジェクトを入れる
[SerializeField]
private GameObject _targe... |
50079ed5c37ac64f33cbab7b972b0fab6a1e2d53 | C# | iamceren/YourLibraryProject | /YourLibrary/Controllers/LibrariesController.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using YourLibrary.Models;
namespace YourLibrary.Controllers
{
public class LibrariesController : Controller
{
priva... |
8047fa552c18631689b2684e96c5a9bd5ed23065 | C# | VRinaldi/Mapa-de-matriz | /MatrizExercicio/Program.cs | 3.796875 | 4 | using System;
namespace MatrizExercicio
{
class Program
{
static void Main(string[] args)
{
Console.Write("Digite o número de Colunas: ");
int M = int.Parse(Console.ReadLine());
Console.Write("Digite um número de Linhas: ");
int N = int.Parse(Con... |
aafa607306c6f31435af0909d88f48e5c115e8d9 | C# | NtuthukoM/Blackjack21GameLogic | /BlackJack21.Core/Implementation/Player.cs | 3.5625 | 4 | using BlackJack21.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlackJack21.Core.Implementation
{
public class Player : IPlayer
{
public string Name { get; set; }
public int Score { get; set; }
... |
44106a0c1534297dffa380cdb8212d9d2356438b | C# | ricardorinco/CoursesCenter | /src/RR.CoursesCenter.Domain/Validation/Instructors/InstructorIsConsistentValidation.cs | 2.640625 | 3 | using DomainValidation.Validation;
using RR.CoursesCenter.Domain.Models;
using RR.CoursesCenter.Domain.Specification.Instructors;
namespace RR.CoursesCenter.Domain.Validation.Instructors
{
public class InstructorIsConsistentValidation : Validator<Instructor>
{
public InstructorIsConsistentValidation()... |
eed5d7c7e48a9414f37e9f78477959f6e89147a0 | C# | davidkeeton821/ITSE1430 | /Labs/Lab3/DavidKeeton.MovieLib.Windows/MovieDetailForm.cs | 3.015625 | 3 | /*
* David Keeton
* 3/29/2018
* Lab3 ITSE 1430
*/
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.Windows.Forms;
using System.Linq;
namespace DavidKeeton.MovieLib.Windows
{
/// <summar... |
521876c34ec3ad60cb2f1c3578e6b869057279de | C# | Zlobynja/CSharp_Dobrynin | /Asssressbook_web_tests/Asssressbook_web_tests/tests/AddingContactToGroupTests.cs | 2.9375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Addressbook_web_tests
{
public class AddingContactToGroupTests : AuthTestBase
{
[Test]
public void AddingContactToGroupTest()
{
... |
cb35690dc5d5373390a4cf415f12b3c58d731b19 | C# | shendongnian/download4 | /first_version_download2/568373-54192178-189561839-2.cs | 3.28125 | 3 | using System;
using System.Linq;
using MoreLinq;
namespace Test
{
class Program
{
static void Main(string[] args)
{
double[] x = new double[20] { 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1 };
var result... |
aac9b5801ae40e16d95314e71693d92866fb0a01 | C# | markmontymark/patterns | /csharp/src/Creational/Abstract_Factory/TestAbstractFactory.cs | 2.9375 | 3 | //TestAbstractSoupFactory.java - Testing the abstract factory
namespace Creational.Abstract_Factory {
using tap;
using common;
class TestAbstractFactory {
public static Soup MakeSoupOfTheDay(AbstractSoupFactory
concreteSoupFactory)
{
Soup s ;
/*
Calendar toda... |
debced35dddea65fd1e35eb8298bc77c9fa9b4d6 | C# | shendongnian/download4 | /code1/43136-674484-1166942-2.cs | 2.921875 | 3 | static TObject FindVisualParent<TObject>(UIElement child) where TObject : UIElement
{
if (child == null)
{
return null;
}
UIElement parent = VisualTreeHelper.GetParent(child) as UIElement;
while (parent != null)
{
TObject found = parent as TObject;
... |
6d04188d5e052e7d6766d6e58d781f2a46a36701 | C# | AlxxlA/OOPWorkshops | /04. Dependency Inversion/Olympics-Task/OlympicGames/OlympicGames/Olympics/Sprinter.cs | 3.078125 | 3 | using System.Collections.Generic;
using System.Linq;
using System.Text;
using OlympicGames.Olympics.Contracts;
using OlympicGames.Utils;
namespace OlympicGames.Olympics
{
public class Sprinter : Olympian, ISprinter
{
public Sprinter(string firstName, string lastName, string country, IDictionary<string... |
1fcfef0a05e05c5c7eb4366e4ec2b9f2c03aac27 | C# | fdafadf/colossus | /Program.cs | 2.703125 | 3 | using C64.Chess.Forms;
using C64.Chess.Forms.Controller;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace C64.Chess
{
static class Program
{
/// <summary>
/// The main entry point for the application.
... |
84a5f391cd32003e1ea83df42c19afa1aed74182 | C# | frank229osu/BankingSolutionMay2021 | /BankingDomain/StandardBonusCalculator.cs | 2.828125 | 3 | using System;
namespace BankingDomain
{
public class StandardBonusCalculator : ICalculateBonuses
{
private readonly ISystemTime _systemTime;
public StandardBonusCalculator(ISystemTime systemTime)
{
_systemTime = systemTime;
}
public decimal CalculateTheBon... |
7b90fc569b254d9fca4e9a70b7fc48f77b4e4639 | C# | jol6932/src | /TD_HR2/App_Code/DataAccess.cs | 2.578125 | 3 | using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
/// <summar... |
70c3bc7cbeb81ab1a69b6958611c059bb1081fb9 | C# | KillenNolan/CSharpPractise | /CSharpLesson_1/Lesson5_switch/Program.cs | 3.515625 | 4 | using System;
namespace Lesson5_switch
{
class Program
{
static void Main(string[] args)
{
/*string input = Console.ReadLine();
switch (input)
{
case "A": Console.WriteLine("the ouput is A"); break;
case "B": Console.WriteLin... |
5806e18573c9f8352ff9f1934f82478cc7ea6cd0 | C# | debop/NFramework | /src/NFramework.Numerics/Core/VectorTool.cs | 3.421875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using NSoft.NFramework.Threading;
namespace NSoft.NFramework.Numerics {
/// <summary>
/// Utility class for <see cref="Vector"/>
/// </summary>
public static class VectorTool {
/// <summary>
/// 난수발생기
/// </summ... |
a960ecff086dc4bff4a0985efb284033f24a9301 | C# | shroommu/AmazonSim | /AmazonSim1.2/Assets/Scripts/UI/Stats.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Stats : MonoBehaviour
{
public List<string> lines;
private Text text;
public void OnGameOver()
{
text = GetComponent<Text>();
lines.Add(string.Format("{0}\n", GameData.instance.num... |
580edba278636c6e22878d29d9f976758525e928 | C# | shendongnian/download4 | /first_version_download2/339966-28736526-84642536-2.cs | 2.609375 | 3 | public ActionResult GetReturnShippingLabel(int orderId, bool showFull)
{
string shippingLabel = new OrderRepository().GetOrderReturnShippingLabel(orderId);
if (!string.IsNullOrEmpty(shippingLabel))
{
byte[] bytes = Convert.FromBase64Str... |
070cee02c62cc45d03c5968cd313e99f548dddeb | C# | garridoalex77/HelloWorld-.NET-Core-API | /XUnitTestProject/UnitTest1.cs | 2.5625 | 3 | using HelloWorld;
using System;
using Xunit;
namespace XUnitTestProject
{
public class UnitTest1
{
[Fact]
public void Test1()
{
var service = new HelloService();
Assert.True(!string.IsNullOrEmpty(service.GetWorldName()));
}
[Fact]
public ... |
7a57ca1d8db3970dc6ad103380ae5d2b292bc533 | C# | JoepS/Portfolio | /Zeilgame/Assets/2_Scritps/Database/Models/Track.cs | 2.546875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SQLite4Unity3d;
[Table("Track")]
public class Track : Model {
public string Name { get; set; }
public string Waypoints { get; set; }
public string WaypointOrder { get; set; }
public ListV2 _waypoints;
public ... |
68ff38c8483cf5eee2bbc14c9dad7c61325a08cd | C# | murariguilherme/SOLID | /L_Wrong/Program.cs | 3.046875 | 3 | using L_Wrong.Domains;
using System;
namespace L_Wrong
{
class Program
{
//People think that monkeys and apes are the same thing. Isn't!
//While monkeys have tails and don't have appendix, the apes are the opposite.
//So.. we've a problem with de Liskov principle, if a chimpanzee is no... |
0ffa294e391ab27c0e180a8baee3cc8c8d3a6ba0 | C# | ks489/CO7515Assignment2 | /MeetingScheduler/UserService/UserSvc.svc.cs | 2.59375 | 3 | using MeetingScheduler.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace UserService
{
/// <summary>
/// All User service related functions
/// </summary>
public class UserSvc : IUserSvc
... |
aee238e880bece48ecd2af6d593fc430c5e6c228 | C# | electricsheep/Advent-of-Code | /AdventOfCode/Challenges/Day09.cs | 3.546875 | 4 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace AdventOfCode.Challenges
{
public class Day09
{
public static void Run()
{
var numbers = File.ReadAllLines($"{AppContext.BaseDirectory}/9.txt");
RunPart1(numbers.Select(long.Par... |
f6798282c8b5f69f5847891843bcaa8192393d59 | C# | IceyL812/EventTicketSystem | /System Classes/World.cs | 3.390625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EventTicketSystem.System_Classes
{
/// <summary>
/// Handles the coordinates system, and store all the events and tickets data
/// </summary>
class World
{
#region ... |
a03675e16e53eb9275ca5eade041e3767605223d | C# | Euikyu/PLCProtocol | /PLCProtocol_TestApp/Converters.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace PLCProtocol_TestApp
{
public class BoolToRadioButtonConverter : IValueConverter
{
public object Convert(object value, Typ... |
f24955427923c1b4c56db103100fd6b353156565 | C# | zogvm/CSharpGL | /CSharpGL/OpenGLObjects/ModernRendering/RendererBase.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing.Design;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpGL
{
/// <summary>
/// 用OpenGL初始化和渲染一个元素。
/// 只做初始化和渲染这两件事。
/// 一个<see cref="RendererBase"/>对象对应一个(vertex shader... |
bbf0331fef735f1cebcb684bb0fbb652e17ebaab | C# | tectronics/battlesquadron | /ERF/PlayerHandler.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Net;
namespace ERF {
/// <summary>
/// Class for handling all players in game.
/// </summary>
abstract public class PlayerHandler {
pro... |
2df502758f4611da2e3ecded2569bcff7f8884aa | C# | anyoddthing/XamarinSynth | /SynthTest.iOSIntegrationTests/AudioBasics/Buffers/AudioSampleBufferTest.cs | 2.9375 | 3 | using System;
using NUnit.Framework;
using System.Diagnostics;
namespace AudioBasics
{
[TestFixture]
public unsafe class AudioSampleBufferTest
{
[Test]
public void Can_Allocate_New_Buffer()
{
using (var fixture = new AudioSampleBuffer(2, 1024))
{
... |
d712bff561069ebb857092328472044b48f9bffb | C# | FugEbinMeme/PPT-Sandbox | /PPT-Sandbox/OptionalRadioButton.cs | 2.75 | 3 | using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Sandbox {
public class OptionalRadioButton: RadioButton {
static Dictionary<string, OptionalRadioButton> groupSelects = new Dictionary<string, OptionalRadioButton>();
public static void OverrideSelect... |
9a5956f53d82f3312bcee1202f8b0324a0ecdb93 | C# | dragobaltov/Programming-Basics-And-Fundamentals | /Pyramidic/Pyramidic/Program.cs | 3.6875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pyramidic
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
List<string> lines = new List<string>();
... |
a3acb19b2227cede7e078378b1b180d225899494 | C# | nhatvu148/local-browser | /StaticServer/Program.cs | 2.71875 | 3 | namespace StaticServer
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using System;
using System.IO;
using System.Net.Sockets;
using System.Reflection;
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilde... |