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 |
|---|---|---|---|---|---|---|
fe42cd6e5675597d439424dbb259facbf2cdbbb2 | C# | asgerhallas/DomFx | /DomFx.Tests/Units/Layouters/Sectioning/simple.cs | 2.609375 | 3 | using DomFx.Layouters;
using Xunit;
namespace DomFx.Tests.Units.Layouters.Sectioning
{
public class simple : sectioning_tests
{
[Fact]
public void single_element_is_layouted()
{
Section(content: Content(border: 1.cm(), elements: new[]
{
... |
54b985642e8b9b5c2e4a6583812aa935f03d3361 | C# | ashishanand25/cloudclaims | /CloudClaims.Data/Portal/EverythingToDoWith_CCClaims.cs | 2.65625 | 3 | using CloudClaims.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace CloudClaims.Data.Portal {
public static class EverythingToDoWith_CCClaims {
public static CCClaim getClaimByGuid(Guid id, int clientID) {
... |
3538524eece259945aca1e17c4b25a7800dd2111 | C# | PillowIsGod/BasketballManager | /BasketballManadger/ClassesImportExport/XMLteamsProcessing.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Xml;
namespace BasketballManadger
{
public class XMLTeamsProcessing : FileTypesProcessing
{
public XMLTeamsProcessing(string filePath) : base(filePath)
{
}
public over... |
e294c502711562b405cc3c3f286774e180bc681c | C# | freepc2/WPFSample | /WPFSample/LINQ.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WPFSample
{
//public class LINQ : ViewModel.ViewModelBase
//{
// private List<Student> _DataList;
// public List<Student> DataList
// {
// get => _D... |
6663c3e725f2912065e216cbe23cec500cc2d2c5 | C# | JamesRuwart/Lab_8_GetToKnowYourClassmatesUsingSwitch | /Program.cs | 3.96875 | 4 | using System;
namespace Switch_Statements
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Welcome to C# January 2020.");
//start of while-loop for userContinue
string userContinue = "y";
while (userContinue != "n")
... |
6f9d6689f165ba15e3ec03418a047caf1930deb7 | C# | Demdiran/PuzzleGame | /PuzzleGameMigrations/DatabaseCreator.cs | 2.609375 | 3 | using System;
using System.Configuration;
using System.Data.SqlClient;
namespace PuzzleGameMigrations
{
public class DatabaseCreator
{
public static void CreateDatabaseIfNotExists(string connectionString)
{
var databaseName = ConfigurationManager.AppSettings["DatabaseName"];
... |
368a9d4bc8204872f252ee88fc8da4bc7816554f | C# | andreasstove/MicrowaveOven | /Microwave.Test.Integration/Output/PowerTubeAndOutput.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using Microwave.Classes.Boundary;
using Microwave.Classes.Interfaces;
using NSubstitute;
namespace Microwave.Test.Integration
{
class PowerTubeAndOutput
{
private Output output;
private PowerTube power;
... |
fe0506db080a68e0216ff9945e2636d5cd901f53 | C# | JesusErnestoBg/POO | /UNIDAD4/FigurasGeometricas1/Trianguloisosceles.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FigurasGeometricas1
{
class Trianguloisosceles:Triangulo
{
public override double Perimetro()
{
Perimetro1 = Lado + (Lado2 * 2);
return base.Per... |
6eec369a6e93484b9db3b7c81ccc9a50e00dfd77 | C# | miraDask/CSarp-OOP-Feb-2019 | /05.POLYMORPHISM/Exercise/Polymorphism-Exarcise/p01.Vehicles/Models/Truck.cs | 3.140625 | 3 | namespace Vehicles
{
public class Truck : Vehicle
{
private const double fuelConsumptionIncreasment = 1.6;
private const double fuelQuantityDecreasment = 0.95;
public Truck(double fuelQuantity, double fuelConsumption)
: base(fuelQuantity, fuelConsumption)
{
... |
b70758bbd7f921c365243bcac86dfd5658c2b4a8 | C# | facetraro/school-solution | /ERPSchoolSolution/ERPSchoolUI/ConsultTeachers.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Module;
namespace ERPSchoolUI
{
public partial class ConsultTeachers : UserControl
{
... |
d1994b8b7b4d5cf617448f32954d60837025aded | C# | nurlan09/oyrenirem | /arrey/Form1.cs | 2.734375 | 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 arrey
{
public partial class Form1 : Form
{
public Form1()
{
... |
5b2a1ad048b7d9db288fd8ff0e37bb6b6bf43b80 | C# | GStanchev47/Automation-C-Homework | /Homework 8 - Inheritance/Program.cs | 2.75 | 3 | using System;
using Homework_8_Inheritance.Blocks;
namespace Homework_8_Inheritance
{
class Program
{
static void Main(string[] args)
{
Player player1 = new Player();
player1.PickUp(BlockType.Grass);
player1.BreakItem(BlockType.Grass);
player1.PickUp(BlockType.Charcoal);
player1.PickUp(BlockTyp... |
89122f1d1cef63f0c27e07dda1f328456abbe417 | C# | Doge815/MandelbroTCP | /source/MandelbroTCP.Base/PixelCollection.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Numerics;
using System.Diagnostics;
using MandelbroTCP.Base.Extensions;
namespace MandelbroTCP.Base
{
public class Color
{
//Todo: custom color depth
public uint Red, Green, Blue;
publ... |
00cd37a3abcbcbef50a1a941362f8f4f8ff3d159 | C# | ScrubSandwich/Food-Flingin-VR | /Assets/ResetIfOnFloor2.cs | 2.5625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ResetIfOnFloor2 : MonoBehaviour
{
Vector3 originalLocation;
Rigidbody rb;
int TIMER = 150;
void Start()
{
originalLocation = gameObject.transform.position;
rb = gameObject.GetComponent<Rig... |
1015659eeaf766a102273538f701d79fd821888b | C# | Touqi634/OOD | /Application/Shelter/UnitTestProject/ShelterClassTest.cs | 2.875 | 3 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ShelterManager;
namespace UnitTestProject
{
[TestClass]
public class ShelterClassTest
{
[TestMethod]
public void TestGettingAnimalByRFID()
{
//Arrange
Shelter s = new Shelter("TestShelte... |
3ebd8cb49d483f34f86aed66483e4f4da3cb5b1c | C# | manojbhargavan/AzureSamples | /Storage/AzureStorageWrapper/Helper/TableHelper.cs | 3.015625 | 3 | using Microsoft.Azure.Cosmos.Table;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AzureStorageWrapper.Helper
{
public class TableHelper
{
private readonly CloudStorageAccount cloudStorageAccount;
publ... |
01663226de5160c74442a083575235b952636553 | C# | LimaGustav/SENAI_HROADS_WEBAPI | /Back-End/hroads/senai.hroads.WebApi/senai.hroads.WebApi/Interfaces/ITipoHabilidadeRepository.cs | 2.734375 | 3 | using senai.hroads.webApi.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace senai.hroads.webApi.Interfaces
{
interface ITipohabilidadeRepository
{
/// <summary>
/// Lista todos os Tipos de habilidades
/// </summary>
... |
66045a94c68f19ed28a83f050a90cd08438403c9 | C# | kensh3/NWT | /AngularPractice/ActivityLibrary/CarCodeActivity/CreateCarCodeActivity.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using EntityModel;
using DataContract;
namespace ActivityLibrary.CarCodeActivity
{
public sealed class CreateCarCodeActivity : CodeActivity
{
private DatabaseEntities1 db = new DatabaseEnti... |
39dacc844504fa53a2c32b29bbb8c8446c768179 | C# | mattmc3/TSqlScriptExtractor | /TSqlScriptExtractor/RefreshSqlScripts.cs | 2.5625 | 3 | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common.Extensions;
namespace SqlScriptExtractor {
public class DbLocation {
public string ServerName {
get;
private set;
}
public string DbName {
get;
private set;
}
... |
d7cc16575dc015c13d125bf173f32fcdcabf0e1d | C# | FreekDS/Portforward-tool | /PortForwardTool/FirewallDevice.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Security.Policy;
using NetFwTypeLib;
namespace PortForwardTool
{
class FirewallDevice
{
readonly INetFwPolicy2 firewallPolicy;
List<INetFwRule> createdRules = new List<INetFwRule>();
readonly Dictionary<int, INetFwRule> creat... |
f7fac8f423ea7edd3b53828778100f7bc50653eb | C# | dkhwang118/CIS575_Spring19_HW6 | /CIS575_HW6/CIS575_HW6/Program.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CIS575_HW6
{
class Program
{
static void Main(string[] args)
{
/// Main Run Begin
int[] PRI_array100 = GenerateRndArray(100);
int[]... |
6ffc4a08e905e4e576cfe26efc3bb85a92d75864 | C# | pirocorp/Programming-Basics | /Loops/Histogram/Histogram.cs | 3.53125 | 4 | using System;
namespace Histogram
{
class Histogram
{
static void Main(string[] args)
{
double n = double.Parse(Console.ReadLine());
int p1 = 0;
int p2 = 0;
int p3 = 0;
int p4 = 0;
int p5 = 0;
int x;
... |
c770f5f6909766371d994a332c4ac65648b0f79d | C# | mattmemmesheimer/patience | /Solitaire/Solitaire.Common/Factories/SolitaireGameInstanceFactory.cs | 2.9375 | 3 | using Solitaire.Common.Models;
namespace Solitaire.Common.Factories
{
/// <summary>
/// Factory class used to create instances of <see cref="ISolitaireGameInstance"/>.
/// </summary>
public class SolitaireGameInstanceFactory : ISolitaireGameInstanceFactory
{
/// <summary>
/// Creat... |
beb4b916c37b1a2287503fcc59832662a699e588 | C# | k-o-t-n/SfwFootball | /Sfw.Football/Generators/TeamGenerator.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using Sfw.Football.DataAccess.Entities;
using Sfw.Football.ExtensionMethods;
using Sfw.Football.Helpers;
namespace Sfw.Football.Generators
{
public class TeamGenerator : ITeamGenerator
{
p... |
893aca4a758f342ede161ca0d9cd98acb663c919 | C# | pablovdelrio/MaD-pr-cticas | /MaDPractica/Model/ProductDao/ProductDaoEntityFramework.cs | 2.640625 | 3 | using Es.Udc.DotNet.ModelUtil.Dao;
using Es.Udc.DotNet.ModelUtil.Exceptions;
using System;
using System.Data.Common;
using System.Linq;
namespace Es.Udc.DotNet.MaDPractica.Model.ProductDao
{
/// <summary>
/// Specific Operations for Product
/// </summary>
public class ProductDaoEntityFramework :
... |
a70ab309b8fef5604d07843ee631bf81f300f53e | C# | ogunsoladebayo/dotNET-C-Square-root-Web-Calculator | /Controllers/SquareRootController.cs | 2.90625 | 3 | using Microsoft.AspNetCore.Mvc;
using System;
namespace Task4.Controllers
{
public class SquareRootController : Controller
{
[HttpGet]
public ActionResult Sqroot()
{
return View();
}
[HttpPost]
public ActionResult Sqroot(string firstNumber, string se... |
6b482ddf7d06bb63c6aaeae753cb8d84c2b54e5c | C# | cwt-test/UnmanagedThreadUtils-fork | /examples/UnmanagedThreadUtils.Examples/Program.cs | 3.171875 | 3 | namespace UnmanagedThreadUtils.Examples
{
using System;
using System.Runtime.InteropServices;
using System.Threading;
/// <summary>
/// Example.
/// </summary>
public static class Program
{
private const int ThreadCount = 3;
// Use static field to make sure that delega... |
cbba11ea3ed1f89830f0034a5025d98c20363088 | C# | SinaC/TetriNET | /TetriNET.Client.Achievements/Achievements/Base/SpecialCountBase.cs | 2.671875 | 3 | using TetriNET.Client.Interfaces;
using TetriNET.Common.DataContracts;
namespace TetriNET.Client.Achievements.Achievements.Base
{
internal abstract class SpecialCountBase : AchievementBase
{
private int _count;
public abstract Specials Special { get; }
public abstract int CountToAchie... |
6acd02b2a0aa91568a626caf01bd800295336fad | C# | sakaat/AtCoder | /abs/abc081_a.cs | 2.5625 | 3 | // https://atcoder.jp/contests/abs/submissions/7035193
using System;
using System.Linq;
class Program
{
static void Main()
{
var input = Console.ReadLine();
Console.WriteLine(input.Count(c => c == '1'));
}
}
|
c7ccc3da95ecf1d7210730f4303dd0ed944ee231 | C# | mantunes27/UnitTestInJenkins | /GettingStarted/Calculator.Tests/Class1.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Calculator.Tests
{
[TestFixture]
public class SimpleCalculatorTests
{
[Test]
public void ShouldAddTwoNumbers()
{
var sut... |
86ec2144dee9d08c389a14c54f57048d79a3ba29 | C# | Rbatts/supportbank | /ConsoleApp8/supportbank.cs | 2.609375 | 3 | using Newtonsoft.Json;
using NLog;
using NLog.Config;
using NLog.Targets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.Threading;
using System.Text;
using System.Threading.Tasks;
using NLog.LayoutRenderers.Wrappers;
using System.Xml;
using System.IO;
namesp... |
ba9bd57fcca783b0464aa3b660558626a97e5f12 | C# | dyslexicanaboko/simple-class-creator | /SimpleClassCreator.Tests/Lib/Services/QueryToClassServiceTests.cs | 2.6875 | 3 | using Moq;
using NUnit.Framework;
using SimpleClassCreator.Lib;
using SimpleClassCreator.Lib.DataAccess;
using SimpleClassCreator.Lib.Models;
using SimpleClassCreator.Lib.Services;
using SimpleClassCreator.Tests.DummyObjects;
using System.Linq;
using System.Text.RegularExpressions;
namespace SimpleClassCreator.Tests.... |
368c00db866917464f55c1217c2c03f433fefecb | C# | ashyrokoriadov/Statistics | /Statistics/Implementations/BinominalDistribution/BinominalDistributionFloat.cs | 2.953125 | 3 | using System;
using System.Linq;
using Statistics.IntegralCalculus;
namespace Statistics.Implementations
{
class BinominalDistributionFloat : CalculationBinominalDistributionBase
{
float p;
public BinominalDistributionFloat(int n, int x, float p)
{
this.n = n;
... |
172f6f6fa6ff67841ea2c2641098bfb57d92146f | C# | yavorvasilev/CSharp-Advanced | /FunctionalProgrammingExercises/04FindEvensOrOdds/FindEvensOrOdds.cs | 4.15625 | 4 | namespace _04FindEvensOrOdds
{
using System;
public class FindEvensOrOdds
{
public static void Main()
{
var rangeOfNumbers = Console.ReadLine().Split();
var oddOrEven = Console.ReadLine();
var lowerBound = int.Parse(rangeOfNumbers[0]);
var u... |
f936abb2b105c819cdc10b68672eb97a8e523906 | C# | BluetextDC/vectornav | /WebApp/Common/GeneralFun.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.Data;
namespace SitefinityWebApp.Common
{
public static class GeneralFun
{
private static string cnnStr = System.Configuration.ConfigurationManager.ConnectionStrings["Sitefini... |
1bae6896fe3896ce3b08835023eda6a42ed726f4 | C# | ibrahimbilgic/Csharp-Examples | /Donusum/Program.cs | 3.328125 | 3 | using System;
namespace Donusum
{
class Program
{
static void Main(string[] args)
{
double a = 5.4;
int b = (int) a; // explicit donusum..
short s = 6;
b = s; //implicit donusum...
Console.WriteLine(sizeof(short) +"bit... |
5d658116074572d942cd32b91ed6e9a1c1f9bc12 | C# | lkuznet/BBAssignment | /CatalogManager.Persistence/Repositories/UnitOfWork.cs | 2.75 | 3 | using CatalogManager.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CatalogManager.Persistence.Repositories
{
public class UnitOfWork : IUnitOfWork
{
private readonly IDataContext _db;
public UnitOfWork(IDa... |
196d52c86481da925a5f48fb55fefe6dff1c2c77 | C# | kenemar/PDFPages | /App.xaml.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace PDFPages
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Applica... |
0c8da9434804e2c11387a6c955dc71b26052b248 | C# | yulianiindah96/Tugas-Akhir | /deteksi/KMeans.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Collections;
using System.Collections.Specialized;
using tugasakhir;
namespace tugasakhir.deteksi
{
public unsafe class KMeans
{
public class Distance
{
public Dist... |
e3eb264443b9a6c4fb5eefd968d949c40f2be0c1 | C# | MaboUhha/TestTask_itpc | /ru.itpc.trial/Data/StorageDataContext.cs | 2.78125 | 3 | using ru.itpc.trial.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ru.itpc.trial.Data
{
public class StorageDataContext:DataContext
{
public List<PersonRecord> PersonRecords { get; set; }
... |
3378e5d1919ac6ea3c413be0771f30acf06b8fff | C# | KaptenJon/ComponentOne-WinForms-Samples | /NetFramework/Command/CS/MdiTabs/DirView.cs | 2.546875 | 3 | using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.IO;
namespace MdiTabs
{
/// <summary>
/// Tree view with deferred directory listing
/// </summary>
public class DirView : TreeView
{
private System.Windows... |
3526102d787e43b2c2c98159a0e951b43af950d2 | C# | jerry0914/usi_shd1_tools | /PC_Tools/CSharp/StressTestGuide/CE_Process.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using OpenNETCF.Desktop.Communication;
using System.IO;
namespace com.usi.shd1_tools.TestGuide
{
class CE_Process
{
//public static readonly String ceCopyPath = System.AppDomain.CurrentDomai... |
236d8296ede295d246a3f9a29e0dd3f747e175fe | C# | lucca450/Devoir-2-ANALYSE | /Devoir 2 Analyse/Devoir 2 Analyse/Error.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Devoir_2_Analyse
{
public class Error
{
public readonly string errorOrigin = "", expected = "";
private readonly ErrorType errorType;
public Error(ErrorType err... |
22448bed0a8fe79bf9fc8aa5f8588bed9e264c7b | C# | NtreevSoft/CommandLineParser | /Ntreev.Library.Commands/TextWriterExtensions.cs | 2.84375 | 3 | //Released under the MIT License.
//
//Copyright (c) 2018 Ntreev Soft co., Ltd.
//
//Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
//documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
//rig... |
c1a95429c686180509b614409826ccebe46d81aa | C# | SiriusUnity3DGameEngine/MiniTrucks | /Scripts/Waypoint.cs | 2.84375 | 3 | using System;
using UnityEngine;
public class Waypoint : MonoBehaviour
{
[SerializeField] private Color wayColor = new Color(1,1,1,1);
public Transform[] Waypoints;
public float[] MaxSpeeds;
private void Awake()
{
int i = 0;
var points = gameObject.GetComponentsInChildren<Transform>();
Array.R... |
8baf872d330b6551d132c1a11cab0af54dd00ca0 | C# | OneSesta/Squad47Bot | /TelegramBot.Interfaces/MenuItemViewModel.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace TelegramBot.Common
{
/// <summary>
/// ViewModel associated with menu item in modular menu
/// </summary>
publ... |
5bbcdc798d4d4fe4604e1b652354ff32e0eaeea5 | C# | Cavcaliuc/LibraryManagement.Web | /LibraryManagement.Web/Encryption.cs | 2.921875 | 3 | using LibraryManagement.Web.Models;
using System;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
namespace LibraryManagement.Web
{
public static class Encryption
{
public static string Encrypt(string textData)
{
if( string.IsNullOrWhiteS... |
a59a0d8c98a8762ff83909ddb23f627a5dbf1189 | C# | ChrisTorng/GameOfLife | /GameOfLifeLibrary/BoardReaderBuilder.cs | 3.390625 | 3 | using System;
namespace GameOfLife.Library
{
public class BoardReaderBuilder
{
public BoardReaderType Type { get; }
public string Content { get; private set; }
public BoardReaderBuilder(BoardReaderType type)
{
if (!Enum.IsDefined(typeof(BoardReaderType), type) ||
... |
2a8ffce21aac0055eb568969733ec57065317514 | C# | AmadeusW/vshelper | /helperapp.test/OperationFormatterTests.cs | 3 | 3 | using System;
using System.Collections.Generic;
using Xunit;
namespace helperapp.test
{
public class OperationFormatterTests
{
[Fact]
public void PlainStringIsUnchanged()
{
var properties = new Dictionary<string, string>();
var input = @"This\is\an(input)\string... |
600ffe628f3784d591885fce1c5f3c85886d5a9d | C# | MartyIX/SoTh | /Lib/ProfileXmlServerResponse.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.IO;
using Sokoban.Lib.Exceptions;
namespace Sokoban.Model.Profile
{
public class ProfileXmlServerResponse
{
private bool isLoggedIn = false;
private string sessionID = null;
... |
b27fa999d1f7bfd5c73d63952cf4da7e4da8f656 | C# | songgod/gEngine | /gEngine.View.Datatemplate/DataTemplateManager.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Markup;
using static gEngine.Graph.Ge.Enums;
namespace gEngine.View.Datatemplate
{
/// <summary>
/// 模板... |
e6393f2a1f7da9a6d61c74aee149fcf1aa0775ed | C# | b201lab/unity-top-down-workshop | /Assets/Scripts/SpriteRotation.cs | 2.5625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpriteRotation : MonoBehaviour
{
SpriteRenderer spriteRenderer;
public Sprite[] sprites;
public float startDirection = 0;
public float rotation;
void Start()
{
spriteRenderer = GetComponent<Sp... |
858d2cf7b93c66dedd92ccd5c16266bd857527c2 | C# | Brandon-Smith-457/Education | /McGill University/COMP 521 - Modern Computer Games/Assignment2/MyRigidBody.cs | 2.546875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MyRigidBody : MonoBehaviour
{
public int id;
public static float gravity = -9.81f;
public static float windResistance = 0.0f;
public static float coefficientOfRestitution = 0.5f;
public Vector3 veloci... |
87e06de1e0f0a92396ad18d2c53ad620e9bd9fee | C# | mutuware/WiffWaff | /waf/Renderer.cs | 3.0625 | 3 | using System;
using System.Collections.ObjectModel;
using System.Text;
using WiffWaff.Pages;
namespace WiffWaff
{
public class Renderer
{
public string Do(Page page, Type type, ReadOnlyDictionary<string, Type> routes)
{
var masterPage =
"<HTML><HEAD><link rel=\"styl... |
24690f40e13470fb68be29722bd36fef3a932118 | C# | DigitalPacificSolutions/AussieDivers | /AussieDivers/Models/DataModels/Mapping/EquipmentTypeMap.cs | 2.734375 | 3 | using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace AussieDivers.Models.Mapping
{
public class EquipmentTypeMap : EntityTypeConfiguration<EquipmentType>
{
public EquipmentTypeMap()
{
// Primary Key
this.HasKey(t => t... |
304bd7619ba6b02f8e07427efc6b8a7074fe8299 | C# | VimleshS/csharp_advance_features | /advanceFeatures/Nullable.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Linq
{
public class Nullable
{
public void TestNullables()
{
Nullable<int> index = null;
//ShortHand for above syntax
int? indexAga... |
c403c2af4077d1019676f361cc5672dbad8ab2a4 | C# | davemateer/GildedRose | /src/GildedRose.Tests/GildedRose.Domain/InventoryItemBuilderTests.cs | 2.625 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace GildedRose.Domain.Tests
{
[TestClass]
public class InventoryItemBuilderTests
{
private static readonly Guid TestId = Guid.NewGuid();
[TestMethod]
public void Build_AgedBrie()
{
var buil... |
31bb66c8d095eab394d91cb15c3ad4d344b0e8df | C# | MatiasHamie/UTN_Laboratorio_2 | /Parciales de practica/20181122-SP/Alumno/Entidades/PatenteStringExtension.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Entidades
{
public static class PatenteStringExtension
{
public const string patente_vieja = "^[A-Z]{3}[0-9]{3}$";
public const st... |
f1083d173b6f57ff02072e685e1033c4faa8c28d | C# | Nconflux/Conflux.net.SDK | /src/Conflux.Contracts/Extensions/ContractMessageHexBigIntegerExtensions.cs | 2.53125 | 3 | using System.Numerics;
using Conflux.Contracts.CQS;
using Conflux.Hex.HexTypes;
using Conflux.Util;
namespace Conflux.Contracts
{
public static class ContractMessageHexBigIntegerExtensions
{
/// <summary>
/// Convert BigInteger to HexBigInteger, if input is null, return null;
/// </s... |
ce93253734b8f2b523673c2b5927cc3e28920cae | C# | codearchive/c-sharp-path | /asynchronous-programming-dotnet/module_02/StockAnalyzer.Windows/Services/StockService.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using StockAnalyzer.Core.Domain;
namespace StockAnalyzer.Windows.Services
{
public class StockService
{
public async Task<IEnumerable<StockP... |
78c12575f9a738840b3e251bac36171373fc8d54 | C# | tormaroe/mist | /src/Marosoft.Mist/Evaluation/FormalParameters.cs | 2.90625 | 3 | using System.Linq;
using System.Collections.Generic;
using Marosoft.Mist.Parsing;
using Marosoft.Mist.Lexing;
namespace Marosoft.Mist.Evaluation
{
public class FormalParameters
{
private ListExpression _parameters;
public FormalParameters(Expression expr)
{
if (!(expr is Li... |
62a6fdb824ca6181d4b3889d18554e7d37233362 | C# | lautaromedeiros98/tp_laboratorio_2 | /TrabajoPracticoN°1/Entidades/Calculadora.cs | 3.890625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public static class Calculadora
{
/// <summary>
/// Realiza la operacion aritmetica con los parametros recibidos
/// </summary>
/// <param name="num1"></param>
/// <par... |
dc7173f8dfd8425a80f4ed95a1233ebae57e59bf | C# | Xigi/elementary | /src/PersonHello/AdulthoodMessageStrategy.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace PersonHello
{
public class AdulthoodMessageStrategy : IMessageStrategy
{
public string Message { get; private set; }
public bool Execute(Person p)
{
if (p.IsAdult() && !p.IsPensioner())
... |
bc4d6f9d892f59b2d5409817743425b9101de773 | C# | luiseduardohdbackup/SafeILGenerator | /SafeILGenerator/Ast/AstLabel.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
namespace SafeILGenerator.Ast
{
public class AstLabel
{
public string Name;
protected AstLabel(string Name)
{
this.Name = Name;
}
static ... |
4b12fa525dba065e5c1aab7ea549a517ae097659 | C# | gkudel/mvc-for-net | /MVCEngineLibrary/Engine/Model/Attributes/Formatter/Formatter.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MVCEngine.Model.Attributes.Formatter
{
[System.AttributeUsage(System.AttributeTargets.Property)]
public abstract class Formatter : System.Attribute
{
#region Constructor
public Format... |
e9e0fb93a307b6b14012db6364bc0dabf83e4e54 | C# | kentays/girls-with-swords-ggpo | /Player/AnimationPlayer.cs | 2.578125 | 3 | using Godot;
using System;
public class AnimationPlayer : Godot.AnimationPlayer
{
[Signal]
public delegate void AnimationFinished();
private int animationLength;
public int cursor;
public void NewAnimation(string animName)
{
if (animName == AssignedAnimation)
{
... |
f757d65ab311de0c73e68b9f15dc8698b6e7bba7 | C# | AlexanderChernykh/LibraryHh | /LibraryHh/Triangle.cs | 3.734375 | 4 | using System;
using System.Collections.Generic;
using System.Text;
namespace LibraryHh
{
public class Triangle : Shape
{
public double SideA { get; set; }
public double SideB { get; set; }
public double SideC { get; set; }
public Triangle(string nameShape, double sideA, double... |
ad206992bee9e7eced5177f35feb89900303f08e | C# | Awdesh/Algorithmic | /LinkedList/DeleteItemFromLinkedList.cs | 3.28125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LinkedList
{
class DeleteItemFromLinkedList
{
public LinkedListNode DeleteNode(LinkedListNode node, int value)
{
if(node == null)
{... |
1fc3a8956430c4eb620e5e56349bcde8ed984dc7 | C# | gsaurus/back_to_the_streets | /data-model/storage-model/Scripts/Character/Character.cs | 2.53125 | 3 | using System;
using ProtoBuf;
namespace RetroBread.Storage{
// A character contains all the animations data,
// including data that may be duplicated between events and animations
// So hitboxes, collision boxes point to boxes in the character,
// animations point to events in the character,
// and events point to co... |
818ce0088d0b14911e752d3aac39f802b06422a7 | C# | annahita/Code-Reviewer | /clean_code/Strategies/Name/NameConvention.cs | 2.8125 | 3 | using System.Linq;
using CleanCode.Metrics;
using CleanCode.Utils.Name;
using CleanCode.Utils.WordNet;
namespace CleanCode.Strategies.Name
{
public class NamingConvention : INamingConvention
{
private readonly int _nameMinLength;
private readonly INameSplitter _nameSplitter;
private re... |
25d2618f89f6c22e7a5fb05d037416af08371a73 | C# | ealux/TKZ | /Shared/Model/Grid/GridGraph.cs | 2.875 | 3 | using System.Collections.Generic;
using System.Linq;
using TKZ.Shared.Model;
namespace TKZ.Shared
{
public partial class Grid
{
/// <summary>
/// Finds branches from a given bus.
/// </summary>
/// <param name="BusId"> Id start Bus.</param>
/// <param name="numBelt"> Cou... |
f1db06df66114a83d3f8abfa858f5d94f24580a9 | C# | PersephonyAPI/csharp-sdk | /persy-cs-sdk/api/application/ApplicationsRequester.cs | 2.78125 | 3 | using com.persephony.api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.persephony.api.application
{
/// <summary>
/// This class represents the set of wrappers around the Persephony Application API.
/// It provides methods to handle all the operations ... |
3f753d96c0a45cb00a803379ddd794e4c3b6d618 | C# | nareshkumar66675/AutoBuild | /AutoBuild/Tasks/CopyInstallerBuildTask.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoBuild.Helper;
using System.Configuration;
using System.IO;
using BMC.Common.LogManagement;
using BMC.Common.ExceptionManagement;
namespace AutoBuild.Tasks
{
class CopyInstallerBuildTask:Bu... |
85c18e48073a7db6c11b80949b9aea9ec83d2a76 | C# | Kingefosa/QuickGenerate | /QuickGenerate.Tests/EntityGeneratorTests/PluggableFunctionsTests.cs | 2.796875 | 3 | using Xunit;
namespace QuickGenerate.Tests.EntityGeneratorTests
{
public class PluggableFunctionsTests
{
[Fact]
public void GeneratorIsApplied()
{
var generator =
new EntityGenerator<SomethingToGenerate>()
.For(e => e.MyProperty,
... |
aa940109f4804cdde725ad9c0bc7a4d1dd27763a | C# | afrasier02/MartiniGlassApp | /MartiniGlassApp/MartiniProgram.cs | 3.453125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MartiniGlassApp
{
class MartiniProgram
{
static char GlassSymbol = '0';
static char SpaceSymbol = ' ';
static char HandleSymbol = '|';
static char Botto... |
2ac47825773154fb27a458bee593edaaae886854 | C# | anhellwig/BibTeXLibrary | /BibTeXLibrary/BibEntry.cs | 3.40625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
namespace BibTeXLibrary
{
public class BibEntry : IEnumerable<KeyValuePair<string, string>>
{
private readonly Dictionary<string, string> tags = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
... |
27c98cc86ad4ec8f700d98de18122aa39bc1f5d0 | C# | archyyu/cyberServer | /ClassLibrary/Util/Config.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading.Tasks;
namespace CashierLibrary.Util
{
public class Config
{
private static Config config;
public static void initConfig()
{
StreamReader sr = ... |
009050e9f55379b0acfce4171a7579d1dc7c1a7e | C# | namelessbliss/TussanStorageAdm | /CAPA_DATOS/ClassAdo.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.OleDb;
using System.Data;
namespace CAPA_DATOS {
/// <summary>
/// Descripción breve de ClassAdo
/// </summary>
public class ClassAdo {
protected OleDbConnection con = new OleDbConnection();
... |
180a2ec1ac074cd9eddcbfed82a07517eae03647 | C# | EobanZ/GameOfLife | /Game of Life/Assets/Scripts/GameManager.cs | 2.59375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameManager : GenericSingletonClass<GameManager> {
private static float timer = 0;
private bool fieldIsReady = false;
private ... |
27dabdbe2801f6aac32edc3c74ad889b435cfa97 | C# | genie30/TRPGTool | /Assets/Scripts/Tile/ZoomController.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ZoomController : MonoBehaviour
{
[SerializeField]
Camera cam;
[SerializeField]
float min, max, zoom, movestep;
Vector3 startpos;
private void Update()
{
if(Input.GetAxis("Mo... |
1587d014276bc8b3250c5f18b8f766beb2e676da | C# | BarryAustin1993/WhiteBoardChallengesRepo | /WhiteBoardChallenges/ChallengeFour_CurrentComboNeededCombo_FastestTurnsToReachNeededCombo.cs | 3.640625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WhiteBoardChallenges
{
class ChallengeFour_CurrentComboNeededCombo_FastestTurnsToReachNeededCombo
{
//Member Variables (HAS A)
readonly string currentLock = "3893";
... |
065103525d1af122830021d9363f4d0713ffdc1e | C# | cyrsis/LearnCSharp | /TDD/14-Moq'ing-a-Database/ShoppingCart/ShppingCart.Common/CartItem.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShoppingCart.Common
{
public class CartItem
{
public int Quantity { get; set; }
public string Description { get; private set; }
public decimal UnitPrice { get; ... |
87fb2a7121dcfcacaad99d9ab77da12f8639eb74 | C# | VivekReddy92/devops-days | /NET_Service/SimpleRest/SimpleRest/CloudConnectionHelper.cs | 2.703125 | 3 | using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace OrderRest
{
public class CloudConnectionHelper
{
//Look up connection from either vCaps sevice or local
public static string connectionString()
{
... |
e3b1b4f85fde412c7638ada078b9c81034879e1c | C# | emscape2/Unity-Renderering-Extension | /Scripts/Interactivity/Interactions/TimedTrigger.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TimedTrigger : Interaction
{
bool triggered;
public bool disengage;
public float timedDelay;
private bool started;
public override bool? TryInteract(GameObject gameObject)
{
if (this.gameObject.... |
322fc50b1a87fcaaa56194395cb5b267342d1a93 | C# | tefkros777/breakout | /Assets/Scripts/Commands/BounceCommand.cs | 2.625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class BounceCommand : Command
{
// All data that defines this command
Vector2 mIncomingVelocity;
ContactPoint2D mCollisionPoint;
private float mSpeed;
// For optimization
... |
358729f642f470eb62f4457ca3847d191bf0b18a | C# | lesya-tishencko/TestSQLite | /SQLite_ya_test_proj/Program.cs | 2.984375 | 3 | using System;
namespace SQLite_ya_test_proj
{
class Program
{
static void Main(string[] args)
{
if (args.Length == 0)
{
Console.WriteLine("Don't set name of source file");
return;
}
string path = args[0];
... |
fb797761c3149c56657b353b2b94a2decd9e1373 | C# | BIMobileApp/BIWebService | /BILibraryBLL/OldBarAllTaxSQL.cs | 2.65625 | 3 | using ClassLib;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OleDb;
using System.Linq;
using System.Web;
namespace BILibraryBLL
{
public class OldBarAllTaxSQL
{ //get connectionString to connect Database
Conn con = new Conn();
//query out in dataTable
... |
5ca28ebd080e6416d1842f5436f8381adb06f41f | C# | abdelrahman-abdelhameed/play-with-gmail-API- | /GmailWittMVC/Utilities/EmailConverterHelper.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Google.Apis.Gmail.v1;
using Google.Apis.Gmail.v1.Data;
namespace GmailWittMVC.Utilities
{
public static class EmailConverterHelper
{
public static byte[] Base64UrlDecode(string arg)
{
... |
a7c00657cf32d601edf8f4c95130bfac90559d85 | C# | Nickose777/SportBets | /SportBet/LoginWindow.xaml.cs | 2.546875 | 3 | using System;
using System.Windows;
using SportBet.Services.Contracts;
using SportBet.Services.Contracts.Services;
using SportBet.Services.DTOModels;
using SportBet.Services.Providers;
using SportBet.Services.ResultTypes;
using SportBet.ControllerFactories;
using SportBet.Contracts;
using SportBet.Logs;
namespace Spo... |
a6f166097ad7eadc16a02886853b9630410910aa | C# | pivovard/ZCU | /PIA_BankWebsite/Bank/Bank/Data/BankContext.User.cs | 3.25 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Bank.Models
{
public partial class BankContext
{
/// <summary>
/// Generate unique login and hash pin.
/// Set it to the given user.
/// Returns pin in no hash.
//... |
dc2ccd824b1c0239fcffec8e3d0ed75027e1e597 | C# | TheodorLindberg/Mindstorm-controller | /ManagedCSharp/ManagedClass.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.IO.Ports;
using EV3MessengerLib;
namespace ManagedCSharp
{
public static class ManagedClass
{
public static List<EV3Message> messages = new List<EV3Message>();
public sta... |
423d001a33b366b153ba1b0ef4945a12519598ec | C# | dotnet/iot | /src/devices/Ssd13xx/Commands/Ssd1306Commands/SetMemoryAddressingMode.cs | 2.8125 | 3 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Iot.Device.Ssd13xx.Commands.Ssd1306Commands
{
/// <summary>
/// Represents SetMemoryAddressingMode command
/// </summary>
public class SetMemoryAddressingM... |
89836c1a1e362bdff0de2d709bd1a75f3c7f7fc5 | C# | LeszekBlazewski/ReportGenerator | /ReportGenerator.UnitTests/OrderCreator.cs | 3.3125 | 3 | using ReportGenerator.Utilities;
using System.Collections.Generic;
namespace ReportGenerator.UnitTests
{
/// <summary>
/// Class contains methods which create specific data to fill the database for various unit tests.
/// </summary>
class OrderCreator
{
/// <summary>
/// Creates li... |
0e626cbed29422ca928614d0383c8fe7e4006771 | C# | TamilK92/Podstawy-C-Sharp | /for wypisz parzyste z podanego przedziału zapytanie logiczne z resztą if if warunki logiczne reszta procent.cs | 2.96875 | 3 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace trajning
{
class Program
{
static void Main(string[] args)
{
int i = 1;
double dlug = 80, zarobekJanka = 50, zarobekKarola = 40;
double splata ... |
85177a82a55704596fdd762b42963db84de61daa | C# | JamieBickers/PersonalWebsite | /PersonalWebsite/Models/GifRequest.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace PersonalWebsite.Models
{
public class GifRequest : IPrivateApiRequest, IValidatableObject
{
public string Password { get; set; }
public IEnume... |
8dd147fcbf514fcbb48b2627fc26f7b1e54bb99f | C# | AlehZakharau/My-Student-Projects | /Assets/2D Platformer/Scripts/NPC/EnemyMovement.cs | 3.0625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Platformer
{
public class EnemyMovement : MonoBehaviour
{
public float speed;
private bool isFacingRight;
/// <summary>
/// Двигает спрайт в заданную точку
/// </summary>
... |
2265c7d1f636a40e542452e1e4a99d99f6ec74a9 | C# | igorsci/myRepoSEDC | /c # adv/CSharpAdvanced - Class7/LINQExercises/LINQExercises/Program.cs | 3.3125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace LINQExercises
{
class Program
{
public static void PrintDogs(List<Dog> dogs)
{
foreach (var dog in dogs)
{
Console.WriteLine(dog.Name);
}
}
public s... |
64306058750c66ddd7a9f04c0f3fbe72a186a9d6 | C# | douglasforte/ThriveWebApp | /ThriveWebApp/Tools/SampleTemplateV6/SampleTemplateV6/SampleTemplateV6/SampleTemplate/Models/Book1.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SampleTemplate.Models
{
public class Book1
{
public string Title { get; set; }
public string ISBN { get; set; }
public string Publisher { get; set; }
public DateTime PublicationDate {... |
ecd988ca50c9cde27e7ed202236e1284fffeaccd | C# | DenisAkm/InnTech.SqlDataGenerator | /InnTech.SqlDataGenerator/InnTech.SqlDataGenerator/TypeGenerators/DecimalGenerator.cs | 2.96875 | 3 | namespace InnTech.SqlDataGenerator
{
public class DecimalGenerator : ITypeGenerator
{
public decimal MinValue { get; set; }
public decimal MaxValue { get; set; }
public DecimalGenerator(decimal minValue, decimal maxValue)
{
MinValue = minValue;
MaxValue =... |
6f247818ab615710f4ef0f403022ea8aa9127ccc | C# | NeminiCZ/GildedRose-Refactoring-Kata | /csharp/GildedRose.cs | 2.640625 | 3 |
using System.Collections.Generic;
namespace csharp
{
public class GildedRose
{
private readonly IList<Items.IItem> _items;
public GildedRose(IList<Items.IItem> items)
{
this._items = items;
}
public void UpdateQuality()
{
foreach (var i... |