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 |
|---|---|---|---|---|---|---|
fa11b5fdc63abd97c518b0f6c52bbd56f483c6d2 | C# | leefarley/InterdimentionalReacharound | /InterdimentionalReacharound/Layer.cs | 2.765625 | 3 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InterdimentionalReacharound
{
public abstract class Layer
{
... |
cfc8e80aaf842222aba0ea79bc2f0675d6c36d34 | C# | Zuravvski/Mobile-Robots-Project | /robotymobilne_projekt/robotymobilne_projekt/GUI/Converters/DirectionToColorConverter.cs | 3.109375 | 3 | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace robotymobilne_projekt.GUI.Converters
{
public class DirectionToColorConverter : IValueConverter
{
private const string FORWARD_COLOR_HEX = "#CC119EDA";
private const string BACKWARD_COLOR... |
d5fd81b266ddfef822f31c7cd6c351e306d38f13 | C# | DavidMarquezF/SoftwareEngineeringAarhus2020 | /SoftwareDesign/RomanConverterExercise/RomanConverter/Arabic.cs | 3.5 | 4 | using System.Text;
using System.Collections.Generic;
namespace RomanConverter
{
public class Arabic
{
private readonly int _num;
SortedList<int, char> romanDict = new SortedList<int, char>()
{
{1000, 'M'},
{500, 'D'},
{100, 'C'},
{50, 'L'},... |
20d60e904a359d9b0bd5694c2722c007f8b8ca4b | C# | zerq98/RougeLike | /RougeLike.Tests/ItemManagerTests.cs | 2.578125 | 3 | using FluentAssertions;
using Moq;
using RougeLike.App.Abstract;
using RougeLike.App.Managers;
using RougeLike.Domain.Common;
using RougeLike.Domain.Entity;
using System.Collections.Generic;
using Xunit;
namespace RougeLike.Tests
{
public class ItemManagerTests
{
private List<Item> items = new List<It... |
5141836214973f9ec1807bd60b453a5cd47a2308 | C# | Jesus05/Oxygen_Not_Included_disasemble_ILSpy | /firstpass/WorldGenUtil.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
public static class WorldGenUtil
{
public static void ShuffleSeeded<T>(this IList<T> list, Random rng)
{
int num = ((ICollection<T>)list).Count;
while (num > 1)
{
num--;
int index = rng.Next(num + 1);
T value = list[index];
list[index] = ... |
be4851d8fa5c1f0ee880b7cca6550bf549fa8328 | C# | ValeronMEN/CSharpRepos | /OOP_Design_Patterns/Labs/OOP2_Lab3/OOP2_Lab3/Replication.cs | 3.203125 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
namespace OOP2_Lab3
{
[Serializable]
class Page
{
... |
cbc6351e1d00dc1ea2a67373528f58216fe6e7ff | C# | Rafael-Lin/rafael-lin.github.io | /_posts/HMI_preparation/ASML/03_Language/08_cs_lang/c-sharp/CH06/反映類別的使用/UseReflection/UseReflection.cs | 2.828125 | 3 | using System;
using System.Security.Permissions;
using System.Text;
using System.Reflection;
namespace UseReflection
{
/// <summary>
/// 這裡的特性要求程式的運行需要完全信任的安全級別
/// </summary>
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
partial class UseReflection
{
... |
e674d17a55545b41c37806eb73869415da583545 | C# | avaziri87/2D-Platformer | /Assets/Game/Scripts/ScoreSystem.cs | 2.984375 | 3 | using System;
using UnityEngine;
public static class ScoreSystem
{
public static event Action<int> OnScoreChange;
static int _highScore;
public static int Score { get; private set; }
public static void Add(int points)
{
if(_highScore == 0) _highScore = PlayerPrefs.GetInt("HighScore");
... |
be48422b2fc2668a6021a1ef14c0facdaa7c2886 | C# | aboimpinto/BitcoinAddressGenerator | /Generator/Program.cs | 2.703125 | 3 |
using System;
using System.Threading.Tasks;
using AddressGenerator;
using StackExchange.Redis;
namespace Generator
{
partial class Program
{
static async Task Main(string[] args)
{
var connectionMultiplexer = await ConnectionMultiplexer.ConnectAsync("127.0.0.1");
... |
93c388549f61c6fab087dfc8ed67fcd8b24ba602 | C# | sakapon/Codeforces-Contests | /CSharp/Contests2019/CFR605/B.cs | 3.28125 | 3 | using System;
using System.Linq;
class B
{
static void Main() => Console.WriteLine(string.Join("\n", new int[int.Parse(Console.ReadLine())].Select(_ => Console.ReadLine()).Select(Solve)));
static string Solve(string s)
{
var d = s.GroupBy(c => c).ToDictionary(g => g.Key, g => g.Count());
d = "LRUD".To... |
d68e591a32d9647c6977ac611fde562bdea25032 | C# | haydenmc/SabotageSms | /SabotageSms/GameControl/States/RosterApprovalState.cs | 2.703125 | 3 | using System;
using SabotageSms.Models;
using SabotageSms.Providers;
using System.Linq;
namespace SabotageSms.GameControl.States
{
public class RosterApprovalState : AbstractState
{
public RosterApprovalState(IGameDataProvider gameDataProvider, ISmsProvider smsProvider, Game game)
: base(ga... |
5c4c521448e4c2c8bc8ac1cd7b693ea5cbe82452 | C# | aqiu384/HoloImpact | /HoloImpact-Shared/Assets/Shared/Scripts/Utilities/Utilities.cs | 3.09375 | 3 | using UnityEngine;
public static class Utilities
{
/// <summary>
/// Get the full path from the root hiearchy to this transform.
/// <param name="startTransform">The transform to get the path of</param>
/// </summary>
public static string GetTransformPath(Transform startTransform)
{
va... |
b31f58005d62dd04fb4f04c06471f5d2da3043c7 | C# | Ch3shireDev/WIT-Zajecia | /semestr-8/Jezyk C#/alexander/Csharp/Archiwum/2016/A/Binding/Binding/Form1.cs | 2.671875 | 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 Test006
{
public partial class Form1 : Form
{
private BindingList<Food> lst;
... |
649836f42af5cf4150e1adf9511d51d59593fa92 | C# | horppe/Beginner-to-Intermediate-CSharp-Algorithmic-Exercise-Solutions | /Count of workdays/Parse Date and Time/Program.cs | 3.640625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
namespace Parse_Date_and_Time
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter Date and Time \nday.month.year hour... |
4f0551241ce959da1e8345073087991a02067769 | C# | AlienJust/AJ.Std | /AJ.Std.Collections/StructSubPairList.cs | 3.125 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
namespace AJ.Std.Collections
{
/// <summary>
/// Forms one read-only list from parts of two lists
/// </summary>
/// <typeparam name="T">Value type</typeparam>
public class StructSubPairList<T> : IReadOnlyList<T> where T : struct {
#regi... |
b72769fa863f3b0cf54597c6abd3e0b17c5c9452 | C# | ewin66/SipolenFramework | /Code/RDIFramework.WorkFlow/Component/SelectedLine.cs | 2.796875 | 3 | using System.Collections;
namespace RDIFramework.WorkFlow
{
/// <summary>
/// SelectedLine ժҪ˵
/// </summary>
public class SelectedLine:ArrayList
{
public SelectedLine()
{
//
// TODO: ڴ˴ӹ캯
//
}
public override void Clear()
{
foreach (Link c in this)
c.selected = false;
base.Clear();... |
44035f5692cd6357f8978a4814f5d701297e9dde | C# | psotirov/TelerikAcademyProjects | /Web Services/Homework 3 - Consuming web services/Feedzilla.Client/Category.cs | 2.578125 | 3 | using System;
using System.Runtime.Serialization;
namespace Feedzilla.Client
{
[DataContract]
class Category
{
[DataMember(Name = "category_id")]
public int Id { get; set; }
[DataMember(Name = "english_category_name")]
public string Name { get; set; }
public overr... |
d249cce2dbb6b2abc198143c7c07fe38d1165961 | C# | bart120/Techem | /Techem/Techem/Converters/SunConverter.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Techem.Models;
using Xamarin.Forms;
namespace Techem.Converters
{
public class SunConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo cultur... |
bd2c198594cd9a68f401deb5b8c9ce7d08ed462b | C# | QQ2287991080/DesignPatterns | /FactoryPattern/Dome/LoggerFactory.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactoryPattern.Dome
{
public abstract class LoggerFactory
{
/// <summary>
/// 实现记录日志
/// </summary>
public void WriteLog()
{
var... |
1cb3b6cf96c59c585d1da840e0f53579daaf5655 | C# | Colean128/RichDows | /RichDows/Program.cs | 2.640625 | 3 |
using DiscordRPC.Message;
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Threading;
using System.Runtime.InteropServices;
namespace DiscordRPC.Example
{
class Program
{
[DllImport("user32.dll")... |
5467f74c8fed891eb9952a46db0f8102479fe9b9 | C# | Ilia-Kosenkov/Compatibility | /src/IndexRangeExtensions/RangeEnumerableProxy.cs | 2.796875 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
namespace IndexRangeExtensions
{
public struct RangeEnumerableProxy : IEnumerable<int>
{
private readonly Range _range;
private readonly int _length;
public RangeEnumerableProxy(Range range, int length)
... |
d89bd579986e3509874636312d5ae3b50f02f551 | C# | JunichiroKohari/DioDocsTest | /DioDocsTest/QuickStart.cs | 2.703125 | 3 | using GrapeCity.Documents.Pdf;
using GrapeCity.Documents.Text;
using System.Drawing;
namespace DioDocsTest
{
class QuickStart
{
public void createHelloWorldPDF ()
{
// create a new PDF document
GcPdfDocument doc = new GcPdfDocument();
// add a page, get the ... |
080e67ae0a38a1c39e046fcbd228b61288d93f9a | C# | leejongcheol/csharp20190104 | /Day1/ConsoleApp1/Program.cs | 2.8125 | 3 | using System;
namespace ConsoleApp1{
interface Dog { }
class A : Dog {
internal void a() {
Console.WriteLine("........");
}
}
class Test {
static void Main() {
A a1 = new A();
a1 = null;
a1.a();
Console.ReadLin... |
8a7b902fc58e63becab10f52f1e810a6e301cc2c | C# | ericvenneker/EFHooks.EFCore | /EFHooks.EFCore/HookedDbContext.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Common;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace EFHooks
{
/// <summary>
... |
3c387585529ab9e5797e45d2332192e780563786 | C# | skolbin-ssi/Dynamics-AX-Integration | /FileBasedIntegrationSamples/ConsoleAppSamples/DataPackageHandler/PackageImporter.cs | 2.640625 | 3 | using Microsoft.WindowsAzure.Storage.Blob;
using Newtonsoft.Json;
using ODataClient.Microsoft.Dynamics.DataEntities;
using System;
using System.IO;
using System.Threading;
namespace DataPackageHandler
{
/// <summary>
/// Showcases data package import using the DataManagementDefinitionGroups APIs.
/// </s... |
4eab6f6ac557ed2a17fd85a2785a9895671c2051 | C# | george7378/flightbalance | /FlightBalance/Utility/Station.cs | 2.875 | 3 | using FlightBalance.Utility.Enums;
using System.Xml.Serialization;
namespace FlightBalance.Utility
{
[XmlInclude(typeof(FixedStation))]
[XmlInclude(typeof(VariableStation))]
public abstract class Station
{
#region Properties
public abstract StationType Type { get; }
public st... |
1eeaded7b4f775315106cd6dac3442d60045cc5f | C# | Selean79/Vasilyev | /Библия C# доп. материалы/Source/Chapter3/NestedClass/Program.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NestedClass
{
class Program
{
static void Main(string[] args)
{
}
}
public class Shed
{
// Здесь идут свойства и метода Shed
public class Window
{
... |
d4033d517676cb393b33dc184feecdce43c689ee | C# | VioletTape/PS_TPL_Examples | /ReaderWriterSynchronizedExample/StandardImplementation.cs | 3.25 | 3 | using System;
using System.Threading;
namespace ReaderWriterSynchronizedExample1 {
internal class Order {
private readonly ReaderWriterLockSlim orderLock = new ReaderWriterLockSlim();
public decimal Amount { get; private set; }
public decimal Discount { get; private set; }
public... |
ea651d5bcc91ea3abf4e9c71840cc0af69672d91 | C# | fo40225/FreeTextBox-3.3.1-src | /FreeTextBox3/Enums/BreakMode.cs | 2.65625 | 3 | using System;
namespace FreeTextBoxControls {
/// <summary>
/// What happens when 'Enter' is pressed
/// </summary>
public enum BreakMode {
/// <summary>
/// P tags are added (IE only)
/// </summary>
Paragraph = 0,
/// <summary>
/// BR tags are added
/// </summary>
LineBreak = 1
}
}
|
0bfc767985ff063c1df983ca272fd090427312e8 | C# | MartinKhol/Coop-RPG | /Assets/Scripts/Player/Wallet.cs | 2.625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public delegate void ValueChanged(int value);
public class Wallet
{
public ValueChanged OnValueChanged;
public int Coins
{
get;
private set;
}
public bool AddCoins(int amount)
{... |
b07fee33e6edda14340a583b784790e907df3d6e | C# | tgibbons-students-css/cis3285-unit7-pairs-start-brianna-and-owen | /Domain/SilverAccount.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Domain
{
internal class SilverAccount : IAccount
{
/// <summary>
/// 1 point for each $10 deposited
/// </summary>
/// <param name="amount"></param>
... |
106d430c860339820c90cc66f9434247d8ba09c5 | C# | dqchess/Super-Math-World-Unity-Scripts | /Scripts/LevelBuilder/JsonUtil.cs | 2.796875 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class JsonUtil : MonoBehaviour {
public static string sizeXkey = "sizeX";
public static string sizeZkey = "sizeZ";
public static string dimensionsKey = "dimensions";
public static string scaleKey = "scale"... |
74b631298ff5d15b74fbc3dfe36e0f6a9bfc3758 | C# | LuddeM/Procedural-Trees | /Procedural Trees/Assets/Scripts/Other/Tree Generation/My Version/VolumeFactory.cs | 2.859375 | 3 | using UnityEngine;
using System;
namespace TreeGeneration.MyVersion
{
public enum Volume
{
Sphere
}
public static class VolumeFactory
{
public static IVolume Create(Volume volume, Vector3 position, float scale)
{
if (volume == Volume.Sphere)
{
... |
a221bd03a142e602af574e8643dc9453afb53431 | C# | mcseba/SportRetailShop | /Sport Retail/Sport Retail/Controllers/ProductController.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Sport_Retail.Models;
namespace Sport_Retail.Controllers
{
public class ProductController : Controller
{
pr... |
cb260f5111ea47f044ddb2ae67725322b1be1fe7 | C# | netintellect/EF7App | /EF7ConsoleApp/ServiceCruiser.Model.Validations.Core/ValidatorCacheKey.cs | 2.609375 | 3 | using System;
namespace ServiceCruiser.Model.Validations.Core
{
internal struct ValidatorCacheKey : IEquatable<ValidatorCacheKey>
{
public ValidatorCacheKey(Type sourceType, string ruleset, bool generic) : this()
{
SourceType = sourceType;
Ruleset = ruleset;
... |
d2ad431a68313bd7995bd78ebf25d587ad9333f4 | C# | napatel56/Algorithms | /AlgoProblemSets/ExcelHeader.cs | 3.578125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgoProblemSets
{
public class ExcelHeader
{
public class Result
{
public int start;
public int end;
public int length;
... |
cd51f0a645e9a8cc0a146c906c675412ca067628 | C# | MrVolt/MVP_Store | /Store.Presenter.Impl/SearchWindowPresenter.cs | 2.921875 | 3 | using System;
using Store.DataAccess.Factory;
using Store.View;
namespace Store.Presenter.Impl
{
public class SearchWindowPresenter: ISearchWindowPresenter
{
private readonly ISearchWindowView _searchWindowView;
private readonly IDataAccessFactory _dataAccessFactory;
//Конструктор
... |
c8af1570620d1700f8d6f16bcc7aa0b6cfccc58f | C# | cuicanzhang/first | /WxBot/WxBot/License/LicSerializable.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace WxBot.License
{
class LicSerializable
{
string fileName = string.Empty;
pub... |
4f62e3fd81c6e45c3349519bc7f262c3a46182cb | C# | marteaga/hvmvc-part3 | /source/HealthVault/ItemTypes/StructuredMeasurement.cs | 2.703125 | 3 | // Copyright(c) Microsoft Corporation.
// This content is subject to the Microsoft Reference Source License,
// see http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
using System;
using System.Collections.Generic;
using System.Collections.ObjectMo... |
2e53dfc92d4e85d2ec918a61a317149d84a564d1 | C# | nicuistrate/Atom-Team-Project | /Atom - Nicu/Atom/Atom/Vitamine.cs | 2.578125 | 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 Atom
{
public partial class Vitamine : Form
{
public Vitamine()
{
... |
f6a23e68ddf386b0cfa6f480a2eabf9bf548605a | C# | aboosamah94/zara | /zara-demo-unity/Assets/Zara/Inventory/MedicalConsumablesGroup.cs | 2.765625 | 3 | using System.Linq;
namespace ZaraEngine.Inventory
{
public class MedicalConsumablesGroup
{
// Groups definition
public static readonly MedicalConsumablesGroup EpinephrineGroup = new MedicalConsumablesGroup(InventoryController.MedicalItems.EpinephrineSyringe) {Name = "Epinephrine" };
pub... |
db728508fc32163ec5b1a07af537275190b20a5e | C# | stevethemacguy/Xamarin-iOS | /GFS/GFS_iOS/Product.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace GFS_iOS
{
//Represents a single product
public class Product
{
public string Summary;
public string AverageRating;
public string stocklevelstatuscode;
private String imageFileName =... |
2b6e8343fab27e4e4289ac0a121c38548b2ca75b | C# | amysimmons/pluralsight | /Classes2/Classes2/Program.cs | 3.875 | 4 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
namespace Classes2
{
class Employee
{
public int Age { get; set; }
public string Name { get; set; }
public double Salary { get; set; }
public D... |
b8c44f8e9a6edd67de08759f463544d108d049cd | C# | shekhar700/Training-Feb-2021 | /Modules/C#/Day1/tarunpatidar/assignment/StudentGrade/StudentGrade/Program.cs | 3.453125 | 3 | using System;
namespace StudentGrade
{
class Program
{
static void Main(string[] args)
{
int[][] arr = new int[10][];
int temp = 0;
string grade;
bool endApp = false;
while (!endApp)
{
string name, addres... |
35b2029cc4390bbc4d13498dbb0adab28c119aea | C# | langmario/dhbw | /SEM4_CSharp/Aufgabenblatt 5/Aufgabe 13/Mappings/CustomerMap.cs | 2.5625 | 3 | using Aufgabe_13.Models;
using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Aufgabe_13.Mappings
{
class CustomerMap : ClassMap<Customer>
{
pub... |
2c01a37c0c5700dabd8d433175b809381ab0faa8 | C# | mrogunlana/Panama | /Panama/Invokers/ScopedInvoker.cs | 2.53125 | 3 | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Panama.Extensions;
using Panama.Interfaces;
using Panama.Models;
using System.Diagnostics;
using System.Transactions;
namespace Panama.Invokers
{
public class ScopedInvoker : IInvoke<IHandler>
{
private readonly... |
c1e55b51ea23ef767dfb6e09a1f6830ee51a93db | C# | buzakovpa/ccpublic | /CustomsCenter/CC.WEB/Infrastructure/Helpers/ShopProductHelpers.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using CC.MODELS;
namespace CC.WEB.Infrastructure.Helpers
{
public static class ShopProductHelpers
{
public static List<ShopProductReview> GetReviews(this ShopProduct entity)
{
return entity.Re... |
10c0a0aba0aceea569d0b15266b02a55609b8930 | C# | JacobBrown4/ExploreCalifornia | /Controllers/BlogController.cs | 2.515625 | 3 | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ExploreCalifornia.Controllers
{
[Route("blog")]
public class BlogController : Controller
{
[Route("")]
public IActionResult Index()
{
... |
03b76da88805993d6a733d6367225df12bbfe9b1 | C# | plmntnsv/Telerik-Academy-Homeworks | /C#/02. Advanced/03. Numeral Systems/03. Decimal to hexadecimal/Decimal to hexadecimal.cs | 3.734375 | 4 | using System;
namespace _03._03.Decimal_to_hexadecimal
{
class Program
{
static void Main(string[] args)
{
ulong decNum = ulong.Parse(Console.ReadLine());
Console.WriteLine(ConvertDecimalToHexa(decNum));
}
static string ConvertDecimalToHexa(ulong decNum)... |
d16b174b4a2c9045170ff0f71c3a2edbec33fe8a | C# | LIT-GAD-GE/ClassCode2017 | /8.1-InventoryManagementWithItems/Assets/Scripts/InventoryUIManager.cs | 3.078125 | 3 | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
/*
* This script is attached to the InventoryPanel. It is responsible for updating the inventory UI
*/
public class InventoryUIManager : MonoBehaviour {
/*
* Each inventory item has:
* - an image
* - a piece ot text (containing a number th... |
251fcc32619c1ca9098ddd34b08edeb83c1b1db4 | C# | MosheSommers/National-Parks-Weather | /Capstone.Web/Models/Weather.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Capstone.Web.Models
{
public class Weather
{
public Weather(bool farenheit)
{
Farenheit = farenheit;
}
public string ParkCode { get; set; }
public int Day { get; ... |
3b6d0d2903b5d972ca005d1ce09531a30c43252e | C# | HenryHYH/Demo | /SelfHostDemo/TestApp/Program.cs | 3.140625 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace TestApp
{
class Program
{
static void Main(string[] args)
{
//Test();
}
private static voi... |
5e552e19d003e31b5392a6ff5abc867c00e4f972 | C# | AtlanticBit/3DS-IDE | /sctlmod/Branches/4.0/SkipListBenchmark/TestWindow.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using Searching;
using System.Diagnostics;
namespace SkipListTest
{
public partial class TestWindow : Form
{
static List<String> ListOfWordsToUse = new List<String>();
public static SkipList CurSkipLi... |
b9510c973162b6db18af2aa29debf5c583319970 | C# | AngataHristov/AdvancedCSharp | /Excercises/MultidimensionalArrayPartThree/MultiArr.cs | 3.53125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
class MultiArr
{
static void Main()
{
//int[,] numbers = new int[3, 4];
//
//Console.WriteLine(numbers.Rank); // "2" (two dimencional array)
//
//Console.WriteLine(numbers.Length); // "12" (number of the... |
d759d2cf0a034b0980d57cb5c4e9e585c675f1d3 | C# | Fram90/coursera-alg1 | /AlgorithmicToolbox/Week1.cs | 3.578125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmicToolbox
{
class Week1
{
public static void Run()
{
var input = Console.ReadLine();
var n = Int32.Parse(input);
var numbe... |
5704d66d82d6f5962f38e4388ef0edacfa8b423e | C# | microsoft/reverse-proxy | /src/ReverseProxy/Utilities/CollectionEqualityHelper.cs | 2.953125 | 3 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Yarp.ReverseProxy.Utilities;
internal static class CollectionEqualityHelper
{
public static bool Equals<T>(IReadOnlyList<T>? list1, IReadOnlyList<T>? list2, IEqu... |
7158fab8861d054ccd55b2998d3f49c3f3ee5270 | C# | Ofir408/MyProjects | /C#/Windows Project - Image Service/Source_Code/Logging/LoggingModel.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ImageService.Logging {
class LoggingModel : ILog {
// the event that will be invoked
public event EventHandler<LogArgs> MessageRecieved;
// the method to call in order to log something
... |
30945edcc6208b12b5e177d372ba2935e183ea78 | C# | meverett/Intent | /src/Intent.Core/Midi/Rules/MidiListRule.cs | 3.3125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Intent.Midi
{
/// <summary>
/// Matches specified integer values against a known whitelist
/// and/or blacklist.
/// </summary>
public class MidiListRule : MidiValueRule
... |
b8c2d7b29a5333119230bf8ad81bbd6ede8b8522 | C# | ahamedsahib/DataStructurePrograms | /DataStructurePrograms/Program.cs | 2.921875 | 3 | using System;
namespace DataStructurePrograms
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Welcome to Data Structure Programs");
// UnorderdList<string> unorderdList = new UnorderdList<string>();
//unorderdList.UnorderdListOperation... |
295756f5fc9afcda37fc72cdee82e09a04a75cad | C# | LucasCancio/aceleradev-csharp | /csharp-1/ConsoleApp/Program.cs | 2.59375 | 3 | using Codenation.Challenge;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApp
{
class Program
{
static void Main(string[] args)
{
try
{
Object test = null;
teste();
}
... |
090897e7d3a373263df938f76e3cb3903c0e8698 | C# | andyshao/YXL.OpenNetCore | /IdentitySite/Common/Membership.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Microsoft.AspNetCore.Authentication.Cookies;
using PermissionSystem.Models;
namespace IdentitySite.Common
{
public static class MembershipHelper
{
public static string ServiceBillType ="http://schema... |
28542a0f38151e2cdc4590b1788bd3ac49b0caac | C# | RenuJaishankar/NewGithubRepo | /ADN102.Starter.07.Interfaces/ADN102.07.Interfaces/Page07.cs | 3.5625 | 4 | using System;
using System.Collections;
using System.Collections.Generic;
namespace Page7
{
class Program
{
public static void Main(int returnat)
{
int[] Ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
string[] Strings = {"zero" , "one", "two", "three", "four",
... |
b138ef976d9a95bac4943038b88d50002bf3e445 | C# | HomeIncorporated/errordite | /core/Errordite.Core/Extensions/StringExtensions.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Web.Mvc;
using HtmlAgilityPack;
namespace Errordite.Core.Extensions
{
public static class StringExtensions
{
public static i... |
a7e000d147e50c225f4c3b102db64c2d10f6a291 | C# | shoter/openSociatis | /Sociatis Test Suite/Dummies/PartyDummyCreator.cs | 2.59375 | 3 | using Entities;
using Entities.enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sociatis_Test_Suite.Dummies
{
public class PartyDummyCreator : EntityDummyCreator, IDummyCreator<Party>
{
private Party party
{
... |
eaaea1e4771113a10b8f8f049159cedf6a3d3da0 | C# | craigshaw/MegaROM | /MegadriveUtilities/BigEndianBinaryAccessor.cs | 3.109375 | 3 | using System;
using System.Runtime.InteropServices;
namespace MegadriveUtilities
{
public class BigEndianBinaryAccessor
{
private byte[] binData;
public BigEndianBinaryAccessor(byte[] binData)
{
if (binData == null)
throw new ArgumentNullException("binData"... |
22a9801ae89420061a447aaf6a73b1a3c9c20104 | C# | ShadowBear/RoyalCalypse | /Assets/Scripts/GameController/ProceduralRoom.cs | 2.578125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ProceduralRoom : MonoBehaviour
{
int laborRooms = 5;
int chestRooms = 2;
public GameObject Floor;
public GameObject Cross;
[SerializeField]
private List<Vector2> roomPositions = new List<Vector2>();
... |
dead393d1b9703f6bea94de17196a9b4e715380e | C# | Ferencz8/Dealership | /DealershipAuto - Pisti/DealershipAuto.Console/Program.cs | 3.265625 | 3 | using DealershipAuto.Business;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DealershipAuto.ConsoleUI
{
class Program
{
static void Main(string[] args)
{
IDealership dealership = new Dealership();
DisplayLines();
Display(... |
682c59e5f33e947d2617c9070d87882faadde906 | C# | aersam/TsCodeGen | /TsCodeGen/TSWalker.cs | 2.828125 | 3 | using Microsoft.CodeAnalysis.CSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis;
namespace TsCodeGen
{
class TSWalker : CSharpSyntaxWalker
{
... |
0f629259ba62b437dda62b1a1ba494b575d3c760 | C# | CalculatorKata/AccordViews | /XmlAttributeExtractor/XmlAttributeExtractor.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace XmlAttributeExtractor
{
public class XmlExtractor
{
private XmlDocument xmlDocument;
public XmlExtractor(strin... |
344b43b8b8124e327c58f60a421edb149de36d2b | C# | Sirovich/FileCabinet | /FileCabinetApp/CommandHandlers/Handlers/ExportCommandHandler.cs | 2.59375 | 3 | using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Xml;
using FileCabinetApp.Services;
namespace FileCabinetApp.CommandHandlers.Handlers
{
/// <summary>
/// Command handler for export.
/// </summary>
public class ExportCommandHandler : ServiceCommandHandlerBase
... |
426ebfaccadb3a1ecb020a4090e8cd14c3ac8adc | C# | shaihitdin/PT | /week_4/Serialization/Serialization/Program.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
namespace Serialization
{
class Program
{
static void Main(string[] args)
{
FileStream f =... |
18dcf71881053a1f3194a11acebdd9adf282a4e6 | C# | himanshugoel2797/KokoroVR | /VoxelWaveSurfing/WaveSurfer.cs | 2.625 | 3 | using Kokoro.Math;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Intrinsics.X86;
using System.Runtime.Intrinsics;
namespace VoxelWaveSurf... |
4cc40f56d1b5d138d9b0dfc00595fdec8404afd0 | C# | shendongnian/download4 | /first_version_download2/120733-8477228-19024450-2.cs | 2.921875 | 3 | private bool TermExists(string word)
{
string upperWord = word.ToUpper();
return m_xdoc.Descendants("Term")
.Any(term => term.Attribute("Name")
.Value.ToUpper()
.Contains(upperWord));
}
|
f177e1bbc2b78e9b96483a3c3043f674771ceb9a | C# | danmalcolm/RezRouting.Net | /src/RezRouting/Configuration/Builders/CollectionBuilder.cs | 2.734375 | 3 | using System;
using RezRouting.Utility;
namespace RezRouting.Configuration.Builders
{
/// <summary>
/// Configures and creates a collection Resource
/// </summary>
public class CollectionBuilder : ResourceBuilderBase<CollectionData>, ICollectionConfigurator
{
private readonly CollectionIte... |
41c8d5e871e44dca8b9ffcab9db772a52bf7c799 | C# | wolf81/TokenTracker | /TokenTracker/Models/WalletItem.cs | 2.859375 | 3 | using SQLite;
using TokenTracker.ViewModels.Base;
namespace TokenTracker.Models
{
public abstract class WalletItemBase : ExtendedBindableObject
{
[PrimaryKey]
[AutoIncrement]
public int Id { get; set; }
private string tokenSymbol;
public string TokenSymbol
{
... |
c56231c0ac1d19057acc6d562e27f256d747112e | C# | sotanmochi/UnityMultiplayerToolkit | /SampleProjects/PerformanceTest/Assets/ThirdParty/com.unity.multiplayer.mlapi-0.1.0/Runtime/Transports/Tasks/SocketTask.cs | 2.71875 | 3 | using System;
using System.Net.Sockets;
namespace MLAPI.Transports.Tasks
{
/// <summary>
/// Represents one or more socket tasks.
/// </summary>
public class SocketTasks
{
/// <summary>
/// Gets or sets the underlying SocketTasks.
/// </summary>
/// <value>The tasks.... |
d5d2eb5a1ab66d11d50861c27f7c47ce108cb605 | C# | Deptfortransport/TDP | /TDPortal/Codebase/TransportDirect2/LocationService/GIS/GisQuery.cs | 2.5625 | 3 | // ***********************************************
// NAME : GisQuery.cs
// AUTHOR : Mitesh Modi
// DATE CREATED : 03 Jul 2013
// DESCRIPTION : Class which provides a very thin wrapper around the ArcIMS Query object provided by ESRI
// ************************************************... |
190dcb7ebbe6f229791ecc02921c470af95bac3a | C# | waitingtocompile/FIOSharp | /Data/Material.cs | 3.09375 | 3 | using Newtonsoft.Json;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text.RegularExpressions;
namespace FIOSharp.Data
{
public struct Material : IEquatable<Material>
{
[JsonProperty("Name")]
[JsonRequired]
public readonly string Name;
[JsonProperty("Ticker")]
[JsonRe... |
00f45ce145672b3e6dcab4ac809fb57b8291a888 | C# | haolemawo/MoQingCodeLibrary | /MoQing.Infrastructure/SqlSugarBaseRepository.cs | 2.5625 | 3 | using Infrastructure.IRepositorie;
using MoQing.Domain;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Infrastructure.Repositorie
{
public class SqlSugarBaseRepository<TEntity> : ISqlSugarBaseRepository<TEntity> where TEntity ... |
0dbaee4e709d2b4fb6f225f9ecebeb07275e9592 | C# | pedrops123/ToDoApi | /Models/TodoSchema.cs | 2.625 | 3 | using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
namespace todoApi.Models
{
///<summary>
/// Schema TODO Model
///</summary>
public class TodoSchema
{
///<summary>
/// Id da tarefa TODO
... |
6f12e56e2312e8617214a5295d87bf0a6d078cb6 | C# | maccettura/AdventOfCode-2017 | /AdventOfCode/Day05Solver.cs | 3.625 | 4 | using System;
using System.Linq;
namespace AdventOfCode
{
///<Summary>
///<see href="https://adventofcode.com/2017/day/5">A Maze of Twisty Trampolines, All Alike</see>
///</Summary>
public class Day05Solver : ISolver
{
public int Day => 5;
public string Title => "A Maze of Twisty ... |
8adb0925306e6158c0a9d080815cd366a59a7235 | C# | cullensu/Blackjack | /BlackjackTests/HandTests.cs | 3.109375 | 3 | using Blackjack;
using NUnit.Framework;
namespace BlackjackTests
{
[TestFixture]
public class HandTests
{
[SetUp]
public void Setup()
{
_randomizer = new FakeRandomer();
_testObj = new Hand();
}
private Hand _testObj;
private FakeRan... |
33d40f73a400ce26d99d423a338711c61ade3c59 | C# | Deathpave/H2Repo | /AsymEncrypt/AsymEncryptServ/RSAParameterKey.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
namespace AsymEncryptServ
{
public class RSAParameterKey
{
private RSAParameters _publicKey;
private RSAParameters _privateKey;
public void AssignNewKey()
{
RSACr... |
8e413475b73e04f8312e71181c164a41088079e4 | C# | KuuuPER/svyaznoy-test | /SvyaznoyTestProject/Models/Elevator/ElevatorCabine.cs | 2.53125 | 3 | using System.Threading.Tasks;
namespace SvyaznoyTestProject.Models
{
class ElevatorCabine
{
private ushort _maxWeight;
private PublishSubscriber<CloseDoorRequestEventArgs> _closeDoorPs;
private PublishSubscriber _readyToMovePs;
public ElevatorCabine(ElevatorOptions options,
... |
fe8a44b2bc3a54f971fb89ebabf0f16610566061 | C# | dhivadeekshi/conways_game_of_life | /UnityProject/Assets/Scripts/PoolManager/PoolContainer.cs | 2.703125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PoolContainer : MonoBehaviour {
private string poolName = string.Empty;
private GameObject poolItemPrefab = null;
private List<PoolItem> poolItems = new List<PoolItem>();
public void InitPoolFor(string poolNam... |
202cd39e678f65bbc368699c04659638777d318d | C# | shruk/cc150CSharp | /Chapter1/CheckPermutation1_2.cs | 3.578125 | 4 | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Abstractions;
using cc150CSharp.Util;
namespace cc150CSharp{
public class CheckPermutation1_2{
//problem:Given two strings, write a method to decide if one is a permutation of the other.
//1.Listen: assume the string is not null,
//2.Examp... |
302d5a101eb515c7015a33c80072e828f2fea021 | C# | ReydanProjects/ExpressDelivery | /ExpressDelivery/ExpressDelivery/Models/DataManager.cs | 2.671875 | 3 | using ExpressDelivery.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ExpressDelivery.Models
{
public class DataManager
{
public List<object> GetListObjectMap()
{
List<object> result = new List<object>();
v... |
57242b98ae143489133d47967cc67ad6d78d43f2 | C# | Chekkee/SchoolDiaryBackEnd | /SchoolDiary/Validations/ValidateDateRangeAttribute.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
namespace SchoolDiary.Validations
{
public class ValidateDateRangeAttribute : ValidationAttribute
{
public override bool IsValid(object value)
... |
d6de008f459cbe699f87e8401ab21d81e6151941 | C# | meenakshirana8587/Taazaa-Assignments | /ProductsAndLcms/ProductsAndLcms/ProductsAndLcm.cs | 3.1875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace ProductsAndLcms
{
public class ProductsAndLcm
{
int sum = 0;
public int result(int[,] arr)
{
for (int i = 0; i < (arr.Length)/2; i++)
{
... |
d14fdef635d1f87a28aae2f7679cafba36cfbf8d | C# | majditito/ct | /Coffee/DAL/Repositories/ProductRepository.cs | 3.140625 | 3 | using Coffee.DAL.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Coffee.DAL.Repositories
{
public class ProductRepository
{
public ProductRepository()
{
this.Products = new List<Product>()
{
... |
6c5e487cc6720c106ae4ea9fc2fcbb060ed0886c | C# | sosuke3/LeetCode | /Problems/Median of Two Sorted Arrays/FindMedianSortedArrays.cs | 3.609375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problems.FindMedianSortedArrays
{
public static class Solution
{
public static double FindMedianSortedArrays(int[] nums1, int[] nums2)
{
if(nums1.Length == ... |
861b36035a40d107afdc3faad1d1ba0824df915b | C# | dragazo/breadboard | /BreadBoard/SourceEditor.cs | 2.84375 | 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 BreadBoard
{
public partial class SourceEditor : Form
{
public string Source
... |
5ac7d29f5fda2ff95dba14fb8d543190c678c580 | C# | dotnet/aspnetcore | /src/Http/Routing/perf/Microbenchmarks/Matching/JumpTableMultipleEntryBenchmark.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.
using BenchmarkDotNet.Attributes;
namespace Microsoft.AspNetCore.Routing.Matching;
public class JumpTableMultipleEntryBenchmark
{
private string[] _strings;
private PathSe... |
b19a3ec5a90508667503570a766165eb17fa6ddf | C# | potosik/petrovich | /Petrovich.Core/Extensions/UriExtensions.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Petrovich.Core.Extensions
{
public static class UriExtensions
{
public static Uri SetParameter(this Uri uri, string paramName, string value)
{
... |
bc2dc51fd283ee4db358e8b2f666622f06da9dd6 | C# | JohanLarsson/OxyPlotBenchmark | /OxyPlotBenchmark/Vm.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using OxyPlot;
using OxyPlot.Axes;
using OxyPlot.Series;
using OxyPlotBenchmark.Annotations;
namespace OxyPl... |
c8a0fc4c7f7d06725ac811641f408136c7576b25 | C# | a-kshesh/Csharp-Essentials | /Assignment_03_Theatre/Time.cs | 3.78125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assignment_03_Theatre
{
class Time
{
public int Hours { get; }
public int Minutes { get; }
public int Seconds { get; }
public Time(int hours, int minut... |
094e2614ee8601fe12f82565639a227a31de6628 | C# | MVafaeiM/Validation | /Validation/WindowsValidation.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Eventing.Reader;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using Validation.Public;
namespace Validation
{
namespace Windows
{
public static class WindowsValidation
... |
428e6bcbec76c5eaa758c6e7479003b30983ae48 | C# | TheRealTitan/Jeorpady-Project | /Jeorpady Project/Classes/HelpingMethods.cs | 2.921875 | 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.Media;
using System.Windows.Media.Effects;
namespace Jeorpady_Project
{
public static class HelpingMethods
{
private s... |
42f50deeb20cc8fe9320f745480218af00366aee | C# | tavisca-vmandal/tdd-basics | /bowling-ball/Game.cs | 3.484375 | 3 | using System;
namespace BowlingBall
{
public class Game
{
private int[] rolls=new int[21];
private int currentRoll=0;
private Boolean IsSpare(int frameIndex)
{
return rolls[frameIndex]+rolls[frameIndex+1]==10;
}
private int SpareBonus(... |
3cc8a1b54fd9a75dba2d766df6c0d19b8edc501b | C# | chety/CSharp | /Linq.cs | 3.421875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Console;
namespace Tutor
{
class ProductInfo
{
public int Id { get; set; }
public string Name { get; set; }
public static IEnumerable<P... |