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 |
|---|---|---|---|---|---|---|
0b9a1b9ec47452ab1ccf9e60b11a7752c58fc52b | C# | LafoiMasque/WebMVCSite | /WebSite.RabbitMQProducer/Program.cs | 2.859375 | 3 | using RabbitMQ.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebSite.RabbitMQProducer
{
class Program
{
static void Main(string[] args)
{
//部署在我的服务器 http://120.78.212.68:15672/#/ 帐号密码不公开
... |
61e171e55f01de72418767c043ae59973e950bce | C# | renukadeshmukh/Tutorials | /TreeTutorials/TreeTutorials/TreeLibrary.cs | 3.640625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TreeTutorials
{
public class TreeLibrary
{
//Size of a tree is the number of elements present in the tree.
public int SizeOfTree(Node<int> root)
{
i... |
8c9633d993f0c2dd644a00ca296d60b8a52628eb | C# | darkspring1/anywayanyday | /VendingMachine/backend/VM.Dal.EF/Repository.cs | 2.890625 | 3 | using VM.Business.Dal;
using System.Data.Entity;
using System.Linq;
namespace VM.Dal.EF
{
public class Repository<T> : IRepository<T> where T : class
{
readonly DbSet<T> _set;
readonly DataContext _context;
public Repository(DataContext context)
{
_set = context.Se... |
595ee76a34af5d12f744df32a28eccc758f70dd2 | C# | OlivierMounicq/HopfieldNetwork-DotNetCore | /HopfieldNetwork/Mathematics/Vector.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
namespace HopfieldNetwork.Mathematics
{
public abstract class Vector
{
private readonly double[] vector;
public double this[int i]
{
get => vector[i];
set => vector[i] = value;
}
public int Length
... |
37572618b326ce4f75087533ce17bdcb007cc537 | C# | salesandrey/RiverRaid | /WindowsGame1/GerenciadorTiro.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
namespace RIVER_RAID
{
class GerenciadorTiro
{
private List<Tiro> lista;
private int numTiros = 20;
public GerenciadorTiro()
{
lista = new Lis... |
e042f66110575aaca80df383275e25ba43380d8f | C# | MeGaDeTH91/SoftUni | /C# DB/Databases Advanced - Entity Framework/10 Intro to EF Exer/Exercise/P03_EmpsFullInfo/StartUp.cs | 3.09375 | 3 | using System;
using P02_DatabaseFirst;
using P02_DatabaseFirst.Data;
using System.Linq;
namespace P03_EmpsFullInfo
{
class StartUp
{
static void Main(string[] args)
{
using (var context = new SoftUniContext())
{
var employees = context.Employees
... |
33944ca4076440c04a867a0c52c72791cf7e22dd | C# | flapek/GraphRepo | /Graph2D/Data/TheCorrectnessOfData.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Graph2D.Data
{
static class TheCorrectnessOfData
{
/// <summary>
/// check that the text entered is correct
/// </summary>... |
fd5d86c404ef5fb574e6171d30decad687b883f2 | C# | BakanovMaksim/Origin | /WebApplicationTest/Services/UsersDbServices.cs | 3.015625 | 3 | using ApplicationOrigin.Data;
using ApplicationOrigin.Models;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ApplicationOrigin.Services
{
public class UsersDbServices : IDbLogic
{
private readonly ILogger<UsersDbServices> _logger;
... |
417db601553b473b0a64a93b9215b8d1c59c3a3c | C# | ynhj123/CSharpStudy | /ConsoleGame/Controller/AutoAttachIntervalSystem.cs | 2.796875 | 3 | using ConsoleGame.model;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleGame.Controller
{
class AutoAttachIntervalSystem : IExecuteSystem
{
List<Player> autoPlayer = new List<Player>();
GameSence scence;
public AutoAttachIntervalSystem(GameSence scence)
... |
76063a0ae0c7a4d665336fb340f020de4c1e9d53 | C# | warxx/Programming-Fundamentals | /06.Arrays/Homework/Exercise_Demo/Problem_5/Program.cs | 3.578125 | 4 | using System;
using System.Linq;
namespace Problem_5
{
class Program
{
static void Main(string[] args)
{
var arr1 = Console.ReadLine().Split(' ').Select(e => char.Parse(e)).ToArray();
var arr2 = Console.ReadLine().Split(' ').Select(e => char.Parse(e)).ToArray();
... |
1c044559c2e10a26d361791dd68e4e1f648f1aaa | C# | exiledude22/CISServer | /libcis/Providers/AuthenticationProvider.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace libcis.Providers
{
/// <summary>
/// <see cref="IAuthenticationProvider"/> for details.
/// </summary>
public class AuthenticationProvider : libcis.DataAccessLogic.IAuthenticat... |
bcf0d6babed84b6ff8bdc5a9bce8cba8450b8f62 | C# | mayermi/Open-Games-Workshop | /Assets/Scripts/Creature.cs | 2.53125 | 3 | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public abstract class Creature {
public int MaxHealth { get; set;}
public int CurrentHealth { get; set;}
public float Speed { get; set; }
public int VisionRange { get; set;}
public GameObject GameObject { get; set;}
private bool dead;
pub... |
4c92e48d02a267e567cb5673e892adb1942e59af | C# | shendongnian/download4 | /first_version_download2/503633-46000815-155250690-4.cs | 2.734375 | 3 | public partial class _Default : Page
{
Dictionary<string, string> _dynamicControlId = new Dictionary<string, string>();
protected void Page_Init(object sender, EventArgs e)
{
CreateControls();
}
protected void SubmitButton_Click(object sender, EventA... |
3cefa51d6082e4bbeb0b6f037933555b94608ecb | C# | shendongnian/download4 | /first_version_download2/380234-57687073-204301385-2.cs | 2.90625 | 3 | public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
{
JObject item = JObject.Load(reader);
switch (item["type"].Value<string>())
{
case "Armor":
var armorItem = new ArmorItem();
s... |
92e8fc1b29a0f88f125e3c4c08ad420ed2280a45 | C# | cuesto/ConsultaCrea-Clientes | /ConsultaCrea-Cliente/Model/Serializadora.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace ConsultaCrea_Cliente.Model
{
public class Serializadora
{
public string WsAdIvnd { get; set; } // web service
public s... |
d67271dc91f4b00ef0be487f7e86641663c8a4ca | C# | Hendrik-Jacobs/MvvM-Example | /mvvmTest2/CustomClasses/SqliteAccess.cs | 3.015625 | 3 | using System;
using System.IO;
using System.Windows;
using System.Data;
using System.Data.SQLite;
namespace mvvmTest2.CustomClasses
{
static class SqliteAccess
{
private static string _filePath;
public static string Filepath
{
get => _filePath;
set => _filePath ... |
cb55675a10e021d1df4f82f69fe4f29c958c85e1 | C# | Beier/Omnium | /Omnium.Compiler/Program.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using CommandLine;
using Omnium.Core.ast;
using Omnium.Core.compiler;
namespace Omnium
{
class Program
{
public class Options
{
[Option('i', "inputFiles",... |
dddd9591b7292ce72e5c8ef4ef93dd16ebb107c1 | C# | devbryank/AsmrDarlingAlexaSkill | /Sonnar/Templates/SpeechTemplate.cs | 2.890625 | 3 | using Sonnar.Components;
namespace Sonnar.Templates
{
class SpeechTemplate
{
public const string WelcomeBack = "Welcome back. ";
public static string WelcomeNew = $"Welcome to {SkillSetting.SkillName}. ";
public const string Help = "You can either say a recording name, list, or shuffl... |
05463fe8d42a632129a1fb998a69e576ed27101a | C# | FaxMachin3/Data-Structures-and-Algorithms | /C#/MergeSort.cs | 3.40625 | 3 | using System;
namespace MergeSortDemo {
class Example {
static public void merge(int[] arr, int left, int mid, int right) {
int i, j, k;
int n1 = mid - left + 1;
int n2 = right - mid;
// Console.WriteLine(left+" "+mid+" "+right);
// Console.WriteLine(n1+" "+n2);
... |
b28290b2d4fa3c4d454b32cc896c6d7801b7d8a7 | C# | jonasrm/CashMachine | /CashMachine/CashMachine/Program.cs | 3.265625 | 3 | using CashMachine.Classes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CashMachine
{
class Program
{
static void Main(string[] args)
{
Operation operation = new Operation();
... |
595c8910ea2bb85725682cce5b7c0b53407b4ab4 | C# | jasarsoft/examples | /cs/jlp4/Poglavlje 21/Primjer 06/Program.cs | 3.578125 | 4 | using System;
using System.IO;
namespace ReadingWritingToTextFile
{
class Program
{
static void Main()
{
//otvara datoteku
FileInfo theSourceFile = new FileInfo(@"input.txt");
//stvara citac teksta za tu datoteku
StreamReader reader = theSourceF... |
8dfe9fa7862f4eb2ed5fb7cf85ea7dd3473ef734 | C# | Mr-Coxall/Computer-Based-Problem-Solving | /code_examples/3-Structured_Problem_Solving/18-Nested_Loops/CSharp/main.cs | 3.21875 | 3 | /* Created by: Mr. Coxall
* Created on: Sep 2020
* This program uses a nested loop
*/
using System;
/*
* The Program class
*/
class Program {
static void Main() {
// this function uses a nested loop
// process & output
for (int counter1 = 0; counter1 < 10; counter1++) {
for... |
f2d303cf7c53f0ba6bf3b841554d1b98062ff5ad | C# | geravishal/RabbitMQ-tutorials | /Topic Repo/Topic/Topic/Program.cs | 3.0625 | 3 | using RabbitMQ.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Topic
{
class Program
{
/// <summary>
/// When we need to disseminate messages to all queues bind to that exchange filter on the basis of more th... |
9a810883e7989cdd9fcb8337f002e46a8be9c50d | C# | elkrot/Examples-CSharp | /metanit/Patterns/Patterns/BehaviorPatterns/State.cs | 3.25 | 3 | // -----------------------------------------------------------------------
// <copyright file="State.cs" company="Co">
// Copyright Kolodiyazjny Sergey
// </copyright>
// -----------------------------------------------------------------------
/*
Состояние (State) - шаблон проектирования, который позволяет объекту из... |
09f7ccd42445a6161a98503d2f027c3a7f2cd931 | C# | richardszalay/build-scout | /source/RichardSzalay.PocketCiTray/Infrastructure/Converters/BooleanVisibilityConverter.cs | 2.75 | 3 | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace RichardSzalay.PocketCiTray.Infrastructure
{
public class BooleanVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
... |
7fd5283eb47e96306ec03b2f34d3d197946e2590 | C# | Jhultink/Sidescroller-Mono | /SideScroller/UI/InventorySlot.cs | 2.578125 | 3 | using Microsoft.Xna.Framework;
using SideScroller;
using SideScroller.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace SideScroller.UI
{
public class Inve... |
723fa9f1d75144120ad17388d8e8b706645cc2f1 | C# | bmacgregor/Blade-of-the-Iron-Throne | /Character Creator/Character Creator/Data/Asset.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Character_Creator.Data
{
class Asset
{
public enum Culture { all, decadent, degenerate, restricted }
private Culture _cultureLeve = Culture.all;
public string ... |
5def1f475fc10bbdde762412822f9bb9ae2eb186 | C# | shendongnian/download4 | /code8/1415636-38496926-123120356-2.cs | 3.03125 | 3 | public interface IXFactory
{
IX GetX(XRequest request);
}
public interface IX
{
void SomeMethod()
}
//And I'd do A as an abstract class and rename to XBase
public class A : IX
{
public void SomeMethod() {}
}
public class D
{
public D(I... |
8e2abdd245dbbbf218987d8bdab4f45b330b40d4 | C# | rotemtzaban/ghc17 | /GoogleHashCode/2019_Qualification/Printer.cs | 2.953125 | 3 | using HashCodeCommon;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2019_Qualification
{
public class Printer : PrinterBase<ProblemOutput>
{
public override void PrintToConsole(ProblemOutput result)
... |
661e86c0fa4a95f1331fd6878b9a4564977bdfa9 | C# | arman-g/DesignPatterns | /Tests/DesignPatterns.xUnitTests/InterpreterTests.cs | 2.765625 | 3 | using DesignPatterns.Interpreter.DomainObjects;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
namespace DesignPatterns.xUnitTests
{
public class InterpreterTests
{
private readonly ITestOutputHelper _output;
public InterpreterTests(ITestOutputHelper output)
{
_... |
be1835fa054f2fa06c58d7b49320bda949c44190 | C# | CAUCSE-Steamers/Top-of-SI | /Assets/Scripts/Programmer/ProgrammerStatus.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
namespace Model
{
public class ProgrammerStatus : IEventDisposable, IXmlConvertible, IXmlStateRecoverable
{
public event Action<int> OnHealthChanged = delegate { };
private int... |
c5351aa9e903841119349148fa588f6946d94e65 | C# | Flexberry/NewPlatform.Flexberry.ORM | /ICSSoft.STORMNET.Business/IConfigResolver.cs | 2.6875 | 3 | namespace ICSSoft.STORMNET.Business
{
/// <summary>
/// Интерфейс, определяющий абстракцию для способа разрешения свойств классов на основе данных из файла конфигурации приложения.
/// </summary>
public interface IConfigResolver
{
/// <summary>
/// Получить строку соединения по ее и... |
728ca0596e442c42265bf473522fffdc92f869fa | C# | AnttiLei/Olio-kurssi | /Labra4Tehtä5/Labra4Tehtä5/Bikes.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Labra4Tehtä5
{
class Bikes : Vehicles
{
public string GearWheels { get; set; }
public string GearName { get; set; }
public Bikes(string name, string model, int... |
9a15c6ca454f5e06e169b86d53bc607027ac12ed | C# | k1nval/EqOfMathPhysics | /EqOfMathPhysics/SystemsEquationsSolver/DefaultSystemEquations.cs | 2.984375 | 3 | namespace SystemsEquationsSolver
{
using System.Collections.Generic;
using System.Linq;
public class DefaultSystemEquations : ISystemEquations
{
public DefaultSystemEquations()
{
}
public DefaultSystemEquations(double[,] matrix, IEnumerable<double> b)
{
... |
19d8646bde0d0878651b8b693d2ca188f5103586 | C# | owin/museum-piece-gate | /src/Main/Gate/Response.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Gate.Utils;
using System.Text;
using System.IO;
using System.Threading;
namespace Gate
{
// A helper object for creating, modifying, or consuming response data in the Envi... |
f8b1e14f7b3cf239134c3e176e940f1c1507b3b0 | C# | pedroalmeida-dev/Student-Projects | /Generic Game Engine/Components/Steering/Wander.cs | 3.390625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace GameEngine.Components.Steering
{
/// <summary>
/// Generates a new random target to move to, every interval between "minTime" and "maxTime"
/// The target will be gener... |
f552fa6cf078bc1352d7dee3c8bc015baa83d7b7 | C# | darrenudaiyan/WaterPipePollutionDemo | /MaxNumberFouledUnits/DataProviders/IWaterUnitsFileHandler.cs | 2.59375 | 3 | using System.Collections.Generic;
namespace Udaiyan.MaxNumberFouledUnits.DataProviders
{
/// <summary>
/// The IWaterUnitsFileHandler interface to the WaterUnitsFileHandler class.
/// This reads and checks the WaterUnits file and returns a list of lists.
/// </summary>
public interface IWa... |
3668a9153199c2a2a9530a0266f9d12caf5fdff0 | C# | veler/AlgorithmSimulator | /Sources/Libraries/Algo.Runtime/Build/Runtime/Interpreter/Expressions/ThisReference.cs | 2.625 | 3 | using Algo.Runtime.Build.AlgorithmDOM.DOM;
using Algo.Runtime.Build.Runtime.Debugger;
using Algo.Runtime.Build.Runtime.Debugger.Exceptions;
using Algo.Runtime.Build.Runtime.Interpreter.Interpreter;
namespace Algo.Runtime.Build.Runtime.Interpreter.Expressions
{
/// <summary>
/// Provide the interpreter for a r... |
27eea69cad6efd0aa178c1633680229955a61e72 | C# | GermanObregon/ApiRestful_Unaj | /Api-Restful.AccesData/Validations/MercaderiaValidator.cs | 2.515625 | 3 |
using Api_Restful.AccesData.Queries.Repository;
using Api_Restful.Domain.DTO_s;
using FluentValidation;
namespace Api_Restful.AccesData.Validations
{
public class MercaderiaValidator : AbstractValidator<MercaderiaDto>
{
private readonly IMercaderiaQuery _query;
public MercaderiaValidator(I... |
46defa81bfb1edcaa65bd615c48b3a1acc1b0108 | C# | georgy-n/SnakeOnC-sharp | /GameSnake/Food.cs | 2.84375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameSnake
{
public class Food
{
public int CountScore { get; set; }
public int X { get; set; }
public int Y { get; set; }
public String Name { get; set;... |
809bcee1d9370c43c79b94624dd1c8bf7c4c8d43 | C# | ValeriFilipov87/TelerikAcademy | /CSharp2/04Numeral Systems/02 Binary To Decimal/BinaryToDecimal.cs | 3.421875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace _02_Binary_To_Decimal
{
class BinaryToDecimal
{
static void Main(string[] args)
{
string digit = Console.ReadLine();
BigI... |
b39d5eb4911176a3c1538be85b3c28d97e041325 | C# | green-fox-academy/mirekjiranek | /week-05/Day-1/DataStructure_Practicing/ShoppingList2/Program.cs | 3.3125 | 3 | using System;
using System.Collections.Generic;
namespace ShoppingList2
{
class Program
{
static void Main(string[] args)
{
Dictionary<string, double> Products = new Dictionary<string, double>
{
["Milk"] = 1.07,
["Rice"] = 1.59,
... |
20432f00e3c8053c37f54df97261f8393c5ce124 | C# | euvgub/Polygon | /src/Polygon.Connector.CQGContinuum/AdapterEvent.cs | 2.609375 | 3 | using System;
using System.Linq;
using System.Threading;
using Polygon.Diagnostics;
using ProtoBuf;
using System.Reflection;
namespace Polygon.Connector.CQGContinuum
{
/// <summary>
/// Событие получения адаптером сообщения
/// </summary>
/// <typeparam name="T">
/// Тип сообщения
/// ... |
17140ffb56b97f67ff53d133dd7b46b0bd9f5f79 | C# | NOtherDev/developwithpassion.specifications | /source/developwithpassion.specifications/core/reflection/PropertyInfoMemberAccessor.cs | 2.859375 | 3 | using System;
using System.Reflection;
namespace developwithpassion.specifications.core.reflection
{
public class PropertyInfoMemberAccessor : MemberAccessor
{
PropertyInfo member;
public PropertyInfoMemberAccessor(PropertyInfo member)
{
this.member = member;
}
... |
bb230b4e218a681e33f3972ccb8910c26b422643 | C# | MED6-631/AI-Masters---Global-Domination | /Testing/Assets/Scripts/AI Logic/UtilityAI/OptionScorers/AttackTargetLowHealthScorer.cs | 2.59375 | 3 | namespace AI.Master
{
using Apex.Serialization;
using UnityEngine;
using Apex.AI;
public sealed class AttackTargetLowHealthScorer : OptionScorerBase<ICanDie>
{
[ApexSerialization, FriendlyName("Max Score", "The highest score that this scorer can output to an option")]
public float ... |
12e226ece67e8badfad1fb1fdcfca2a2fc9e43ef | C# | mang0kitty/DublinBusStopApp | /Edge.cs | 3.375 | 3 | namespace DijkstraTransportGraph
{
public class Edge : IEdge
{
public Edge(Vertex v1, Vertex v2, int weight)
{
Weight = weight;
Vertex1 = v1;
Vertex2 = v2;
}
public int Weight { get; private set; }
public int Vertex1ID { get { return ... |
f5b3cf7a1fd23d67b3ac303932fab1b62e20ea08 | C# | DomNomNom/RoyalRampage | /Assets/Scripts/RageAndHealth.cs | 2.921875 | 3 | /**************************************************\
| Stores and controls the player's rage and health |
\**************************************************/
using UnityEngine;
using System.Collections;
public class RageAndHealth : MonoBehaviour {
//VARIABLES
//gui style
public GUIStyle style = new GUIS... |
72bf6d872f88e7441abf1dbe4d3c89dfdf549140 | C# | ETrobocon/ETrobo2018Garageneer | /G000_ETロボコン・シニア部門作っちゃおうかな/実装コード/Common/CommandIF.cs | 2.65625 | 3 | using BricRoboRTE;
using System;
namespace BricRoboApp
{
public partial class CommandIF
{
override public string ToString()
{
return string.Format("({0}) {1} {2} {3}", cmd, param1, param2, param3);
}
public const int bufSize = 7;
public void FromBuffer( byt... |
19a914546d55351a9d017c6eedbb24138a99f87a | C# | anadera/lessons | /Challenge5/Challenge5/Challenge5/Assignment.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Challenge5
{
public class Assignment
{
public string SpyName { get; set; }
public string Name { get; set; }
public DateTime EndDatePA { get; set; }
public DateTime StartDateNA... |
5081f4ba2e7660a0f56146aee74bebda9872c55d | C# | csinkers/ualbion | /src/Game/Gui/Controls/VerticalStacker.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.Numerics;
using UAlbion.Core;
namespace UAlbion.Game.Gui.Controls;
/// <summary>
/// Arranges a list of elements vertically. If Greedy is true, then all child
/// elements will be arranged with the width of the widest element (unless the
/// entire stack i... |
ecbf6e139ffa7e911d20cf107e35368d445bcc7b | C# | doriswang/Test | /Test.WebApi/RequestResult.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
namespace Test.WebApi
{
public class BaseResult
{
public bool InternalServerError { get; set; }
public HttpStatusCode Status { get; set; }
public string ErrorMessage { get; set; }
... |
b5d9c1b7c96437b30844e60f95d44468d8cadefd | C# | piyushnariani/Algorithms | /SelectionSort/C#/SelectionSort/Program.cs | 3.734375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SelectionSort
{
class Program
{
static void Main(string[] args)
{
int[] arr = new int[]{ 14, 33, 27, 10, 35, 19, 42, 44 };
int[] sortedArr = sel... |
b6f97775757e3d591fa2cafceb8090bf31ee6ac4 | C# | alvinamartya/happyfarmprg4 | /HappyFarmProject/HappyFarmProjectAPI/Controllers/BusinessLogic/RegionLogic.cs | 2.640625 | 3 | using HappyFarmProjectAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
namespace HappyFarmProjectAPI.Controllers.BusinessLogic
{
public class RegionLogic
{
/// <summary>
/// Validate Data When Add Region
/// </summary>
... |
06164c8caf9a712bc4698059b4ed8f2fa0ea61ce | C# | Jacopo47/ssd-project | /Controllers/DbTestConnectionController.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace ssdProject.Controllers
{
[ApiController]
[Route("orders")]
public class DbTestConnection : ControllerBase
{
private read... |
340fd905cf7b91ba69c5201a8548f72eec8f8454 | C# | Qorpent/qorpent.sys | /Qorpent.IO.Tests/VcsStorageWorkingWithStreamsTests.cs | 2.6875 | 3 | using System;
using System.IO;
using System.Text;
using NUnit.Framework;
using Qorpent.IO.Storages;
using Qorpent.IO.VcsStorage;
namespace Qorpent.IO.Tests {
[TestFixture]
public class VcsStorageWorkingWithStreamsTests {
/// <summary>
///
/// </summary>
private string _working... |
59ee0151f54276b5f47da36d87aad68ec9f8a40a | C# | kaifudeng/learn_program | /Csharp高级编程第九章到第十章内容/列表/Program.cs | 3.21875 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
namespace 列表
{
public class Racer:IComparable<Racer>,IFormattable
{
public int Id { get; private set; }
public string FirstName { get; private set; }
pu... |
33bd65df36b84147d715912d554a04309caae0f8 | C# | mjazbc/adventofcode2018 | /Day14/Day14.cs | 3.234375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Util;
namespace Day14
{
class Day14 : AdventPuzzle
{
protected override string SolveFirstPuzzle()
{
int input = ReadInputText<int>();
LinkedList<int> scoreBoard = new LinkedList<... |
c5e1a74cd4b3ed4efeb72add0ac60db5d4cb5f91 | C# | VDSnuff/Codewars | /CodeWars/RunLengthEncoding.cs | 3.640625 | 4 | using NUnit.Framework;
using System;
using System.Linq;
namespace CodeWars
{
public static class RunLengthEncoding
{
#region Other members results
#endregion
//My first attempt => not proper (do not cover => aaaabbccca case).
public static string EncodingTest(string str)
... |
7d62fd253c1f4edd2805a6f740f3abbc7f15d152 | C# | Pycz/FightWithShadow | /Epsilon/Epsilon/Radar.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interfaces;
using CCStepsCoords;
// класс содержит набор методов для сканирования карты с целью поиска противника и составлеию баз аптечек и бонусов
namespace Epsilon {
internal class Radar {
// Fields
/// <summary>//... |
b66af409830c4da52154c620343c3a858074f478 | C# | 210628-UTA-NET/Julian-He-P0 | /StorefrontModels/Storefront.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
namespace StorefrontModels
{
public class Storefront
{
private string _name;
private string _address;
private List<LineItem> _inventory;
private List<Order> _orders;
private int _id;
public Storefront(){
... |
e52a09a99196ac78a4f5c11b1dc51c944ebc6298 | C# | daniel-bytes/rps.net | /Rps.Domain/Model/GameBoard.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using Rps.Domain.Exceptions;
using Rps.Domain.Extensions;
namespace Rps.Domain.Model
{
public class GameBoard
{
private GameProperties properties;
private Token[,] tokens;
public GameBoard(GameProperties properties, IE... |
cadf1ec98e0a3dc3958df044073c6a88dd6fc345 | C# | JohnNickerson/MediaSync | /Core/Extensions/DirectoryInfoExtensions.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AssimilationSoftware.MediaSync.Core.Extensions
{
public static class DirectoryInfoExtensions
{
public static bool IsSubPathOf(this DirectoryInfo subPath, Direc... |
169d73c95b50b05e204ce767559a17da1329c8d6 | C# | aranchafoz/ARADrive | /ARADrive/ClassLibrary/CAD/OfficeCAD.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Collections;
using System.Configuration;
using OfficeENns;
... |
ff98f01daaebe428801d675a7f49462923930707 | C# | Pyroblasted/Spelprojekt | /Spelprojekt/Spelprojekt/Gui/GuiManager.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Spelprojekt.Gui.Components;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace Spelprojekt.Gui
{
public class GuiManager : DrawableGameComponent
{
... |
4f2315d3d22d33d517efbf60f8d4675fc79f88d2 | C# | TAPXYC/Statistick_Fuel | /Statistick/Resources/Classes/RegressionCalculator.cs | 3.03125 | 3 | using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.Statistics;
using System;
using System.Collections.Generic;
class RegressionCalculator
{
public static void LinearLeastSquares(double[] x, double[] y, out double a, out double b)
{
doubl... |
449674da5af87c6f7be2f534b7adc4a7c3e7598b | C# | vipnormalhy/learn | /csharp/NetworkMonitor/NetworkMonitor/frmMain.cs | 2.703125 | 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 MyNetworkInfo;
using System.Threading;
namespace NetworkMonitor
{
public partial class frmMain : Form
{
Thread _... |
62a6a2f9183e04c9769a4d34fef7c6458715119f | C# | Engin-Boot/modular21-Sahlot02 | /TelCo.ColorCoder/Model.cs | 2.90625 | 3 | using System;
using System.Diagnostics;
using System.Drawing;
namespace TelCo.ColorCoder
{
public class ColorMap
{
public readonly static Color[] colorMapMajor;
public readonly static Color[] colorMapMinor;
static ColorMap()
{
colorMapMajor = new Color[] { Color.Whi... |
ded6dcc219ee65dfdf8f2efbc4c52d7620e68251 | C# | duyetln/dp | /csharp/Factory_Simplified/Maze.cs | 3.46875 | 3 | using System;
using System.Collections.Generic;
/*
Bare bones implementation for Maze
*/
namespace DesignPatterns.Factory_Simplified
{
abstract class Maze
{
List<Room> rooms = new List<Room>();
List<Wall> walls = new List<Wall>();
internal void addRoom(Room room)
{
... |
1df5145edc12d891944983595a4f838ae9c1768a | C# | gabriel-moura2/PEOO4Bimestre | /Lista19/Ex01/Program.cs | 3.859375 | 4 | using System;
namespace Ex01
{
class Retangulo
{
private double b;
private double h;
public Retangulo(double b, double h)
{
this.b = b;
this.h = h;
}
public double GetBase()
{
return b;
}
public double ... |
d7b7f5f4d716459100cdb66c6786faf1d589ffaa | C# | wfxr/ClusteringAlgorithm | /examples/demo-wpf/MainWindow.xaml.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Data;
using ClusteringAlgorithm;
using DevExpress.Xpf.Charts;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Double;
using Wfxr.Utility.... |
85b67b639526978892dfb42d63c43a6afad12381 | C# | NagyDominik/CrownClean-BE | /CrownCleanApp.Core/ApplicationService/IOrderService.cs | 2.890625 | 3 | using CrownCleanApp.Core.DomainService.Filtering;
using CrownCleanApp.Core.Entity;
using System;
using System.Collections.Generic;
using System.Text;
namespace CrownCleanApp.Core.ApplicationService
{
public interface IOrderService
{
/// <summary>
/// Save an order to the database.
/// ... |
2fc1d5548f302ecb41e73cbfefa5103ecbd2b711 | C# | DinkyTesla/Cinema_Api_UltraPlay | /CinemAPI.Data.Implementation/MovieRepository.cs | 2.953125 | 3 | using CinemAPI.Data.EF;
using CinemAPI.Models;
using CinemAPI.Models.Contracts.Movie;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
namespace CinemAPI.Data.Implementation
{
public class MovieRepository : IMovieRepository
{
private readonly CinemaDbContext db;
publ... |
165f2d15d557f1d15b23792d4092032ebec1e595 | C# | NanoSector/Unity_CharacterScripts | /src/Character/PlayerMovement.cs | 2.59375 | 3 | using UnityEngine;
namespace Character
{
public class PlayerMovement : MonoBehaviour
{
public CharacterController2D controller;
public float runSpeed = 40f;
private float _horizontalMove;
private bool _jump;
private bool _crouch;
// Update is called once per f... |
dfe19392386766a401ef8255dd942075209ff69f | C# | Sway623/Mario-3902 | /FreeBowser/FreeBowser/CSVParser.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... |
501f47e66157ba1687a7d8c81d56c84c390d37dd | C# | TereshchenkoIL/GuitarForum | /Application/Services/TopicService.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using Contracts;
using Contracts.Interfaces;
using Contracts.Paging;
using Contracts.Services;
using Domain.Entities;
using Domain.Exceptions.CategoryExceptions;
using Domain.Excep... |
d9dcd14f39074791deff6c4faa6844bd586521c0 | C# | GeorgiMateev/telerik-academy | /09.Methods/4.ArrayAnalys/ArrayAnalysis.cs | 3.671875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _4.ArrayAnalys
{
class ArrayAnalysis
{
static int CountNumberInArray(int[] numbers, int n)
{
int counter = 0;
for (int i = 0; i < numbers.Length; i++)
{
... |
2a78749fac1fa8a8274d297ff6c95d95db1121ee | C# | NasC0/Telerik_Homework | /C# part 2/4. NumeralSystems/4. DecimalToHexadecimal/DecimalToHexadecimal.cs | 4.09375 | 4 | using System;
using System.Collections.Generic;
class DecimalToHexadecimal
{
static string DecToHex(int number)
{
string hex = "";
while (number > 0)
{
int remainder = number % 16;
number = number / 16;
if (remainder == 10)
{
... |
365a52bfd684d39f724679b494ff80c8e839cef4 | C# | DrNorton/GiftKnacksProject.Api | /GiftKnacksProject.Api.Services/Storages/UserOnlineSignalService.cs | 2.8125 | 3 | using System.Collections.Generic;
using System.Linq;
using GiftKnacksProject.Api.Services.Interfaces;
namespace GiftKnacksProject.Api.Services.Storages
{
public class UserOnlineSignalService : IUserOnlineSignalService
{
private object _synch;
private List<UserConnectionSignalR> _usersOnline;
... |
6e9498cba358ae5a7977d1a7dd46c5d450c6019d | C# | NorikaDE/Coded-Documents | /Source/Norika.Documentation.Core.UnitTests/TestPrintableDocument.cs | 2.71875 | 3 | using System.Collections.Generic;
using Norika.Documentation.Core.Types;
namespace Norika.Documentation.Core.UnitTests
{
/// <summary>
/// Test implementation for test purposes
/// </summary>
public sealed class TestPrintableDocument : ITestPrintableDocument
{
/// <summary>
/// <inh... |
6af41bbc68aab1cdbd721c75454987c1351fe2b6 | C# | BorislavBorisov22/Telerik-2016-17-CSharp | /C# OOP - Homeworks/OOP_Principles_Part_Two/RangeException/StartUp.cs | 3.859375 | 4 | namespace RangeException
{
using System;
public class StartUp
{
public static void Main()
{
// Testing the exception for integers
// to get the exception for invalid integer enter a number outside of the given range
// on the console.
// to g... |
1b4da9edf9408e2c676caa3c0b65e54c669633ce | C# | Taritsyn/WebMarkupMin | /test/WebMarkupMin.Benchmarks/StatisticsGenerationBenchmark.cs | 2.5625 | 3 | using System.IO;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Diagnosers;
using WebMarkupMin.Core;
namespace WebMarkupMin.Benchmarks
{
[MemoryDiagnoser]
public class StatisticsGenerationBenchmark
{
private static readonly HtmlMinifier s_minifier = new HtmlMinifier();
private static readonly string... |
60884e21647ddddb4440112c4d653b50a9275fa4 | C# | felypeb/refaction | /RefactorMe.Model/Services/ProductService.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using RefactorMe.Model.Entities;
using RefactorMe.Model.Interfaces.Repository;
using RefactorMe.Model.Interfaces.Service;
namespace RefactorMe.Model.Services
{
public class ProductService : IProductService
{
private readonly... |
59731e069c04baa227d244825832112421ff3207 | C# | mucanson/TienlenCsharp | /Client/TCPModel.cs | 2.953125 | 3 | /*
* Created by SharpDevelop.
* User: chepchip
* Date: 11/11/2016
* Time: 12:35 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Net;
using System.Net.Sockets;
using System.IO;
using System.Text;
namespace Client
{
/// <summary>
/// Des... |
1f842f450e78019682e0f8ba90e8f16317d5a45f | C# | NERDLabStudio/Zoo-Rush-Roundup | /Assets/MPUIKit/Runtime/Scripts/Shapes/NStarPolygon.cs | 2.515625 | 3 | using System;
using UnityEngine;
namespace MPUIKIT {
/// <summary>
/// N-star polygon shape is equal sided uniform polygon shape with the ability to morph
/// to a star corresponding to the original shape. ie: an equilateral pentagon will morph
/// to a five sided star.
/// </summary>
[Serializ... |
c6d249bebc646f95a1f9eb2d3921274f86b4de28 | C# | sebasDeveloper94/API_MobilFit | /backMobilFitData_V1/Aplicacion/UsuariosAplicacionServicios.cs | 2.875 | 3 | using backDataMobilFit.Models;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace backMobilFitData.Aplicacion
{
class UsuariosAplicacionServicios
{
private string connection { get; set; }
//... |
c90152190eb0b2e76a9c8f5caa80f0ab4acd362e | C# | FredrikLundvall/WireframeGame | /Lobby/LoginForm.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.Windows.Forms;
namespace BlowtorchesAndGunpowder
{
public partial class LoginForm : Form
{
public LoginForm(string aUsername = "", bo... |
5a57a606cebd01f70c53bf7cf8b1f616d0d1e123 | C# | ahmed-ismaail/Book-Management-System | /File-Project-master/Project File/WindowsFormsApplication14/Form1.cs | 2.96875 | 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 WindowsFormsApplication14
{
public partial class MainForm : Form
{
string year... |
bd304fd63cf14a9fbc10bc2ab62bff1d75386fe7 | C# | YashBhartia00/Dots-and-Boxes | /dots And Boxes/Assets/Jsons.cs | 2.765625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
[Serializable]
public class Matches
{
public string gameType, userName;
public bool found;
public board gameBoard;
public int timeCreated;
public Matches(string gameTypes, string userNames, board gameBoar... |
b8de696b6bf52c2fff183d804b3e4d394a28049c | C# | slick-code/Tolkesentralen_v3 | /Tolkesentralen-v3/Tolkesentralen-v3/Repository/DbSpraak.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using Tolkesentralen_v3.Models;
namespace Tolkesentralen_v3.Repository
{
public class DbSpraak
{
DbNetcont db = new DbNetcont();
/////////////////////////////////////////////////////... |
f8c75737b2b5dbbc98d43415b401e7015ccbac86 | C# | gilvancm/aula250 | /SalesWebMvc247/Models/ViewModels/ErrorViewModel.cs | 2.796875 | 3 | using System;
namespace SalesWebMvc247.Models.ViewModels
{
public class ErrorViewModel
{
//id interno da requisio ------RequestId
public string RequestId { get; set; }
//acresentar uma messagem custumizada neste objeto
public string Message { get; set; }
/// <summary>
... |
ca4484da36ba4df75c20e8191c12d206214d6a0c | C# | danielpetkovski/HomeworksCsharp | /SEDC.Homework03Bonus/SEDC.Task12/Program.cs | 4.03125 | 4 | using System;
namespace SEDC.Task12
{
class Program
{
/* Task 12:
Write a short program that prints each number from 1 to 100 on a new line.For each number that is divided by 3 print “Fizz” instead of the number.
For each number that is divided by 5 print “Buzz” instead of the number.
For e... |
fc2276060643f6b9233cddf46373e17a3b0038b4 | C# | jgyo/PluginManager | /VersionManagement/VersionCheck.cs | 2.59375 | 3 | namespace VersionManagement
{
using PluginManager.Core.ViewModels;
using System;
using System.Diagnostics;
using System.Linq;
/// <summary>
/// Defines the <see cref="VersionCheck" />.
/// </summary>
public class VersionCheck : ViewModel
{
/// <summary>
/// Initiali... |
d61f9d6fbe26ad5f5a6f66d91b030704f60959b7 | C# | ahmetonurslmz/customerinfo | /CustomerInfo/Form1.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace CustomerInfo
{
public partial class Form1 : Form
{
Jobs jobs;... |
7771ba1397ecb64f8758fd4b092b685254b433f7 | C# | zoro83/HomeWork | /FirtStage.Starter/Array c#/ex_31/ex_31/Program.cs | 3.96875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ex_31
{
class Program
{
/// <summary>
/// Enter 2 < N < 100 number for printing sequence
/// </summary>
/// <param name="n"></param>
static void... |
bc7664564b767af368cdff1a5026fc6e626e8a35 | C# | robertlarkins/code-golf | /CodeGolf.Tests/Equations/AngleBetweenClockHandsTests.cs | 2.609375 | 3 | using CodeGolf.Equations;
using FluentAssertions;
using Xunit;
namespace CodeGolf.Tests.Equations
{
public class AngleBetweenClockHandsTests
{
[Theory]
[InlineData("0000", 0)]
[InlineData("0010", 55.0)]
[InlineData("0020", 110.0)]
[InlineData("0030", 165.0)]
[In... |
17fdfd391272c9b0d1ade61aed6f088c44762ebe | C# | viksimenaite/Delegation_Composition | /Delegation_Composition/CakeFactory.cs | 2.9375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Delegation_Composition
{
class CakeFactory:ISuitability
{
private ISuitability suitabilityRealisation;
public CakeFactory(ISuitability suitabilityRealisation)
{
this.suitabilityRealisation = suita... |
d69a0381f0d98cc6dd4131a299eed2b6d54eea35 | C# | godxkey/FarseerWithNewBox2dVersion | /FarseerUnity/Assets/Plugins/FarseerComponents/Base/FarseerPhysics/Collision/AABBHelper.cs | 2.578125 | 3 | using Microsoft.Xna.Framework;
using VelcroPhysics.Shared;
using VelcroPhysics.Utilities;
namespace VelcroPhysics.Collision
{
public static class AABBHelper
{
public static void ComputeEdgeAABB(ref FVector2 start, ref FVector2 end, ref Transform transform, out AABB aabb)
{
FVector2... |
9dc4a3a7ec57097ac4e746f543bd08996ac432ab | C# | guih2127/praticas-de-programacao | /aulas/aula02exercice/aula02atividade01/Program.cs | 4.0625 | 4 | using System;
namespace aula02atividade01
{
class Program
{
static void Main(string[] args)
{
int x, y, z;
int[] numbers = new int[3];
Console.WriteLine("Digite o valor de X");
x = Convert.ToInt32(Console.ReadLine());
Console.Write... |
7c7e37ed627868bfd504aa66987a3d61332a24de | C# | GhostXr/UnityFrameProject | /Assets/Scripts/UIFrameWork/Manager/QModuleManager.cs | 2.5625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
namespace QUIFrameWork
{
public class QModuleManager : QSingleton<QModuleManager>
{
private Dictionary<string, QBaseModule> dicModules = null;
/// <summary>
/// Create this instance.
/// </summary>
public overrid... |
4debb59c2531732b775633f061c099bb08cdf5ce | C# | MahbubAhmedTonmoy/cSharp__code | /IComparable_IComparer.cs | 3.359375 | 3 | using System;
using System.Collections.Generic;
namespace dddd
{
class customer{
public int cusId{get;set;}
public string Name{get;set;}
public string City {get;set;}
public double Balance {get;set;}
}
class student : IComparable<student>{
... |