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 |
|---|---|---|---|---|---|---|
2faa6952d93bf7df2c75e4941662a34d71d6d5b3 | C# | studentazz/CodeJamProject | /CodeJam/Problems/Problem1.cs | 2.703125 | 3 | using System;
namespace CodeJam.Problems
{
public class Problem1 : IProblem
{
public bool IsSoved(string output)
{
if (output == null) return false;
output = output.Trim(new char[] { '\r', '\n', ' ' });
throw new NotImplementedException();
}
... |
8b49fd396307e78536b876df36c6d847c8c5c67c | C# | Clackgot/RIAA | /RIAA.4/Form1.cs | 2.515625 | 3 | using System;
using System.Windows.Forms;
namespace RIAA._4
{
public partial class Form1 : Form
{
private Panel inputs;
private Panel labels;
private NumericUpDown inputA;
private NumericUpDown inputB;
private NumericUpDown inputEps;
private NumericUpDown inputN... |
552943408a63133a42f24d6617e6e6f0c8301cf0 | C# | sephirothwzc/Sephiroth.Common | /StringExten/SIC_Exten.cs | 2.671875 | 3 | namespace Sephiroth.Infrastructure.Common
{
using System;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Web.Security;
/// <summary>
/// 通用字符串扩展
/// </summary>
public static class SIC_Exten
{
... |
cde7ac7b82c8c6141718373d11f9c1f18367d762 | C# | Pathoschild/smapi-mod-dump | /source/Family Planning/FamilyPlanning/ContentPackData.cs | 2.90625 | 3 | /*************************************************
**
** You're viewing a file in the SMAPI mod dump, which contains a copy of every open-source SMAPI mod
** for queries and analysis.
**
** This is *not* the original file, and not necessarily the latest version.
** Source repository: https://github.com/loe2run/FamilyPl... |
fc6d47dfd713fd85bfe190d23996b60117b2524d | C# | dvenkat508/OTMC | /OTMC/Classes/ServerConnection.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
namespace OTMC.Classes
{
class ServerConnection
{
public static readonly Socket ClientSocket = new Socket(AddressFamily.InterNetwork, SocketTy... |
8393cb1179c7079ac72900c9a80e64d1f7b42045 | C# | MoacirSilva/googleBooks | /BooksRepo.cs | 2.734375 | 3 | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace googleBooksApp
{
public class BooksRepo
{
public static async Task<Books> GetBookssAsync()
{
HttpClient cli... |
fdaa77e5288a72e4685b5fcf11bc7b3c6391af1b | C# | oldmonitor/NetDataStructure | /DataStructureProblems.Test/BacktrackingProblems/FindAllPossibleSubsetsTest.cs | 2.796875 | 3 | using DataStructureProblems.BacktrackingProblems;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataStructureProblems.Test.BacktrackingProblems
{
[TestClass]
public class FindAll... |
a38142b4c9be4efefb41683c3da4080bc477a21f | C# | ascensivetechnologies/Line-Of-Credit-Management-Platform | /AMP/z_RiskClasses/RiskDocumentCollection.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AMP.Models;
using AMP.Services;
using AMP.ViewModels;
namespace AMP.RiskClasses
{
public class RiskDocumentCollection
{
private IEnumerable<RiskDocument> _riskDocuments;
private IDocumentService _documen... |
50b8a67ec9700b82da6ea88baf880053c601466f | C# | fgranados1693/Coworkspaces | /ProyectoFinal/DataAccess/Crud/DocumentoCrudFactory.cs | 3.09375 | 3 | using DataAccess.Dao;
using DataAccess.Mapper;
using Entities_POJO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccess.Crud
{
public class DocumentoCrudFactory : CrudFactory
{
DocumentoMapper mapper;
public ... |
e1a7ed9226087a2aba767b4958c5d1829c838bd0 | C# | Xin-Shiyu/NDictPlus | /NDictPlus/Compatibility/VersionedDictionary.cs | 3 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;
using System.Xml;
using System.Globalization;
namespace NDictPlus.Compatibility
{
// used for migrating from the old ndict
public class VersionedDictionary : IDictionary<string, str... |
da1a6e5530d97ad4516f1dc539cde924366b1519 | C# | guillermocorrea/ds-algos | /tests/ProblemsTests/DataStructures/Heap/MaxHeapTests.cs | 3.15625 | 3 | using Problems.DataStructures.Heap;
using Xunit;
namespace ProblemsTests.DataStructures.Heap
{
public class MaxHeapTests
{
[Fact]
public void CanInsertMinHeap()
{
// Given
var minHeap = new Heap<int>(int.MinValue, int.MaxValue, HeapType.MinHeap);
// W... |
842e81081d445364f9f24d58494108e3bbbb34a2 | C# | Xyaneon/Xyaneon.Bioinformatics.FASTA | /Xyaneon.Bioinformatics.FASTA.Test/Identifiers/ThirdPartyEMBLIdentifierTest.cs | 2.703125 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Xyaneon.Bioinformatics.FASTA.Identifiers;
namespace Xyaneon.Bioinformatics.FASTA.Test.Identifiers
{
[TestClass]
public class ThirdPartyEMBLIdentifierTest
{
private const string Code = "tpe";
private const string Access... |
a10bf84bde1bc68a1440101d90bf307a78a6e6a0 | C# | AdamBallinger/Fragmentum | /Assets/Scripts/Objects/BatBoss/GateController.cs | 2.546875 | 3 | using System.Collections;
using UnityEngine;
namespace Assets.Scripts.Objects.BatBoss
{
public class GateController : MonoBehaviour
{
public float moveSpeed = 1.0f;
public float closeDistance = 1.0f;
private bool isClosed;
private Vector3 openPos = Vector3.zero;
priv... |
e74b080a057c476a95c8cc2cbcac83a11aa26f23 | C# | Andi11449/mathnet-numerics | /src/Numerics/LinearAlgebra/Matrix.Indexing.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MathNet.Numerics.LinearAlgebra
{
public abstract partial class Matrix<T>
{
public Vector<T> this[int row, Indexer columns]
{
get {
columns.Init(ColumnCount);
... |
3bd1a66067634aa57187abf5b44057bd156bfd20 | C# | discord-net/Discord.Net | /docs/guides/entities/samples/safety-cast-pass.cs | 3.296875 | 3 | private void MyFunction(IMessage message)
{
// Here we do the reverse as in the previous examples, and let it continue the code below if it IS an IUserMessage
if (message is not IUserMessage userMessage)
return;
// Because we do the above check inline (don't give the statement a body),
// the c... |
f3e73ea758b020950eb4bc04301d6cb34632a032 | C# | Khantastic96/Hemorrhage | /Hemorrhage/Assets/Project/Scripts/Game/ForceReceiver.cs | 2.6875 | 3 | /**
* Created DD/MM/2020
* By: Sharek Khan
* Last Modified DD/MM/2020
* By: Sharek Khan
*
* Contributors: Sharek Khan
*/
using UnityEngine;
/*
* ForceReceiver applies a kickback force to a GameObject containing the CharacterController Component
* Code based on Zenva Studios -COMPLETE COURSE Create a Unity ... |
858f67605d137da66bf1399ce47b836ea8bcc265 | C# | dotnet/efcore | /src/EFCore/Diagnostics/LoggerCategory.cs | 2.5625 | 3 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.EntityFrameworkCore.Diagnostics;
/// <summary>
/// Generic helper class used to implement the <see cref="Name" /> property.
/// </summary>
/// <remarks>
/// ... |
428736cf35c11e6b893998fff49f492eaa382b19 | C# | NickOosterhuis/FriendshipBenchCleanBack | /WebApi/Seeders/UserRoleSeeder.cs | 2.609375 | 3 | using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApi.Seeders
{
public class UserRoleSeeder
{
private readonly RoleManager<IdentityRole> _roleManager;
public UserRoleSeeder(RoleManager<IdentityRo... |
d56a267a3e06cc7564a493725f0cb275b6a37018 | C# | naik899/ReadTextFromImage | /ReadFromImage/Helpers/ImageParser.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tesseract;
namespace ReadFromImage.Helpers
{
public class ImageParser
{
internal static string GetTextFromImage(Bitmap imgsource)
{
... |
a5a537aeebfea9a4d0ceea626bccc8b5b7d81984 | C# | zzattack/munia | /MUNIA-win/SVG#/External/ExCSS/Model/TextBlocks/StringBlock.cs | 3.21875 | 3 |
namespace ExCSS.Model.TextBlocks
{
internal class StringBlock : Block
{
StringBlock(GrammarSegment type)
{
GrammarSegment = type;
}
internal static StringBlock Plain(string data, bool bad = false)
{
return new StringBlock(GrammarSegment.String) ... |
54f177ba48d9fb62402b5fe54d0f7b67280daa25 | C# | Gustice/Public-Status-Indicator | /PublicStatusIndicator/Webserver/RequestParser.cs | 3.078125 | 3 | using System;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
namespace PublicStatusIndicator.Webserver
{
internal static class RequestParser
{
/// <summary>
/// Tries to get the (Basic) authorisation credentials out of the given request string
/// </summary>... |
ae7c6347affb3e605a76ca630f3d23a3043f921f | C# | userv/programming-fundamentals | /exercises/ObjectsAndSimpleClasses-MoreExercises/4.Websites/Websites.cs | 3.5 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _4.Websites
{
class Websites
{
public class Website
{
public string Host { get; set; }
public string Domain { get; set; }
public Lis... |
f34a6ea3695ce37ae4b77cfd4d4da601b31e6945 | C# | ArturTrainee/programing.term4 | /Lab3/Exercise8And9/RegistrationForm.cs | 2.90625 | 3 | using System;
using System.Drawing;
using System.Windows.Forms;
namespace Lab3.Exercise8And9
{
public partial class RegistrationForm : Form
{
public RegistrationForm()
{
InitializeComponent();
}
private void CheckBox1_CheckedChanged(object sender, EventArgs e)
... |
7761523f0eb806c7c7c244ac8dbd0e172cd12e90 | C# | glcherepanov/rp | /ds-3/JobLogger/RedisDbContext.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Microsoft.Extensions.Configuration;
using StackExchange.Redis;
namespace JobLogger
{
class RedisDbContext
{
public static string GetDesription(string id)
{
string currentDirectoryPath = Direct... |
3b417c9e4c98534c0a6b15d784a69b0824c576ac | C# | tolgasavass/yazilimGelistirmeKampi | /myDictionary/myDictionary/myList.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace myDictionary
{
class myList<Tip>
{
Tip[] array;
Tip[] tempArray;
public myList()
{
array = new Tip[0];
}
public void Add(Tip item, string ... |
1651c9421745cf6321fc38b9ec43a3ffe61e768e | C# | ikedatatsuya0802/Ongaku_Game | /Shooting_Game/Assets/Script/SingletonMonoBehaviour.cs | 3.046875 | 3 | using System.Collections;
using UnityEngine;
/// <summary>
/// MonoBehaviourのシングルトン対応クラス
/// </summary>
public class SingletonMonoBehaviour<T> : MonoBehaviour where T : SingletonMonoBehaviour<T>
{
protected static T instance;
/// <summary>
///インスタンスのゲッター
/// </summary>
/// <returns>クラスインスタンス</returns>
public sta... |
52ebfdcce195098a8e5d9364b2bc3c6a9d33f916 | C# | anotherlab/thedoctors-deprecated | /Doctors/Doctors.iPhone/DetailViewController.cs | 2.515625 | 3 | using System;
using System.Drawing;
using System.Collections.Generic;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Doctors.Models;
namespace Doctors.iPhone
{
public partial class DetailViewController : UIViewController
{
DoctorActor detailItem;
private UILabel ActorLabel, Actor, I... |
73dca3f3b2949ac3aceecb1086ad8558f0c8f369 | C# | zleao/MvvmCross-Extensions | /Libraries/MvxExtensions/Extensions/AssemblyExtensions.cs | 3.0625 | 3 | using System.Reflection;
namespace MvxExtensions.Extensions
{
/// <summary>
/// Extensions for Assembly type
/// </summary>
public static class AssemblyExtensions
{
/// <summary>
/// Gets the name of the assembly.
/// Deals with null source
/// </summary>
//... |
a690780487e69372b84ad56ff4f8ba576f14ab26 | C# | AlexandRLV/SomeUniversityWork | /AdoNetApp1/AdoNetApp1/EditCategoryForm.cs | 3.046875 | 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 AdoNetApp1.Models;
namespace AdoNetApp1
{
public partial class EditCategoryForm : Form
{
... |
716d3ec5147f518b68bc6b7fc0179ab27c675d77 | C# | jimolle/MVCDesignmonster | /MVCDesignmonster.Test/BusinessObjectsTests/EmployerRepositoryTests.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MVCDesignmonster.BusinessObjects.Models;
using MVCDesignmonster.BusinessObjects.Repository;
using MVCDesignmonster.Test.Fakes;
namespace MVCDesignmonster.Test.Busi... |
d4f14ff67f17fe73d2834d687d0183ff9cb6cdf2 | C# | zhangmeng1226/Mohawk_Battleship | /Bots CSharp/DaveBot_1_4_5/HuntingMap.cs | 2.65625 | 3 | using MBC.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MBC.Controllers.DaveBot_1_4_5 {
class HuntingMap : ProbabilityMap {
protected const bool RESET_HUNTING_ON_SINK = true; // Wipes hunting mode memory when a ship is sunk, if false,
prot... |
28a9c32eeb99d962b612a483d80c72dc12823181 | C# | quanliang2000/eventbus | /examples/InMemoryUnitTest/SimplePublisherTests.cs | 2.5625 | 3 | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tingle.EventBus;
using Tingle.EventBus.Transports.InMemory;
using Xunit;
namespace InMemoryUnitTest
{
public... |
a3e5bbfd5fb2b377d839413b995a7a5f698f6eb4 | C# | bytting/gammalab | /GammaGUI/FormGammaGUI_ShowText.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace GammaGUI
{
public partial class FormGammaGUI_ShowText : Form
{
private bool m... |
6bf51d3b0a9f48388893aa15cffe40d9d0b7a0ac | C# | Herdubreid/Celin.AIS.Data | /src/Literal.cs | 2.53125 | 3 | using Pidgin;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using static Pidgin.Parser;
namespace Celin.AIS.Data
{
public class Literal
{
public static readonly Regex VARIABLE = new Regex(@"^%VARIABLE:(\w+)(?>\[(\d+)\])?:%");
static readonly Parser<char, int> Index =
... |
d7edbad8877ba9535b3f7fa8e737fc5069230b95 | C# | shendongnian/download4 | /code5/937870-23602620-64906815-2.cs | 2.5625 | 3 | private async void ResponseCallback(IAsyncResult asyncres)
{
try
{
HttpWebRequest wreq = (HttpWebRequest)asyncres.AsyncState;
HttpWebResponse wres = (HttpWebResponse)wreq.EndGetResponse(asyncres);
StreamReader sr = new StreamReader(wres.GetResponseStream(... |
b56d1e5b361c03fd7993d055ee3c7bfa8554ca0b | C# | synara/perceptron | /Perceptron/Perceptron/Perceptron.cs | 3.421875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Perceptron
{
public class Perceptron
{
private static double[] inputs;
private static double classe;
public static int ativador(double saida)
{
... |
f3296761b44223bd95e5c1df57fcbb7b10f955d0 | C# | b1712/UAVLandingSYS_Ship | /ShipImplementation/TestBusinessLayer/TestShipMotion.cs | 2.796875 | 3 | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Assets.BusinessLayer;
using System.Reflection;
//using Assets.PresentationLayer;
namespace TestBusinessLayer
{
[TestClass]
public class TestShipMotion
{
/... |
d6fd055feeea766c09922c1b618d93f2575baf19 | C# | frogsbreath-games/deckbuilder | /src/Deckbuilder.Core/Builders/Cards.cs | 2.640625 | 3 | using System.Collections.Generic;
using Deckbuilder.Core.Enums;
using Deckbuilder.Core.Models;
using Deckbuilder.Core.Models.CardTypes;
namespace Deckbuilder.Core.Builders
{
public static class Cards
{
public static SpellCard Spell(
int id,
string name,
int price,
CardAction? effect = null,
IEnumer... |
09881c5b9cd4c4194dea22edc1f5df4ccb325d74 | C# | umittal/MunimJi | /trunk/packages/src/envers/Query/Criteria/AuditRelatedId.cs | 2.578125 | 3 | using NHibernate.Envers.Query.Property;
namespace NHibernate.Envers.Query.Criteria
{
public class AuditRelatedId
{
private readonly IPropertyNameGetter _propertyNameGetter;
public AuditRelatedId(IPropertyNameGetter propertyNameGetter)
{
_propertyNameGetter = propertyNameGetter;
}
public IAuditCrite... |
400b246c76ae2e022fb096448b297168f557445d | C# | samuel-clemens/WSN | /Zad2/ViewModels/ViewModel.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zad2.Common;
using Zad2.Models;
namespace Zad2.ViewModels
{
/// <summary>
/// Klasa ze wszystkimi zmiennymi do bindingowa... |
3328ce7b1240ed9b75c35eb481d9a522b13101e6 | C# | AshbyGeek/Thermostat | /Thermostat/HardwareVirtualization/VirtualHardwareViewModel.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Thermostat.HardwareVirtualization
{
public class VirtualHardwareViewModel
{
public VirtualSystem System { get; }
public VirtualClock Clock { get; }
public VirtualHardwareViewModel(VirtualSystem system, Virtu... |
62dff066c047b8be200371d93d6829119bf94da6 | C# | ypablo/StudentsDiary-C-sharp | /AddEditStudent.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace StudentsDiary
{
public partial class AddEditStudent : Form
{
... |
7671ef44735efcfa5c397be7e104f8260d9a55c0 | C# | DerekLiang/microphone-volume-controller | /VolumeControl/Settings.cs | 2.515625 | 3 | using System.ComponentModel;
using System.Configuration;
using System.Windows.Media;
namespace VolumeControl
{
public class Settings : ApplicationSettingsBase
{
[UserScopedSetting()]
[DefaultSettingValue("")]
public int DefaultVolume
{
get
{
... |
586589dcc917d7150bc69a32808e8512255945cd | C# | wangjialei001/Storage | /WeiCloudStorageAPI/Model/RequestBackStatuEnum.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WeiCloudStorageAPI.Model
{
public class Enumeration : IComparable
{
private readonly int _value;
private readonly string _displayName;
public int Value
{
get {... |
e98fbeb031381d80a485b016a518f0903741021c | C# | dukedhx/File-and-text-sharing-host | /ConsoleApplication1/WindowsFormsApplication1/SettingIO.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;
namespace WindowsFormsApplication1
{
static class SettingIO
{
static readonly public String pathname = "path", addrname = "addr", smtp ="smtp",pop3="pop3";
... |
59487a83f9306882aa2915047539f297a6b67212 | C# | AndreyAkinshin/perfolizer | /src/Perfolizer/Perfolizer/Mathematics/Sequences/ArithmeticProgressionSequence.cs | 2.796875 | 3 | namespace Perfolizer.Mathematics.Sequences;
public class ArithmeticProgressionSequence : ISequence
{
private readonly double start, step;
public ArithmeticProgressionSequence(double start, double step)
{
this.start = start;
this.step = step;
}
public double Value(int index) => sta... |
cb4aac1192bbed6fd61ffc15080a294925ce38c6 | C# | ADolodarenko/ExcelImageReader | /ExcelImageReader/Model/ImageLocators.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExcelImageReader.Model
{
public class ImageLocators
{
private String url;
private String name;
private String extension;
public ImageLocators(String ur... |
43e713e0568ca4762bb3bd432e4bc851647db1b2 | C# | Ryocham-prog/AtCoderCSharp | /ABC/166/AtCoder/Abc/QuestionB.cs | 3.28125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AtCoder.Abc
{
// https://atcoder.jp/contests/abc166/tasks/abc166_b
class QuestionB
{
public static void Main(string[] args)
{
using (var sw... |
a5339fee673c51ea38d09f597ddddaae3be8378a | C# | dotnet/dotnet-api-docs | /snippets/csharp/System.Windows.Forms/InputLanguage/FromCulture/source.cs | 2.921875 | 3 | using System;
using System.Data;
using System.ComponentModel;
using System.Windows.Forms;
public class Form1: Form
{
protected TextBox textBox1;
// <Snippet1>
public void SetNewCurrentLanguage() {
// Gets the default, and current languages.
InputLanguage myDefaultLanguage = InputLanguage.DefaultInputLanguag... |
6b72d7a8806686309b2bb742b8e448ba968fc6bf | C# | eeguia21/MicroMasterCSharpExercises | /Dynamic Programming/PlacingParentheses/PlacingParentheses/Program.cs | 3.609375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlacingParentheses
{
class Program
{
static void Main(string[] args)
{
int[] numbers = new int[6] {5, 8, 7, 4, 8, 9};
char[] ops = new char[5] {... |
1ddf0ac1228ee06bd1e25e06ba6fab6bb5e74835 | C# | hwiewie/LeetCode | /202.cs | 3.6875 | 4 | using System;
using System.Text;
namespace HN
{
class happynumber
{
static bool ifhappynum(string str)
{
int[] looktable = new int[] { 0, 1, 4, 9, 16, 25, 36, 49 , 64, 81 };
int[] result = new int[50];
int count=0;
while(true)
{
... |
d47070a8d91369ea096a6d299d576e0d91694ff1 | C# | EvansYe/bookingTest | /Server/BookingPlatform.Core/MyEnum/EnumPeriod.cs | 3.03125 | 3 | using System.ComponentModel;
namespace BookingPlatform.Common.MyEnum
{
public enum EnumPeriod
{
Morning = 1,
Nooning = 2,
Afternoon = 3,
Night = 4,
Other = 0,
}
public static class EnumPeriod_Class
{
public static string EnumPeriod_GetExplainByEnu... |
d70fc768f6dbd97b1edfdcd3bc4a9c9865f78039 | C# | dimitarpopov7/SoftUni | /SoftUni C# OOP Basic/1. Defining Classes Exercises/3. Opinion Poll/3. Opinion Poll/Program.cs | 3.515625 | 4 | namespace _3.Opinion_Poll
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main()
{
int n = int.Parse(Console.ReadLine());
var listPeople = new List<Person>();
for (int i = 0; i < ... |
978504cb396016b7a59273ee29df0611c4551387 | C# | MatheusRod0296/EClothing | /EClothing.Infra/SharedContext/RepositoryGeneric.cs | 2.859375 | 3 | using System.Collections.Generic;
using System.Linq;
using EClothing.Domain.SharedContext.Repository;
using Microsoft.EntityFrameworkCore;
namespace EClothing.Infra.SharedContext
{
public class RepositoryGeneric<TEntity, TKey> : IRepositoryGeneric<TEntity, TKey> where TEntity : class
{
private EClothin... |
4810464568e9d7a5f777e265c5faa1e06c9dfdd4 | C# | gdanielch9/DesignPatterns | /Command/MathLib.cs | 3.203125 | 3 | using System;
namespace Command
{
public class MathLib
{
protected int _value = 0;
public int Value
{
get { return _value; }
}
public void Add(int argument)
{
_value += argument;
}
public void Substract(int argument)
{
_value -=... |
851344d7a00904c3162094345fc2b398db81fc5b | C# | DylanJDCornish/VotingSystem | /constituencyvotingsystem/Report.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConstituencyVotingSystem
{
public class Report
{
public string RepType { get; set; }
public List<ConstituencyDataMeasure> TotalVotesDataMeasure { get; set;... |
75085befa628299602adfc984943fa8949d50e52 | C# | gitprojectjockey/CompleteMvcCodeFirstProject | /ContosoWebUI/Controllers/HomeController.cs | 2.65625 | 3 | using ContosoWebUI.DAL;
using ContosoWebUI.ViewModels;
using System.Linq;
using System.Web.Mvc;
namespace ContosoWebUI.Controllers
{
public class HomeController : Controller
{
private SchoolContext db = new SchoolContext();
public ActionResult Index()
{
return View();
... |
590fa07d70bcc05e619a7ca7b3bfab2867586394 | C# | joemorin73/EmpyrionServerManager | /SharedCode/Extensions.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EmpyrionModApi.ExtensionMethods
{
public static class Extensions
{
public static bool AreTheSame( this Eleon.Modding.ItemStack[] lhs, Eleon.Modding.ItemStack[] rhs )
{
... |
94a59ee10bfebeb7d93c11d0ba4748063f99e3bf | C# | radtek/ZilLion.Core.TaskManager | /ZilLion.Core.TaskManager/ZilLion.Core.Unities/UnitiesMethods/Admin/AdminRun.cs | 2.859375 | 3 | using System;
using System.Diagnostics;
using System.Security.Principal;
namespace ZilLion.Core.Unities.UnitiesMethods.Admin
{
public class AdminRun
{
/// <summary>
/// 以管理员方式运行程序
/// </summary>
public static void Run()
{
/**
* 当前用户是管理员的时候,直... |
abe171164655156e4d1c1b5f6f2e4afc27426d3f | C# | kuite/CodeTask | /JetShop.RentalCars.Domain.Tests/CarRentsTests/CarRentPassTests.cs | 2.5625 | 3 | using System;
using AutoFixture;
using JetShop.RentalCars.Domain.CarRents;
using JetShop.RentalCars.Domain.Cars;
using Xunit;
namespace JetShop.RentalCars.Domain.Tests.CarRentsTests
{
public class CarRentPassTests
{
[Theory]
[InlineData(CarType.Compact, 2, 1.5, 1.4, 50, 3)]
[InlineData... |
ab8708f9b185c58b357ebac57ec9affc41b06fe4 | C# | engeziellithon/SerieWeb-Api | /Udemy.Api/Dtos/UserForRegisterDto.cs | 2.5625 | 3 | using System.ComponentModel.DataAnnotations;
namespace Udemy.Api.Dtos
{
public class UserForRegisterDto
{
[Required]
[StringLength(30, MinimumLength = 2 , ErrorMessage = "The username need be between 2 and 30 characters")]
public string Username { get; set; }
[Required]... |
6170183097c31c73f66998215063125945345090 | C# | yzzzh/SCUT | /DB.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
namespace SCUT
{
class DB : IDisposable
{
private SqlConnection sqlConnection;
public DB()
{
sqlConnection =... |
2536a83d2ad2c541ea2567e913e91f7efc773219 | C# | ehotinger/leetcode | /easy/balanced-binary-tree.cs | 3.75 | 4 | // https://leetcode.com/problems/balanced-binary-tree/submissions/
/**
* Definition for a binary tree node.
* public class TreeNode {
* public int val;
* public TreeNode left;
* public TreeNode right;
* public TreeNode(int x) { val = x; }
* }
*/
public class Solution {
public bool IsBalanced... |
6b80ccca50cbf322af2299c368f76f4b96253ac7 | C# | MorneJooste/ArkSavegameToolkitNet | /ArkSavegameToolkitNet/Data/ExtraDataFoliageHandler.cs | 2.53125 | 3 | using ArkSavegameToolkitNet.Exceptions;
using ArkSavegameToolkitNet.Structs;
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArkSavegameToolkitNet.Data
{
public class ExtraDataFoliageHandler : IExtraDataHandler
{
... |
e2a1162f448a0916cf4973bb82e0123ec0e875c4 | C# | raihanthecooldude/Webtech | /PHP/Ticket Printer/Ticket Printer/TicketPrinter.cs | 2.5625 | 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;
using iTextSharp.text;
using iTextSharp.text.pdf;
namespace Ticket_Printer
{
public... |
27c406a29283da8a4fd9bb02f839cedc21369690 | C# | Zapperi/CodeSnippets | /Uneksimo/UIController.cs | 2.65625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/**
* Author: Henri Leppänen
* <summary>
* Handles UI related events and delegates.
* </summary>
*/
public class UIController : MonoBehaviour {
public static UIController Instance;
#region EVENTS
... |
d47fb4fdc344afc15c5e54f88fea9056c6326646 | C# | Winvision/Sandboxable | /src/Hyak.Common/RetryHandler.cs | 2.625 | 3 | using Sandboxable.Hyak.Common.Properties;
using Sandboxable.Hyak.Common.TransientFaultHandling;
using System;
using System.Globalization;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Sandboxable.Hyak.Common
{
/// <summary>
/// Http retry handler.
/// </summary>
... |
f633d50730871f9b95deb3bf4d65d77e95340887 | C# | SeregaFreeman/TeststackCalculator | /Calculator/CalculatorTest.cs | 2.578125 | 3 | using NUnit.Framework;
using Calculator.utils;
using Calculator.windows;
using TestStack.White;
using System.Threading;
namespace Calculator
{
[TestFixture]
public class CalculatorTest
{
private Application _app;
[SetUp]
public void StartApp()
{
LoggerUtil.Init... |
e6492395c4b67e6192232533764e7eb52f2bc768 | C# | M-Kersten/space-invaders | /innerspace-invaders/Assets/Scripts/Tools/CustomMaths.cs | 3.390625 | 3 | namespace Invaders.Tools
{
public static class CustomMaths
{
public static int CalculateFibonacci(int n)
{
if (n < 1)
{
UnityEngine.Debug.LogError($"number to get fibonacci for is {n}, this is lower than 1 and cannot be used in calculation");
... |
2ff08b0ba61782d0fe897802851c64fc616cb345 | C# | zsolti111/CFGlib | /CFGlib/CFGlib/CFGNode.cs | 2.6875 | 3 | using CFGlib;
using dnlib.DotNet.Emit;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Xml.Serialization;
namespace CFGlib
{
public class CFGNode
{
public int Id
{
get; set;
}
public Instruction Footer
{
... |
a4b2a05f6cc548bd8333269a591d3d1435165a30 | C# | surfsky/AppPlat4 | /Utils/App.UtilsTests/Serialization/JsonHelperTests.cs | 2.546875 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using App.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace App.Utils.Tests
{
[TestClass()]
public class JsonHelperTests
{
[TestMethod()]
public void Parse... |
051ba45aab970ebcf7b05b9ac50ac646ff799820 | C# | cjlpowers/Inaugura | /Inaugura.RealLeads/LevelCollection.cs | 3.328125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace Inaugura.RealLeads
{
/// <summary>
/// A collection of levels
/// </summary>
public class LevelCollection : System.Collections.CollectionBase, Inaugura.Xml.IXmlable
{
#region Variables
#endregion
#region... |
c11080d342757e95ea7979e5c6e0d3f2022ca0e8 | C# | MargaritaKolosok/CSharp | /Starter/Lesson_9/Task_1-1/Task_1-1/Program.cs | 3.875 | 4 | using System;
namespace Task_1_1
{
class Program
{
// Create First Array with set by User arrLength, and random values
static int[] CreateArray(int[] array, int arrLength)
{
for (int i=0; i<array.Length; i++)
{
array[i] = arrLength * (i+1... |
bf941c801c3e4ce9b53345c993ee2023365961fe | C# | GrupoAura/Developer | /Inventario/Vistas/Clientes/listClientes.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Data;
namespace inventory.Vistas.Clientes
{
class listClientes : Panel
{
public SqlConnection conection;
public Panel list()
{
... |
ef7ccd93f309a3140a76c82ea4c1ab03345a01a6 | C# | jknopp/RedisCacheLib | /CacheStack/CacheTrigger.cs | 2.515625 | 3 | namespace CacheStack
{
public interface ICacheTrigger
{
/// <summary>
/// Key to store cache keys for items watching updates to any item
/// </summary>
string CacheKeyForAnyItem { get; }
/// <summary>
/// Key to store cache keys for an individual item
/// </summary>
string CacheKeyForIndividualItem {... |
85ddfbe8d9ac85a9a320f2477b0109dad7c3b5e2 | C# | michelgrootjans/qwars | /src/QWars.NHibernate.Tests/GangCrudTests.cs | 2.71875 | 3 | using System.Linq;
using NUnit.Framework;
using QWars.NHibernate.Entities;
namespace QWars.NHibernate.Tests
{
[TestFixture]
public class GangCrudTests : DataAccessTest
{
private object gangId;
private object bossId;
private const string gangName = "Los Techies";
... |
1849e96d2ec12e8740cfeab53407d051723856e1 | C# | KashaTeplaya/CalkulVADANDR | /CALKULATOR/CALKULATOR.tests/TwoArgumentsOperations/DivTest.cs | 2.671875 | 3 | using System;
using CALKULATOR.TwoArgumentsOperations;
using NUnit.Framework;
namespace CALKULATOR.tests.TwoArgumentsOperations
{
[TestFixture]
public class DivTest
{
[Test]
public void CalculateTest()
{
ITwoArgumentsCalculator calculator = new Div();
double... |
2e64558a180c2f5c5e25ef08428dfc841849a4d3 | C# | CodeMasterZeroOne/Event-Driven-Programming | /Exercise 02/Submision414/SimpleGenericLoginSystem/SimpleGenericLoginSystem/RegisterForm.cs | 2.625 | 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 SimpleGenericLoginSystem
{
public partial class RegisterForm : Form
{
private ... |
455530d0559df906ca409cb635f79ef06c52dade | C# | atanas-georgiev/TelerikAcademy | /16.ASP.NET-Web-Forms/Homeworks/TestExam/TestExam.WebForms/Admin/Categories.aspx.cs | 2.609375 | 3 | using System;
using System.Data.Entity.Infrastructure;
using System.Linq;
using TestExam.Data.Models;
using TestExam.Data.Repositories;
namespace TestExam.WebForms.Admin
{
public partial class Categories : System.Web.UI.Page
{
GenericRepository<Category> categories = new GenericRepository<Category>();... |
43fa93bde227e1fee59318456011945042dd9904 | C# | mygithubnelsonr/AdvancedProgramming | /ExtensionMethods/Program.cs | 3 | 3 | using System;
namespace ExtensionMethods
{
class Program
{
static void Main(string[] args)
{
// string von https://de.lipsum.com/
string post = "Lorem ipsum dolor sit amet, consectetur adipiscing elit Etiam lacus.";
var shortedPost = post.Shorten(0);
... |
be0b87ff8861ca271449490b5a83bb2724edd997 | C# | shendongnian/download4 | /code3/390704-8578888-19287601-1.cs | 3.265625 | 3 | private void Form1_Load(object sender, EventArgs e)
{
SetupClickEvents(this);
}
/// <summary>
/// This will loop through each control within the container and add a click handler to it
/// </summary>
/// <param name="container">The container whose children to handle clicks for</param>
private v... |
b669fa72ffbd0110a49c6b44b6bbaeef74df3859 | C# | thesilentpsycho/PongUnity3D | /Assets/Scenes/GameManager.cs | 2.640625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour {
public Ball ball;
public Paddle leftPaddle;
public Paddle rightPaddle;
public Text victoryMessage;
public int leftPlayerLife = 0;
publi... |
b77c9993cad976a83c416e2ea256f507126cfad1 | C# | Marcossdavi00/LojaVirtual | /ApiLojaVirtual/Service/Service/ServiceProducts.cs | 2.578125 | 3 | using Domain.Entity;
using Domain.Interfaces.Repository;
using Domain.Interfaces.Service;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Service.Service
{
public class ServiceProducts: IServiceProduct
{
private readonly IRepositoryProducts _repository;
public Servic... |
4ed373b8c05838d727a8f12653eded01d227d884 | C# | young-hwang/OOP_with_.Net | /CodeAnalysis2/Form1.cs | 2.875 | 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 CodeAnalysis2
{
public partial class Form1 : Form
{
private Classes m_classes ... |
e45b136a68fa8b01a94c8e084f09d89500abd25c | C# | Zuravvski/Mobile-Robots-Project | /robotymobilne_projekt/robotymobilne_projekt/GUI/ViewModels/Manual/ManualViewModel.cs | 2.78125 | 3 | using robotymobilne_projekt.GUI.Views.Manual;
using System.Collections.ObjectModel;
using System.Windows.Input;
namespace robotymobilne_projekt.GUI.ViewModels.Manual
{
public class ManualViewModel : ViewModel
{
private ICommand addUser;
private ICommand removeUser;
#region Setters & G... |
5bfed6eeb1caa5c0d931760fa53456978f30ca02 | C# | nnaabbcc/exercise | /windows/pw6e.official/CSharp/Chapter14/CustomGradient/CustomGradient/MainPage.xaml.cs | 2.703125 | 3 | using System.IO;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Imaging;
namespace CustomGradient
{
public sealed partial class MainPage : Page
{
public MainPage()
{
this.Initialize... |
414767bcb0dfd76e9b354a7d4e24bd128087c94e | C# | jtarquino/SqlHttpPerf | /Client/SqlClient.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Diagnostics;
using System.IO;
using System.Net.Http;
using System.Runtime.Serialization.Formatters.Binary;
namespace HttpHandler
{
public class SqlClient
{
HttpClient client;
private const string openConn... |
a0f36551d1c3a9e7143f91ad3e2f0af61a40aa21 | C# | marledidiplan/ProyectoWeb | /BLL/ArticuloBLL.cs | 2.828125 | 3 | using DAL;
using Entidades;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
public class ArticuloBLL
{
public static bool Guardar(Articulo articulo)
{
... |
bc3fca1006ba6b2061d0db04c70a166d248044bf | C# | ErtyHackward/utopia | /Utopia/Utopia/Worlds/Chunks/ChunkGraphics.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using S33M3DXEngine;
using S33M3DXEngine.Buffers;
using SharpDX.Direct3D;
using SharpDX.Direct3D11;
using Utopia.Resources.VertexFormats;
namespace Utopia.Worlds.Chunks
{
/// <summary>
/// Contains chunk visual information. Vertices, indices and other... |
558642157ba05c005ce7315cedbf538cbb6e062a | C# | CodeMazeBlog/string-concatenation-csharp | /StringDemo/StringConcatenationExamples.cs | 3.421875 | 3 | using System;
using System.Diagnostics;
using System.Text;
namespace StringDemo
{
public class StringConcatenationExamples
{
private static readonly string _foo = "Morning!";
private static readonly string _bar = "Nice day for fishing, ain't it?";
private static readonly string _result = "Morning! N... |
f7d31f5f79ba9ccae0a2fba3d70153f6cdab9cf3 | C# | metodiev/Telerik-Academy | /First Semester/Csharp Part 1/Test and Exam/Projects/7. Test Preparation and Exam/FirTree/FirTree.cs | 3.75 | 4 | using System;
//Input:
//The input data should be read from the console.
//On the only input line you have an integer number N, showing the height of the tree.
//The input data will always be valid and in the format described. There is no need to check it explicitly.
//Output:
//The output data should be printed on ... |
9f9bcb18d17a2bfab3773368d109c66d80fb8db1 | C# | dotnet/dotnet-api-docs | /snippets/csharp/System.Web.Services.Description/MessagePart/Message/messagepartcollection.cs | 3.078125 | 3 | // System.Web.Services.Description.MessagePartCollection.Item Property(Int32);
// System.Web.Services.Description.MessagePart.Message;
// System.Web.Services.Description.MessagePartCollection.CopyTo;
// System.Web.Services.Description.MessagePartCollection.Item Property (String);
// System.Web.Services.Description.Mes... |
451c47ab14591204896b9dd37ac67b8516be5d99 | C# | CarlSargunar/Developer-Test | /MVC Test/Classes/Alert.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MVC_Test.Classes
{
public class Alert : IHtmlString
{
public enum AlertStatus
{
Success,
Danger,
Info,
Warning
}
... |
5481883b94b9f40c6314fff8a8587888e555540a | C# | aktauseef/Expense_Manager | /DAL/DataClasses/CategoryDAL.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Models;
namespace DAL.DataClasses
{
public class CategoryDAL
{
public int AddCategory(Models.Category Category)
{
int result = 0;
using(var db =new... |
2ac510eccd74fbf34dc404a8f642c262b815954d | C# | peterhumbert/JournalIndexExcel | /JournalIndexMaker/JournalIndexMaker/Subcategory.cs | 3.140625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JournalIndexMaker
{
class Subcategory
{
private string Name { get; set; }
private List<DateTime> Entries = new List<DateTime>();
public Subcategory(string Name... |
26f9c4d5cddfc2c7e621b272f91541eeebf373ec | C# | nikitagru/ListPoker | /View/GameLabel.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ListPoker.View
{
class GameLabel
{
public Label DrawNames(string name, int positionIteration)
{
Label label = new Label();
label.Text = name;
... |
497314199816f2bbf4ccf15edcafb50037846413 | C# | IonutDjonIancu/myCSharpWork | /GuessGame.cs | 3.5 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class GuessGame
{
static void Main(string[] args)
{
string secretMessage = "apothecary";
string guess = null;
int gues... |
ceb091299f801aa34afed925383e49dceddc6c8e | C# | TihomirTE/TelerikAcademy | /C Sharp/03. C# OOP/05. OOP-Principles-Part-2/BankAccounts/Accounts/LoanAccount.cs | 3.265625 | 3 | namespace BankAccounts.Accounts
{
using System;
using BankAccounts.Customers;
using BankAccounts.Interfaces;
class LoanAccount : Account, IAcounts, IDeposit
{
// constructor
public LoanAccount(Customer customer, decimal balance, decimal interestRate)
: base(customer, ... |
64a0fd07115ca5686e1b62482356ca9fbf57a778 | C# | jerhemy/DesignPatterns | /Prototype/Mob.cs | 3.34375 | 3 | namespace Prototype
{
abstract class MobPrototype
{
public abstract MobPrototype Clone();
}
class Mob : MobPrototype
{
public string Name { get; }
public int HP { get; }
public Mob(string name, int hp)
{
Name = name;
HP = hp;
... |
a944797556c437b1fe763c930f1961f652ab452c | C# | EusebioDM/Fixture-System | /BackEnd/SilverFixture.Domain/Users/User.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using SilverFixture.Domain.Fixture;
namespace SilverFixture.Domain.User
{
public class User
{
public Role Role { get; set; }
private ICollection<Team> followedTeams;
public User()
{
followedTeams = new List<Team>();
... |