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 |
|---|---|---|---|---|---|---|
420ef032e9dcb44c83d58be0fd0834ea9f0709e6 | C# | v2vivar/ASAT-History-Analyzer | /ASAT-History-Analyzer/ASAT-History-Analyzer/Utilities.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ASAT_History_Analyzer
{
static class Utilities
{
public static string CombineStringArray(string[] strings, int begin, char separator)
{
var stringBuilder = new StringBuilder();
... |
e5f93f4114ca8e45d5fcc7d8453eb6556fbfb147 | C# | KamillaMag/CountriesInfo | /CountriesInfo/DBReader.cs | 3.453125 | 3 | using System.Collections.Generic;
using System.Data.SqlClient;
namespace CountriesInfo
{
internal static class DBReader
{
internal static List<Country> GetCountriesInfo(string connectionString)
{
List<Country> countries = new List<Country>();
string sqlExpression = "SEL... |
c92beb7467c0579707d13f49110bea162409743a | C# | mpordomingo/skrilla-api | /skrilla-api/Services/BudgetService.cs | 2.578125 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using NodaTime;
using skrilla_api.Configuration;
using skrilla_api.Models;
using skrilla_a... |
8700450b57211dcfcd9b03fd170acbb0c423cb04 | C# | d1m1trovv/todolist-dotnet-core-mvc | /ToDoListImpl/Controllers/TasksController.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using ToDoListImpl.Entities;
using ToDoListImpl.Models;
namespace ToDoListImpl.Controllers
{
public class ... |
d8015ac918e937bced4bef29d0ee7133ef78c91c | C# | SimonNyvall/PerJahnUtils | /GetElasticSize/Program.cs | 3.046875 | 3 | using Newtonsoft.Json.Linq;
using System;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
namespace GetElasticSize
{
class Program
{
static int Main(string[] args)
{
if (args.Length != 3)
{
Log("Usage: GetElasticSize <... |
82b60e00efd95b30c9d9d63858733a7eb478686d | C# | IzC87/Blazor-With-Authentication | /Server/Services/BaseRepository.cs | 2.953125 | 3 | using System.Threading.Tasks;
using Medieval.Server.Data;
using Microsoft.Extensions.Logging;
using Server.Services.Interfaces;
namespace Server.Services
{
public class BaseRepository : IBaseRepository
{
protected readonly MedievalContext _medievalContext;
protected readonly ILogger<BaseRepository... |
766bdbcb959410e54216b849365e59ef804c844e | C# | gehuazhen/ZZKJ_CRM | /Excel/NPOICell.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
namespace XHD.Excel
{
//Aspose帮助类,对常用Aspose用法进行封装
public class NPOICell
{
private HSSFWorkbook _workbook = null;
private Dictionary<string, Sheet> _worksheets = null;
... |
c080fa5d4d59dda1d2a19eb121e5b57053a88f3e | C# | cmwldysz/superman | /test5.7andtest5.8/Program.cs | 3.359375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace test5._7andtest5._8
{
class Program
{
static void Main(string[] args)
{
///////////////////// 试题5.7 /////////////////////
///
... |
ce424fb91f52698a4f354583a6eefc6ded4bb775 | C# | vikpai84/RabbitMq | /RabbitMqProducer/RabbitMqConsumer/QueueConsumer.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
namespace RabbitMqConsumer
{
// You can run 2 instances of Consumer and one of Publisher and the messages will recieved in round robin odd message to one, even in another.
public static cla... |
fe4bd504c6de0b983e6679c7922240a016a98000 | C# | stanislav-kozorez/EPAM.RD.2016.S.Kozorez | /Day2/UserStorageSystem/UserStorageSystem/Configuration/ServicesConfigSection.cs | 2.5625 | 3 | using System.Configuration;
namespace UserStorageSystem.Configuration
{
/// <summary>
/// Describes custom service configuration section
/// </summary>
public class ServicesConfigSection : ConfigurationSection
{
[ConfigurationProperty("usesTcp", DefaultValue = true, IsRequired = true)]... |
6a2ccf87a5b60819975d2b8444f6de7cfc832295 | C# | beetee2/Coinbase.NET | /Common/JsonRequestBuilder.cs | 2.734375 | 3 | using System;
using System.IO;
using System.Net;
namespace Common
{
public static class JsonRequestBuilder
{
public static string JsonRequest(string url, string method)
{
string returnData = String.Empty;
var webRequest = HttpWebRequest.Create(url) as HttpWebRequest;
... |
129f325f81d0c3ec04abf6bd5b8f584c1e6e0df3 | C# | MohammadKTaha/running-game | /CityRunV1/Assets/Scripts/Obisticale.cs | 2.734375 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Obisticale : MonoBehaviour
{
private GameObject obisticale;
private string name;
private float xLocation;
private float yLocation;
private float zLocation;
private float zDimintion;
public Obisticale (GameObje... |
8bd3defe4139a3079cf2934bff900b13e30f60aa | C# | thachit/csharp-learning | /EXCERCISES/Array_Structure_Strings/Array_Structure_Strings/Struct.cs | 3.96875 | 4 | using System;
namespace Array_Structure_Strings
{
struct TwoDPoint
{
public short x;
public short y;
}
struct city
{
public string name;
public uint inhabitants;
}
class StructEx
{
public void CityDatabase()
{
/* Create a da... |
cd7ff35cc2effadd016ccae552c277a3787ec3c9 | C# | EzequielHumaB/Tarea1ProgramacionAplicada1Capitulos1-4 | /EjerciciosCapitulo4/TablaMultiplicar.cs | 3.640625 | 4 | using System;
namespace TablaMultiplicacion
{
class TablaMultiplicar
{
static void Main(string[] args)
{
int numero = 0;
Console.WriteLine("Escriba un numero");
numero = Convert.ToInt32(Console.ReadLine());
int resultado;
for (int i =... |
e597591baf0ff2c0839461091ab653c2946808f6 | C# | nagyistoce/x-game-framework-monogame | /Sprite/AnimationStateManager.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace GameFramework
{
class AnimationStateManager
{
// Animation Player
AnimationPlayer animationPlayer;
// Dictionary of animation states <Name of S... |
820b817d677310c6d547a1b5a117473a4c59749a | C# | vmamore/ordem-de-servico-web | /TecdisaOS/src/Tecdisa.OS.Infra.Data/Repository/ModuloRepository.cs | 2.890625 | 3 | using Dapper;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Tecdisa.OS.Domain.Interfaces;
using Tecdisa.OS.Domain.Models;
using Tecdisa.OS.Infra.Data.Context;
namespace Tecdisa.OS.Infra.Data.Repository
{
public class ModuloRepository : IModuloRepository
{
private... |
f28e25427b8820f3760b8788030effc45b4846f9 | C# | alex-zh/MyProjects | /Visualizer/Common/Classes/Logger/TextFileLogger.cs | 3.09375 | 3 | using System;
using System.IO;
using Common.Classes.Robot;
using Common.Robots.Common;
namespace Common.Classes.Logger
{
public class TextFileLogger
{
private readonly string _logsFolderPath;
private const string DefaultLogsPath = "Logs";
private const string DefaultFileName = "General... |
a013d4fe23ff6ba3d4aa5e65d3bc25499fac036a | C# | slimouGit/C-Sharp_Sandbox | /OOP/Inheritance/Program.cs | 3.015625 | 3 | using System;
namespace Inheritance
{
class MainClass
{
public static void Main(string[] args)
{
Employee michael = new Employee("Michael", "Meyer", 3400);
Superior frank = new Superior("Porsche", "Frank", "Witzel", 7600);
Trainee fritz = new Trainee(30,6, "Fritz", "Baum", 1400);
michael.working()... |
531c933554e65e2004886845cb8cd0b787579f1b | C# | radtek/digitalsign | /Veros.Paperless.Model/Servicos/Comparacao/Equivalencia.cs | 3.0625 | 3 | namespace Veros.Paperless.Model.Servicos.Comparacao
{
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Framework;
public static class Equivalencia
{
//// Se os numeros 0,1,5,7 estiverem rodeados de letras, os troca por O,I,S,T respectivamente.
//// ret... |
6dc3ff3d74a473681e50195d0b3e0af74485ed5e | C# | jenkinsgituser/Dotnetcode | /src/jenkins_client/RestResponse.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
namespace JenkinsClient
{
internal class RestResponse
{
public HttpResponseMessage response { get; set; }
... |
99cf4fe668119fa61a7fd035738db404077d04a0 | C# | RamySaleh/Csharp7 | /Csharp7/Program.cs | 3.171875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Console;
namespace Csharp7
{
class Program
{
static void Main(string[] args)
{
// Static using demo
WriteLine("-- Static using demo --... |
299d0d4126e2dd1ffff6ef8e1325825533979a27 | C# | isaacmartinez51/Project | /EtiquteContinental/EtiquteContinental/Classes/ConnectionTraza.cs | 2.65625 | 3 | using EtiquteContinental.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EtiquteContinental.Classes
{
public class ConnectionTraza
{
#region Print
public static SerialPrintModel GetInformationSerial(AppSettings appSettings, st... |
68c8d79dd94c0fa7a2345a54fbbdaafe6854c0d7 | C# | doba7a/SoftUni | /CSharp Fundamentals/CSharp OOP Basics/16. Exam Preparation III/NeedForSpeed/Models/Cars/Car.cs | 3.21875 | 3 | using System.Text;
public abstract class Car
{
private string brand;
private string model;
private int yearOfProduction;
private int horsepower;
private int acceleration;
private int suspension;
private int durability;
protected Car(string brand, string model, int yearOfProduction, in... |
915003f04766f5ce283161ddc791fce177de866b | C# | jonaspegerfalk/aoc-2017 | /Day6/Program.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AocUtil;
using Xunit;
namespace Day6
{
class Program
{
static void Main(string[] args)
{
string input = "14 0 15 12 1... |
a3240c7d1dc5334a0df0dc6f2dc5bc5d82ac17c9 | C# | akbaryu/solar_system_grafkom | /Backup/SistemaSolar/Planet.cs | 2.53125 | 3 | /*
*This code is property of Vasily Tserekh
*if you like it you can visit my personal dev blog
*http://vasilydev.blogspot.com
*/
using System;
using System.Collections.Generic;
using System.Text;
using Tao.OpenGl;
using ShadowEngine;
namespace SistemaSolar
{
class Planet
{
Planets tipo;
P... |
98d404ec9cfdf3a39714a1d18f269b34584ee6c7 | C# | hfregg654/CSharpLessonWeekOneHW | /ConsoleHW_WeekOne/ConsoleHW_WeekOne/FileTool.cs | 3.46875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Configuration;
namespace ConsoleHW_WeekOne
{
public class FileTool
{
//所有方法若遇到任何參數上的錯誤都輸出"未輸入正確指令,已結束程式,按ENTER鍵繼續"並等待程式結束
public static void MoveFil... |
e0e9749fca2cc69f4dad3d9abd4801dc7d591b87 | C# | VladSnap/FirNewYear | /ColorSphere.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
namespace FirNewYear
{
public static class ColorSphere
{
//public static Color[,] Colors =
//{
// {new Color(), }
//};
public static string[,] Colors ... |
eb114d7e7d06ee97bf3d08114ef0558dddd48cf7 | C# | krdlab/lisys | /lisys/Collections.cs | 3 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KrdLab.Lisys
{
/// <summary>
/// コレクションに対する共通実装.一部公開 I/F を含む.
/// </summary>
public static class Collections
{
internal static IVectorCollection<C> Subcoll... |
8016601cb097ac4322d3cea080f677af8e1d2013 | C# | kavworkerit/ZooProject | /ZooContent/IZooContentFactory.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ZooContent
{
public interface IZooContentFactory<out T> where T: IZooContent
{
T Create();
}
public interface IZooContentFactory : IZooContentFactory<IZooContent>
{
new IZooContent Creat... |
9fb5de7223dd36558ca961a382db7124213144d3 | C# | MPrzybolewski/ASP-MVC-Project | /YachtShop/YachtShop/Data/ApplicationDbInitalizer.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using YachtShop.Models;
namespace YachtShop.Data
{
public class ApplicationDbInitializer
{
private readonly ApplicationDbContext _c... |
141a5c04e1ce63e64f8df9a2c6d3d5c83958e238 | C# | Xen0byte/Squalr | /Squalr/Source/Mvvm/Converters/HexDecBoxColorConverter.cs | 2.953125 | 3 | namespace Squalr.Source.Mvvm.Converters
{
using Squalr.Source.Controls;
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
/// <summary>
/// Converts a HexDec box to a display color.
/// </summary>
public class HexDecBoxColorConverter :... |
cc1bb2370efa2f2435c1e1dc8b7874460ce34e81 | C# | zsofi-gagyi/asyncExercises | /WaitVsAwait/RefactoringProofOfConcept/Program.cs | 3.515625 | 4 | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace RefactoringProofOfConcept
{
public static class Program
{
public static async Task Main(string[] args)
{
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
... |
b18edd352a97f5c196399eeb03f317b459b99c9b | C# | NanishiTakana/StudyDelivarable | /Naruhodo/Chapter11/11-2/11-2/Person.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace _11_2
{
class Person
{
// 名
public string FirstName { get; set; }
// 姓
public string LastName { get; set; }
public Gender GenderType { get; set; }
// 姓名
public string FullNa... |
6b819087cf5db7f9b812132ff02e89a1d35b7600 | C# | dongleivip/ZhenFa-Sales | /Source/Models/Customer.cs | 2.5625 | 3 | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Models
{
public class Customer
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public Guid Id { get; set; }
[Required(ErrorMessage = "Customer Na... |
b99737f39211927696b0618e0913548cb5d52b79 | C# | LaplaceXD/Hello-World | /HelloWorld/Exercises/Workflow/WorkflowEngine.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using HelloWorld.Exercises.Workflow.Activities;
namespace HelloWorld.Exercises.Workflow
{
public class WorkflowEngine
{
private readonly IList<IActivity> activityList = new List<IActivity>();
public void Run(Workflow workflow)
{
... |
5b74f181eac7bfa6e1c3675a736c39b7e393ce99 | C# | gmanreviews/film | /film/Models/user.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.ComponentModel.DataAnnotations;
namespace film.Models
{
public class user
{
[Required]
public int id { get; set; }
[Display(Name = "Username")]
[Requir... |
c5f16ce67f08489c8bc3e992d01244f4b8704928 | C# | Saurabh359/VehicleRentingSystem | /ClientApplication/Controllers/VehicleController.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using ClientApplication.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace ClientApplication.... |
bd651eee031c893ea2c591c3bf845da34f870860 | C# | jackshea/leetcode | /LeetCode/Problems/Medium/P0079_WordSearch.cs | 3.484375 | 3 | namespace LeetCode.Problems.Medium;
/// 单词搜索
/// https://leetcode-cn.com/problems/word-search/
public class P0079_WordSearch
{
private readonly int[] dc = { 0, 1, 0, -1 };
private readonly int[] dr = { 1, 0, -1, 0 };
private char[][] board;
private string word;
public bool Exist(char[][] board, s... |
776440ea80e25dd45b199c988b25dea7fd481e5b | C# | miszlon/Budget-Control-App | /Kontrola_Domowego_Budzetu/Kontrola_Domowego_Budzetu/Program.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Kontrola_Domowego_Budzetu.Forms;
using Kontrola_Domowego_Budzetu.Methods;
namespace Kontrola_Domowego_Budzetu
{
static class Program
{
[STAThread]
static ... |
a610accb5ff5a4eb7a369afc54b527025f016e21 | C# | JonathanPiccolo/Attaque_des_patates_2019 | /Attaque_des_patates_(Unity)/Assets/Scripts/EtapeDialogue.cs | 2.890625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EtapeDialogue {
/* Une EtapeDialogue contient le type d'interaction, le texte a afficher et parfois plus! */
/* Cette classe est utilisee comme conteneur de donnees */
private TypeEtape _type;
public TypeEtape type{ get... |
5cd10bdb91fb3e6881e7e7904205c434782907c7 | C# | qwenix/NewBallGame | /NewBallGame/Models/Game objects/AutoBall.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NewBallGame.Models.Game_objects {
class AutoBall : Ball {
protected override Game Game {
get => base.Game as AIGame;
set => base.Game ... |
1f13ce110cc982479877d1cb2bb2da140b079c79 | C# | CiastowskiMichal/fraktale-mobilne | /Assets/Scripts/PhotoController.cs | 2.625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PhotoController : MonoBehaviour
{
public Button button;
// Use this for initialization
void Start()
{
button.onClick.AddListener(
delegate
{
StartCorouti... |
90026078e03434e748adcc6ab238db4a1d242bd4 | C# | noctambulo-12/REST-API-Client | /ConsoleAPIClient.Net/Program.cs | 2.78125 | 3 | using Chiwchi.Console;
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace ConsoleAPIClient
{
class Program
{
static void Main(string[] args)
{
ConsoleSpinner spinner = new ConsoleSpinner();
spinner.Start();
... |
58c1191f569a51a5b3ddfe625e88edd6dc6ed24b | C# | jjokela/DesignPatterns | /Decorator/ConcreteDecorators/HeavyLaser.cs | 2.8125 | 3 | using Decorator.Component;
using Decorator.Decorator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Decorator.ConcreteDecorators
{
public class HeavyLaser : MechaWeapon
{
public HeavyLaser(Mecha mecha)
: base(mecha)
{
De... |
0e352796ca83864640f308e852ca37bc6c76c0af | C# | uComponents/uComponents | /src/uComponents.DataTypes/DataTypeGrid/Model/DTG_StoredValueForModel.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace uComponents.DataTypes.DataTypeGrid.Model
{
/// <summary>
/// Represents a single stored value
/// </summary>
/// <remarks>
/// We use the <c>uComponents.RazorModels.DataTypeGrid.StoredValueForModel</c> ... |
3f0ac6895f230d60577963103562971678f6f86b | C# | silentcreatorapp23/bike | /src/Bike/Interpreter/Interpreter.cs | 2.734375 | 3 | namespace Bike.Interpreter
{
using System;
using System.Collections;
using System.IO;
using Ast;
using Builtin;
using Parser;
public partial class Interpreter : NodeWalker
{
internal readonly InterpretationContext Context;
internal Interpreter(InterpretationContext con... |
7f3d82ba9dae1d14b1685553d3b44dbfc7f1700e | C# | ludwig801/FEUP-IART | /Assets/Scripts/Board/PlaceWall.cs | 2.953125 | 3 | public class PlaceWall : Move
{
public Tile Tile;
public bool Horizontal;
public PlaceWall(Tile tile, bool isHorizontal)
{
Type = Types.PlaceWall;
Tile = tile;
Horizontal = isHorizontal;
}
public override string ToString()
{
return string.Format("Place Wall... |
c826f0ed8ffb67e4ce1dba6fef7986381bf30c63 | C# | WilliamKinzig/WebApp_steps | /03_DynamicViews_Razor/BillyLetter.Solution/BillyLetter/Controller/HomeController.cs | 2.515625 | 3 | using Microsoft.AspNetCore.Mvc;
using BillyLetter.Models;
namespace BillyLetter.Controllers
{
public class HomeController : Controller
{
// [Route("/hello")]
// public string Hello() { return "Hello friend!"; }
[Route("/goodbye")]
public string Goodbye() { return "Goodbye frien... |
4024b2f8f92b7fa74663099a4b4d22b130232e39 | C# | viniciusstroher/animalsAPI | /AnimaisAPI/Controllers/DefaultController.cs | 2.734375 | 3 | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Description;
namespace AnimaisAPI.Controllers
{
public class DefaultController : ApiController
{
/// <summary>
/// Método simples para efetuar autenticação na api de testes.
/// </summary>
... |
d94839b565a126dec1fa15d3ed6e0d67f3403235 | C# | yd4825/Dino_Run | /Dino_Run/Assets/GameManager.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
// Start is called before the first frame update
public float Level(int score)
{
int defaultSpeed = -6;
int increSpeed = (score * -1) / 100;
if (increSpee... |
0abe4cca2bc8cf3aab2ccffba843724e555a8b12 | C# | vflsva/Boa | /Components/RearrangeAlgorithmComponent.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using Grasshopper;
using Grasshopper.Kernel;
using Rhino.Geometry;
namespace Boa
{
public class RearrangeAlgorithmComponent : Boa_AlgorithmComponent
{
private readonly int[] defaultPattern = new int[] { 0, 0, 1, 1 };
public RearrangeAlgorithmCo... |
653a734f59d98314feb3ee2ffdfcc834d87cf71e | C# | DavidnStahl/DateTimeLab | /DateTimeLabbar/Lab1.cs | 3.578125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DateTimeLabbar
{
class Lab1
{
/*1. Skriv ett program som tar fram aktuell datum och tid och skriver ut
Expected Output:
Complete date: 2019-09-06 12:1... |
856cc0b45206b60b96a6947335bdfa9465a367db | C# | rveens/OOPA | /LogicFileParser/LogicFileParser/IO/Parsing/CircuitFileParser.cs | 3.15625 | 3 | #region Using Statements
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using Parser.IO.Parsing.Exceptions;
#endregion
namespace Parser.IO.Parsing
{
/// <summary>
/// Helps parsing Circuit Files to build a circuit.
/// </summary>
public abstract class CircuitFi... |
3d818b3b01a8119dd7f11819ec9550558579eff9 | C# | kosmonafta666/C-Fundamentals | /Methods. Debugging and Troubleshooting Code/Methods and Debugging-Lab/Price Change Alert/Program.cs | 3.859375 | 4 | using System;
class PriceChangeAlert
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
double threshold = double.Parse(Console.ReadLine());
double previousPrice = double.Parse(Console.ReadLine());
for (int i = 0; i < n - 1; i++)
{
double current... |
e73858df07f7edac6369e91a9b2772cab81717f2 | C# | virtualcca/OrleansTest | /OrleanGrains/Account.cs | 2.8125 | 3 | using System.Threading.Tasks;
using OrleanInterface;
using Orleans;
namespace OrleanGrains
{
public class Account : Grain, IAccount
{
public int Money { get; set; }
public async Task TransferAsync(int amount)
{
await Task.Delay(1);//转账总要点时间把,延迟个1ms,同时为了避免假异步
Mo... |
597b6f8c6966e017484c12dd99c80fc674512f37 | C# | BLG252E/BLG252E_2020Spring | /week4/Week4_Example_Primes/Program.cs | 4.03125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Week4_Example_Primes
{
class Program
{
static Dictionary<int, int> PrimeFactors(int n)
{
// A place to store the final result
Dictionary<int, int> factors = new Dictionary<int, int>(... |
a6b8aa5daa82c87014d3c0e8936bddbc35479955 | C# | 1bcrona/EventStore.PoC | /EventStore.API/Model/ApiException.cs | 2.5625 | 3 | using System;
using System.Net;
namespace EventStore.API.Model
{
public class ApiException : Exception
{
#region Public Constructors
public ApiException(string errorCode, string errorMessage, HttpStatusCode statusCode)
{
ErrorCode = errorCode;
ErrorMessage = er... |
ac356b5cd785ac86a22b602f071105ec657e278c | C# | asalieto/procedural-animation | /Assets/Scripts/Mover.cs | 2.53125 | 3 | using System.Collections;
using UnityEngine;
public class Mover : MonoBehaviour
{
public Vector3 LastDirection => m_lastDirection;
void Awake()
{
StartCoroutine(LegUpdateCoroutine());
}
private IEnumerator LegUpdateCoroutine()
{
while (true)
{
if(m_enabled... |
5c94d3bc5f0194bdf6115c1a52a0a940618ee4ec | C# | tisorocaba/NETCommons | /Sorocaba.Commons.Entity/Conventions/CustomConvention.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Sorocaba.Commons.Entity.Conventions {
public class CustomConvention... |
dd138197b4a6eb85baf7eb719a0582357619d741 | C# | MinaNguyenBH/ComponentOne-WPF-Samples | /NET_4.5.2/C1.WPF.FlexGrid/CS/ExcelBook/C1.WPF.FlexGridBook/ColorScheme.cs | 2.875 | 3 | using System;
using System.Windows;
using System.Windows.Media;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using C1.WPF.FlexGrid;
namespace C1.WPF.FlexGridBook
{
/// <summary>
/// Specifies the color scheme used to display the control.
/// </summary>
public enum ColorSchem... |
d3364ce05f0d04c95703c4c4f845403a93b937ee | C# | dupuyjs/rimshot | /Libraries/Echonest/Models/LicenseType.cs | 2.6875 | 3 | using System;
namespace Echonest.Models
{
public class LicenceType
{
public LicenceTypeEnum Type { get; set; }
public override string ToString()
{
switch (this.Type)
{
case LicenceTypeEnum.EchoSource:
return "echo-source";
... |
1ffbcb4efdd5d26eac0e4f9e8973ef00d7a694b8 | C# | bendris80/ClassProject | /ClassProject/FCTDataTests/PersonTest.cs | 2.640625 | 3 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FCTDataModel;
using System.Linq;
namespace FCTDataTests
{
[TestClass]
public class PersonTest
{
[TestMethod]
public void Create()
{
using (var pm = new PersonManager())
{
... |
0c072d5cdc26cfff8dae56f3cf4c1e69ca3e03f1 | C# | wangxin5355/Aster.Core | /Aster.Common/Utils/DisplayUtil.cs | 3.21875 | 3 | using System;
namespace Aster.Common.Utils
{
public static class DisplayUtil
{
public static string ToFmtString(this decimal d)
{
string s = d.ToString("G");
if (s.Contains('.'))
{
return s.TrimEnd('0').TrimEnd('.');
}
... |
7d68c15b8533bec94eb2e23ecf2ec4aee87c5359 | C# | sergey-savosin/TryLangCSharp71 | /TryLang71/Program.cs | 3.375 | 3 | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using static System.Console;
namespace TryLang71
{
class Program
{
static async Task Main(string[] args)
{
var results = Enumerable.Range(1, 40)
.Select(input => (input, task: FibonacciAsync(i... |
5c698c6cc04f92424b232a8eb89b6877a8652d2f | C# | dogukanturan/dotnet-examples | /dotnet_form_example/readerwriter.cs | 2.9375 | 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 dotnet_form_example
{
public partial class readerwriter : Form
{
... |
f8dd44d1b9d270bb66c585ad99f9ca22565a8dc6 | C# | KseniaSadrina/TheArrow | /ArrowGame/Assets/Scripts/Stats/CharacterStats.cs | 2.71875 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharacterStats : MonoBehaviour {
public int maxHealth = 100;
public int currentHealth { get; private set; }
public Stat damage;
public Stat armor;
public event Action<int, int> onHealthChanged;
public eve... |
58727b2b47682dc19d1ae9a9479063cdeee27b52 | C# | shendongnian/download4 | /code4/601268-32953568-101125698-2.cs | 2.890625 | 3 | public static void Add(this GroupPrincipal group, Principal child)
{
group.Members.Add(child);
LogFile.WriteLine("Added {0} to group", child.Name);
//Do whatever else you have to do...
}
|
9849538cb64a124bc07b363f7338d04ee7f82ac7 | C# | It3rate/Stim | /Stim/Fluid/Vector.cs | 3.109375 | 3 | using System;
public class Vector {
public double x,y,z,w;
public Vector() {
x=0.0; y=0.0; z=0.0; w=1.0; }
public Vector(Vector v) {
x=v.x; y=v.y; z=v.z; w=v.w; }
public Vector(double x,double y,double z) {
this.x=x;this.y=y;this.z=z;this.w=1; }
public Vector(double x,double y,double z,double w) {
th... |
cdc27a99e3721966eb4fdb32bc5c828b52466e4b | C# | dnmitev/DataStructuresAndAlgorithms | /LinearDataStructures/StackImplementation/Demo.cs | 3.484375 | 3 | // 12. Implement the ADT stack as auto-resizable array. Resize the capacity on demand (when no space is
// available to add / insert a new element).
namespace StackImplementation
{
using System;
using System.Linq;
internal class Demo
{
private static void Main()
{
var sta... |
205b10cc2fe570bd3f9c9895a047df5a03153fba | C# | JonSaffron/Labyrinth | /Labyrinth/GameObjects/Boulder.cs | 2.578125 | 3 | using Labyrinth.Services.Display;
using Microsoft.Xna.Framework;
namespace Labyrinth.GameObjects
{
public class Boulder : MovingItem
{
// Animations
private const string TextureName = "Sprites/Boulder/Boulder";
private readonly StaticAnimation _animationPlayer;
... |
53d08afb058500682e54b5ac3f6e5a74d60dc29a | C# | KloderGit/ServiceManagement | /SM.Common/DTO/EducationProgramDTO.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace SM.Common.DTO
{
public class EducationProgramDTO
{
public string Guid { get; set; }
/// <summary>
/// Название программы
/// </summary>
public string Title { get; set; }
/// <summary>
... |
1dad52a6d1fe0f4ae507f6c223be9b51d36799d4 | C# | DayanaAM/BereSystem- | /BereSystem/Model/Class/DetalleFactura.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BereSystem.Model.Class
{
public class DetalleFactura
{
public int numFactura { get; set; }
public int producto { get; set; }
public int servicio { get; set; }
public int precio { get;... |
32bef5be8e03e80c33b443a09c8e4c8baa294463 | C# | cnrtks/KabobwichesAsp | /KabobwichesAsp/Models/PaymentInformation.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KabobwichesAsp.Models
{
public class PaymentInformation
{
[Key]
public int Id { get; set; }
private CardTyp... |
5cd8fc66e27c88ac1677b5997d238d88c158a771 | C# | Maran777/Rainbow-School | /Program.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApp13
{
class program
{
static TeacherRepostiory repositary = new TeacherRepostiory();
static void choice1()
{
reposit... |
e247bcb7737a3937c2bde4dacf7533033b4f46be | C# | swenmeeuwes/ludum-dare-42 | /Game/Assets/Scripts/Application/InputManager.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Zenject;
public enum InputType
{
KeyboardAndMouse,
Controller
}
public class InputManager : ITickable
{
#region Injected
private SignalBus _signalBus;
private ControllerSettings _controllerSettings;
#endreg... |
94023a2dadc66909f77e90bb5f615a6f6ef9bc80 | C# | maxlov/holbertonschool-csharp | /0x0D-csharp-text_based_interface/InventoryLibrary/JSONStorage.cs | 3.46875 | 3 | using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using InventoryLibrary;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace InventoryLibrary
{
///<summary>Inventory class for inventory management.</summary>
public class JSONStorage
{
///<summa... |
1782fdbe26e297f50758a68bc7a507ad97f71bdd | C# | MohammadChamanpara/DDoS-STONE | /src/Stone/Threading/LibraryBackgroundTimer.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Threading;
using Library.Log;
namespace Library.Threading
{
public class LibraryBackgroundTimer : BackgroundWorker
{
#region Variables
private ManualResetEvent interv... |
17bc471533a9c81ec05db72a3cfc1b754763e2fd | C# | GoldenR1618/SoftUni-Exercises-and-Exams | /05.C#_Advanced/10.ASYNCHRONOUS_PROGRAMMING/09. CSharp-Advanced-Asynchronous-Programming-Demos/02. Async/Program.cs | 3.796875 | 4 | namespace _02.Async
{
using System;
using System.Threading;
using System.Threading.Tasks;
class Program
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
Task task = new Task(() => PrintNumbersInRange(n));
task.Start();
Co... |
09165fb49b1020d9e43f0ef27ce40ea5698bba19 | C# | veenadili/MercuryToursFlightReservationAutomation | /Automate MercuryTours/MercuryTourTest/MercuryTourTest.cs | 2.59375 | 3 | using Automate_MercuryTours.MercuryTourPOM;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using System.Threading;
namespace Automate_MercuryTours.MercuryTourTest
{
public class MercuryTourTest
{
private IWebDriver driver;
[SetUp]
public void SetUp()
... |
1d18d852b572977687814fcb2f1e883fc93b9de2 | C# | ImanberdiA/WebApiApp | /WebApiApplication/Models/Person.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace WebApiApplication.Models
{
public class Person
{
public int Id { get; set; }
[Required(ErrorMessage = "Не указали ИИН")]
[RegularExpression(@"^\d... |
af08329b612ba6a19d988100f089292772ac380f | C# | mantasdamijonaitis/Defect-Report | /src/DAL/Models/Company.cs | 2.5625 | 3 | using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL.Models
{
public class Company
{
public int Id { get; set; }
public string Title { get; set; }
public string Code ... |
659cf72aef5085abaaabf39c8f678779932ad828 | C# | aminebz949904/ShoppingCartTest | /FruitShop/Offers/ThreeForPriceOfTwo.cs | 3.25 | 3 | using FruitShop.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace FruitShop.Offers
{
public class ThreeForPriceOfTwo : IOffer
{
public decimal GetPrice(int number, decimal unitPrice)
{
var price = 0m;
var threeNumber = (decimal)nu... |
96a6113a574a8d1b84ff60bde350f9d770892d7f | C# | ram0973/ADControl | /Form1.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.DirectoryServices;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ADcontrol
{
public partial class Form1 : Form
{
... |
1199143beb17f1fc56e132e273daee578cfd8af6 | C# | alduleacristi/auction-csharp-tmis-an1 | /ServiceLayer/ServicesImplementation/CurrencyService.cs | 2.609375 | 3 | using DataMapper;
using DataMapper.Exceptions;
using DomainModel;
using ServiceLayer.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceLayer
{
public class CurrencyService : ICurrencyService
{
priva... |
4433ad4c5573a5c84ae4080fa2b11455ab5bc456 | C# | SuperMap/iClient-for-Win8 | /iClient60ForWinRT/SuperMap.WinRT.REST/TrafficTransferAnalyst/TransferGuide.cs | 2.765625 | 3 | using System;
using Windows.Data.Json;
using SuperMap.WinRT.Utilities;
namespace SuperMap.WinRT.REST.TrafficTransferAnalyst
{
/// <summary>
/// <para>${REST_TransferGuide_Title}</para>
/// </summary>
public class TransferGuide
{
/// <summary>${REST_TransferGuide_constructor_D}</summary>
... |
589d80136c3b9f3fe53c32ff2b302b6d51cc316d | C# | fbreedon/ThisIsYourLaser | /Assets/Scipt/BoardManager.cs | 2.5625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum Building { Empty, Base, Blocking, Reflecting, Refracting, Redirecting, Portal, Resource, Laser };
public enum Player { World, PlayerOne, PlayerTwo };
public struct GridItem
{
public bool isEmpty;
public Buildin... |
99e027acf5cea9eec0b78c90bd5d2c0a22093bfa | C# | jakop345/CoinifyApi.Net | /CoinifyApi/Endpoints/CoinifyInvoiceEndpoint.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CoinifyApi
{
/// <summary>
/// The endpoint for working with invoices
/// </summary>
public class CoinifyInvoiceEndpoint : CoinifyEndpoint
{
... |
4014fd25f55b6a82641b5afaa5b10c7a8e3fc792 | C# | BrandonCookeDev/FightingGameOverlayGenerator | /SmashOverlayGeneratorMk2/SmashOverlayGeneratorMk2/BackendOps/ScoreManager.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SmashOverlayGeneratorMk2.BackendOps
{
class ScoreManager
{
public static void decrementPlayer(Int32 score, TextBox playerTextbox)
{
score--;
playe... |
34f23ad41f5d78988b72610eec3217da5ee4e269 | C# | zalhex/WebAPIcrud | /Data/ApiRepository.cs | 2.9375 | 3 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAPIcrud.Data.Interfaces;
using WebAPIcrud.Models;
namespace WebAPIcrud.Data
{
public class ApiRepository : IApiRepository
{
private readonly DataContext _conte... |
e4840989334e8efed0114d53ed1b2470ee0d70cc | C# | shkurmander/Module25 | /Task1/BaseAccount.cs | 3.359375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Task1
{
class BaseAccount : IAccount
{
public double Balance { get; set; }
public double Interest { get; set; }
public BaseAccount(double balance)
{
Balance = balance;
}
p... |
8c44bd18b62e645562253b5e59362cf6068e59ad | C# | quyentruong/MoneySQL | /Banker/Banker/UI/SignUp.xaml.cs | 2.75 | 3 | using System.Text.RegularExpressions;
using System.Windows;
using Banker.Database;
namespace Banker
{
/// <summary>
/// Interaction logic for SignUp.xaml
/// </summary>
public partial class SignUp
{
public SignUp()
{
InitializeComponent();
DataContext = new... |
3ed9be36a790e31affb1dcbd48f10f17ad0a3227 | C# | rhgtvcx/tap-desktop | /TheAirline/GraphicsModel/Converters/GeneralConverters.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Globalization;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using TheAirline.Model.AirlineModel;
using ... |
c42b0298fed821954aaee4c3cc7def91b6a3a764 | C# | alunacjones/LSL.Swashbuckle | /LSL.Swashbuckle.Tests/CustomData/CustomDataBuilderTests.cs | 2.75 | 3 | using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using LSL.Swashbuckle.CustomData;
using NUnit.Framework;
namespace LSL.Swashbuckle.Tests.CustomData
{
public class CustomDataBuilderTests
{
private CustomDataBuilder BuildSut()
{
return new CustomDataBuilde... |
1a8c66156e50919227777149f12e843e9c0487a6 | C# | fabianaguirre10/Fuente_industrial | /Mardis.Engine.Web/Libraries/Util/BulkLoadUtil.cs | 2.890625 | 3 | using System;
using System.IO;
using Microsoft.AspNetCore.Http;
namespace Mardis.Engine.Web.Util
{
/// <summary>
/// Util de Carga de archivos
/// </summary>
public class BulkLoadUtil
{
/// <summary>
/// Validar contenido de archivo
/// </summary>
/// <param name="... |
d92212ee7cb6295fd8ee95962144835431035945 | C# | brajkowski/ANN_Visualization | /ANN_Visualization/src/SFMLGeometryUtility.cs | 3.453125 | 3 | using System;
using SFML.Graphics;
using SFML.System;
namespace ANN_Visualization.src
{
public static class SFMLGeometryUtility
{
// Generates a line between any two points.
public static RectangleShape GenerateLine(ref Vector2f from, ref Vector2f to, float width)
{
float l... |
73ca308e6c0a4bebd112d21676fcbb80791ce066 | C# | Cheleenes/Overtake2 | /Assets/Scripts/Team.cs | 2.625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Team : MonoBehaviour
{
int teamId_;
List<Player> teamPlayers_;
[SerializeField] List<GameObject> teamCells;
public static List<Team> teams = new List<Team>();
public static Dictionary<int, Color> teamColors... |
85d366fd45d7abf67c00a2bfe02cdf05ddf3218f | C# | geetha19983b/CMAServiceTemplate | /CMAService.Business/BusinessAccess.cs | 2.765625 | 3 | using CMAService.Repository;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace CMAService.Business
{
public class BusinessAccess : IBusinessAccess
{
private readonly IDataAccess _dataAccessObj;
public BusinessAccess(IDataAccess dataAccessObj)
{
... |
d85f5a591a3361701c302368e316eb871d8ae556 | C# | jvaneg/MediSched | /P3/MonthDayBoxControl.xaml.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
5f56fbb1b45c9f4b3907d04babfc43a6256ba25b | C# | arveeidjord/Prisforslag | /Corinor/Modell/Tilvalg/TilvalgElement.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Corinor.Modell.Tilvalg
{
[Serializable]
public class TilvalgElement
{
public string TilvalgTittel { get; set; }
public double Pris { get; set; }
public double MinstePris { get; set; }
... |
6bb7b061aff840901c64e7fc96e0b46908a8ecb0 | C# | DesignerdriP/Ozrk-RDR-GTA-DISSAMBLY | /mscorlib/System/MulticastNotSupportedException.cs | 2.515625 | 3 | using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// <summary>The exception that is thrown when there is an attempt to combine two delegates based on the <see cref="T:System.Delegate" /> type instead of the <see cref="T:System.MulticastDelegate" /> type. This... |