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 |
|---|---|---|---|---|---|---|
9e9c444fd684fd15a167c2c2f699f07fdbbdb08a | C# | MrPeer/Accenture-Tekstac | /C#/Registration Exception - Custom Exception/RegistrationException.cs | 3.5 | 4 | using System;
public class Register //Do not change the class name
{
public static void Main(String[] args) //Do not change the method signature
{
//Implement code here
Register r=new Register();
Console.WriteLine("Enter Name");
String name=Console.ReadLine();
... |
39b1c9f3bc04d454df810ddaa3f144cbccfef822 | C# | CodingCatHK/SettingCat | /UnitTestCat/TestSampleCat.cs | 2.546875 | 3 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestCat
{
[TestClass]
public class TestSampleCat
{
[TestMethod]
public void TestLoadFromFile()
{
var FullPathToSettingDirectory = @"Settings\";
var SettingInstance = GlobalSettin... |
1ab2760da06a44cc2213216969ce5b65c75f5761 | C# | dradkov/SoftUni | /Databases Advanced - Entity Framework/CodeFirst/P01_HospitalDatabase/Data/HospitalContext.cs | 2.515625 | 3 | namespace P01_HospitalDatabase.Data
{
using Microsoft.EntityFrameworkCore;
using P01_HospitalDatabase.Data.Models;
public class HospitalContext : DbContext
{
public HospitalContext()
{
}
public HospitalContext(DbContextOptions options)
: bas... |
83ca81629a9a0aafbc628cca039f1ca2f0c97a2c | C# | danieltabarest/XamarinForm-Management | /Acute/Acute/Acute/Controls/FilterBlock.cs | 2.71875 | 3 | using System;
using Xamarin.Forms;
namespace Acute.Controls
{
public class FilterBlock : ContentView
{
public readonly static BindableProperty ButtonTextProperty =
BindableProperty.Create("ButtonText", typeof(string), typeof(FilterBlock), "");
public readonly static BindablePrope... |
d3107d8c78e99755d42c5a4eda85bc62e8d3a56a | C# | OSUGameDev/LoginSoftware | /GameDevLogin/Login.xaml.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
9caec100cc7746585fd00deb1e7ed7dba4eee120 | C# | rodya-mirov/Cow-Mouse | /CowMouse/CowMouse/Buildings/Building.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using CowMouse.Tasks;
using CowMouse.InGameObjects;
using CowMouse.NPCs;
namespace CowMouse.Buildings
{
/// <summary>
/// The logical part of a building (which is really just a designated area
... |
10f712c7d1c18f898b8ed346550869bae635f161 | C# | webdes27/game-updater | /client/classes/listloader/DTHasher.cs | 2.6875 | 3 | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
namespace com.jds.AWLauncher.classes.listloader
{
public static class DTHasher
{
private static byte[] ConvertStringToByteArray(string data)
{
return (new U... |
7204c4d5728405a9405160e41c8c22838d469dd5 | C# | Bigtalljosh/word-ladder | /WordLadder.UnitTests/WordLadder.UnitTests/WordLadderSolver/WordLadderSolverTests.cs | 2.9375 | 3 | using System.Collections.Generic;
using WordLadder.Solvers;
using Xunit;
namespace WordLadder.UnitTests
{
public class WordLadderSolverTests
{
private static readonly List<string> _wordList = new() { "spin", "spit", "spat", "spot", "span", "spot" };
[Fact]
public void ShouldReturnAWor... |
1a3406fcc36faa2f152354b9d79eb8cf9d05f112 | C# | QIANbais/Week4_Inclass_OOP | /Vehicle.cs | 3.578125 | 4 | using System;
using System.Collections.Generic;
using System.Text;
namespace Week3_Inclass_OOP
{
class Vehicle
{
// Declare fields to represent registration_number and color
private float regristration_number;
private string color;
// Constructor
public Vehicle()
... |
78279d2970cb90e016f3149fc75bb43393b670b0 | C# | lukeryannetnz/quartznet-dynamodb | /src/QuartzNET-DynamoDB.Tests/Unit/JobDataMapConverterTests.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
using Quartz.DynamoDB.DataModel.Storage;
namespace Quartz.DynamoDB.Tests.Unit
{
public class JobDataMapConverterTests
{
[Fact]
[Trait("Category", "Unit")]
public void StringsConvertSuccessfully()
{
... |
9389a7033df6ca2206a28ff4fd6c3630b220d478 | C# | xiaobudian/XBD | /AQI/GetAQIData/ExtractData.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Timers;
using System.Configuration;
namespace GetAQIData
{
public class ExtractData
{
private int seconds = 100;
private Timer timer = null;
... |
5beea55f9cb4c00c7283b28743fc3bcf23bc354c | C# | DennisCorvers/ByteStream | /ByteStream/ByteStreamTest/Managed/ByteStreamTests.cs | 2.71875 | 3 | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
using ByteStream.Mananged;
using ByteStream;
namespace ByteStreamTest.Managed
{
public class ByteStreamTests
{
private const int BUFSIZE = 32;
private ManagedStream bs;
private byte[] m_buffer;
... |
b8733167a56df9df19f309488bfb0029c7f0cf61 | C# | Souing/czbk | /ASP.Net MVC最新版7/代码/Day8Code/Day8Code/EFJiCheng1/CommonCRUD.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EFJiCheng1
{
class CommonCRUD<T> where T: BaseEntity
//T是泛型,T必须是继承自BaseEntity的类
{
private MyContext ctx;
public CommonCRUD(MyContext ctx)
{
... |
4ad3f52b1444ee0cf629238f900b5d929d8c8ec5 | C# | johnny1990/PaymentApp | /PaymentApplication.Repositories/ExpensivePayment.cs | 2.6875 | 3 | using PaymentApplication.Contracts;
using PaymentApplication.Database.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PaymentApplication.Repositories
{
public class ExpensivePayment : IExpensivePayment
{
private Payme... |
5ce41af0580aad2fe79984b4113dab6bf24da52e | C# | BenjixD/ProjectMooks | /Assets/_Scripts/CameraEffects/CameraController.cs | 2.90625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum ShakeStrength {
NONE,
WEAK,
MEDIUM,
STRONG
}
public class CameraController : MonoBehaviour {
[Header("Shake Settings")]
[SerializeField] private float _shakeDuration = 0;
[SerializeField, Toolt... |
692093a0334da97741464c9685cd4d217c24b463 | C# | Alverrt/appointment-system | /UniVeritabaniProjesi/aramaIslemleri/SoruArama.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UniVeritabaniProjesi.aramaIslemleri
{
class SoruArama
{
private string conSTR = "Data Source=./;Initial Catalog=test;Integrated ... |
e284e240e603eb2cb7e7e72071e17d00ae880f1d | C# | PlasticSCM/syncservertrigger | /syncservertrigger/syncservertrigger/commands/RepomapCmd.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using Codice.SyncServerTrigger.Configuration;
using Codice.SyncServerTrigger.Models;
namespace Codice.SyncServerTrigger.Commands
{
internal class RepomapCmd : ICmd
{
string ICmd.Help { get { return HELP; } }
string ICmd.CommandName { get { retu... |
26e986db811920515be444f8316b3d6dad2d4be3 | C# | Thecentury/livecoding | /SampleApp/ConsoleApplication1/ObjectsThroughAppDomainBorder.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class ObjectsThroughAppDomainBorder
{
public class NonSerializableObject
{
public NonSerializableObject ()
{
... |
6803c0a2d8abab688c0458ea0bb3af5e12a6adbb | C# | ilya-chumakov/HappyMapper | /HappyMapper.Benchmarks/HappyMapperAdapters.cs | 2.78125 | 3 | using System;
namespace HappyMapper.Benchmarks
{
/// <summary>
/// Search in cache + mapping.
/// </summary>
public class HappyMapperUntyped : ITestableMapper
{
public Action<TSrc, TDest> CreateMapMethod<TSrc, TDest>()
where TSrc : class, new() where TDest : class, new()
... |
dce50f501a676574f4a155a0e5cad424e24d58ca | C# | jasonboninger/text-adventure | /api/BoningerWorks.TextAdventure.Engine/Executable/ActionIterator.cs | 2.640625 | 3 | using BoningerWorks.TextAdventure.Core.Extensions;
using BoningerWorks.TextAdventure.Core.Utilities;
using BoningerWorks.TextAdventure.Engine.Interfaces;
using BoningerWorks.TextAdventure.Engine.Structural;
using BoningerWorks.TextAdventure.Intermediate.Maps;
using System;
using System.Collections.Generic;
using Syste... |
fb9242cc0491433ea2be3ed43de2b8a8239ecf2e | C# | hanjos/gameoflife-xna | /GameOfLife/Code/Utilities.cs | 3.59375 | 4 | using System;
namespace GameOfLife.Utilities
{
public class ComparisonException : ApplicationException
{
public ComparisonException() {}
public ComparisonException(string message) : base(message) {}
public ComparisonException(string message, Exception inner) : base(message, inner) {... |
16c24bc1af7b7ac3770806442270307b7d4bed2e | C# | Naboyk/Flooring | /SGFlooring/SGFlooring/Workflows/DisplayOrderWorkflow.cs | 2.796875 | 3 | using SGFlooring.BLL;
using SGFlooring.Models.Responses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SGFlooring.Workflows
{
public class DisplayOrderWorkflow : ConsoleIO
{
public void Execute()
{
... |
a56f10eda46c81965eda00bd100b7de723b0a83b | C# | zyltntking/Lenneth | /Lenneth.Core/Extensions/Extra/CompressionExtensions/ZipFileExtensions/Extensions.cs | 2.828125 | 3 | using System.IO;
using System.IO.Compression;
using System.Text;
namespace Lenneth.Core.Extensions.Extra.CompressionExtensions
{
public static partial class Extensions
{
#region DirectoryInfo
#region CreateZipFile
/// <summary>
/// Creates a zip archive that contains the ... |
1fcad8304db9f4c2fc73fe71f1bde15a92c3dbae | C# | ansnavidad/inventory-app-imc | /InventoryApp/InventoryApp.ViewModel/CatalogDepartamento/ModifyDepartamentoViewModel.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InventoryApp.Model;
using System.Windows.Input;
using InventoryApp.DAL;
using InventoryApp.ViewModel.Historial;
namespace InventoryApp.ViewModel.CatalogDepartamento
{
public class ModifyDepartamentoViewModel
... |
a4836b92f177106305bec46902728123bacd3c51 | C# | offbyoneBB/mp-onlinevideos2 | /OnlineVideos.InputStream/MediaPortalWrapper/Streams/RawDumpStream.cs | 2.6875 | 3 | using System;
using System.IO;
using System.Runtime.InteropServices;
namespace MediaPortalWrapper.Streams
{
public class RawDumpStream : AbstractStream
{
private readonly FileStream _fileStream;
public override void Dispose()
{
if (_fileStream != null)
_fileStream.Dispose();
}
... |
da244b0eb5e40fa64cb75a1b865a27a7294f695a | C# | MergeManGene/NewChuzyn | /NewChuzyn/Assets/Scripts/Framework/UI/MenuManager/TimeManager.cs | 2.796875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class TimeManager : MonoBehaviour {
//固定FPS
public const int m_fps = 60;
//アプリを初めて起動したときからの総プレイ時間
private float m_totalPlayingTime;
//アプリを起動したときの毎プレイ時間
private float m_localPlayingTime;
... |
f228e9b1becb60a1facd46afcd357b7c0cc59196 | C# | masakiishii/SingleMatch | /srm_div2_639_medium/srm_div2_639_medium/AliceGameEasy.cs | 3.28125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace srm_div2_639_medium
{
public class AliceGameEasy
{
public long findMinimumValue(long x, long y)
{
long sum = x + y;
long count = 1;
... |
56ec044f0444e69485b6e9ad33c44f7b1b40c6dc | C# | gimlichael/Cuemon | /test/Cuemon.Core.Tests/StringDecoratorExtensionsTest.cs | 2.703125 | 3 | using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Cuemon.Extensions.Xunit;
using Xunit;
using Xunit.Abstractions;
namespace Cuemon
{
public class StringDecoratorExtensionsTest : Test
{
public StringDecoratorExtensionsTest(ITestOutputHelper output... |
baca51916698efcb01f4de2e46a261af9c67285b | C# | bbattin/Home | /20180131_Figures/Triangle2.cs | 3.5 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _20180131_InheritanceDemo
{
class Triangle2 : Square
{
/// <summary>
/// конструктор по умолчанию на основе базового класса
/// </summary>
public Triang... |
91aa1db3b8e04daa10c6f86f7fec9a1dd5a468e7 | C# | adrianiftode/coderetreat | /Population.cs | 2.875 | 3 | using System.Collections.Generic;
namespace NoConditionals
{
internal class Population
{
private readonly IReadOnlyCollection<Member> _members;
private readonly IReadOnlyCollection<Neighbourhood> _neighbourhoods;
public Population(IReadOnlyCollection<Member> members, IReadOnlyCollectio... |
890ae9d14048c8d4d78d5b592cd29aa90d6ba80f | C# | QuinntyneBrown/SurveyService | /src/SurveyService/Features/Surveys/AddOrUpdateSurveyCommand.cs | 2.53125 | 3 | using MediatR;
using SurveyService.Data;
using SurveyService.Data.Model;
using SurveyService.Features.Core;
using System.Threading.Tasks;
using System.Data.Entity;
using System;
namespace SurveyService.Features.Surveys
{
public class AddOrUpdateSurveyCommand
{
public class AddOrUpdateSurveyRequest : IR... |
79565ef8391d64d227686181c0b3d5f06d7d7159 | C# | ShukyBioMarkerz/WisorApp | /WisorLibrary/DataObjects/BorrowerProfile.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static WisorLib.CalculationConstants;
namespace WisorLib
{
public class BorrowerProfile
{
// Borrower Index
public int profile = (int)CalculationConstants.borrowerProfiles.... |
9d1e144213b26d31821346235bb7b948cfc6b1bb | C# | RobbiePlata/CSharp-Labs-Projects | /Labs/Chapter 8/8.1X/ScoreCalculator/ScoreCalculator/SortedScores.cs | 3.1875 | 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 ScoreCalculator
{
public partial class SortedScores : Form
{
List<int> myData;... |
ab47bcdf423b9f003a328b8b05a8e8728a92d592 | C# | Anamika-s/Protected-Access-Specifier-Multilevel-Inheritance-With-Constructors | /Program.cs | 2.8125 | 3 | using System;
namespace InheritanceDemo2
{
class Program
{
static void Main(string[] args)
{
int[] marks = new int[] { 78, 90, 78, 96, 92 };
Result result = new Result();
result.GetDetails();
result.DisplayDetails();
NumericFunctions.... |
2d485e4b40e1baf6d2bb85368c03e21b94645030 | C# | sunilkumargit/wingsoa | /Wing.Core/Adapters/Logging/LogWriterBufferService.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wing.Logging;
namespace Wing.Adapters.Logging
{
public class LogWriterBufferService
{
private Queue<LogEntryEntity> _buffer = new Queue<LogEntryEntity>();
private Object _lockObject = new obj... |
3749efd54b5bb51fa440d63e705de03a28d18f83 | C# | BenjaminTMilnes/PhysicsFormulae | /PhysicsFormulae.Compiler/Sitemap.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace PhysicsFormulae.Compiler
{
public class SitemapURL
{
public string Location { get; set; }
public DateTime LastModified { get; s... |
4411fc103554906d27c329ff20b35c79bffc368d | C# | jsmit124/TreeFrogger | /FroggerStarter/Model/BaseObject.cs | 3.0625 | 3 | using System;
using System.Drawing;
using Windows.UI.Xaml.Media;
using FroggerStarter.View.Sprites;
using Point = Windows.Foundation.Point;
namespace FroggerStarter.Model
{
/// <summary>
/// Stores information for basic objects within the game
/// </summary>
public abstract class BaseObject
{
... |
9da0673838bcad9e24613dc5c7c61fd8d2f64ffe | C# | presidentjimstevens/JSIL | /Tests/TestCases/GenericInstanceCallGenericMethod.cs | 3.359375 | 3 | using System;
public static class Program {
public static void Main (string[] args) {
new GenericClass<int>().Method(1);
new GenericClass<string>().Method("a");
}
}
public class GenericClass<T> {
public void Method (T value) {
Console.WriteLine("GenericClass<{0}>.Method({1})", type... |
487043164db960f5a584590825e5c137f52fbacd | C# | patrick323/rotmg_svr | /wServer/logic/loot/LootDefs.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace wServer.logic.loot
{
interface ILootDef
{
void Populate(Loot loot, IList<LootDef> defs);
}
class ItemLoot : ILootDef
{
string item;
double probability;
public ItemLoot(s... |
cb679e81d5c69c02d327264dc3f9b89f5b5e4cb9 | C# | jikpas0/TW.TrainStations | /OSPF.TrainDistances/Models/TrainStations.cs | 2.84375 | 3 | using System.Collections.Generic;
using System.Linq;
namespace OSPF.TrainDistances.Models
{
public class TrainStations
{
public string Station { get; set; }
public int Distance { get; set; }
public bool Merged { get; set; }
}
public class TrainStationsAggregate
{
p... |
32c463e8c6064626820371d439ee9e3b5617683e | C# | hnchorn/bleakwind-buffet | /Data/Drinks/SailorSoda.cs | 3.5 | 4 | /*
* Author: Hannah Chorn
* Class name: SailorSoda.cs
* Purpose: Class used to represent the Sailor Soda with its
* possible sizes, prices, calories, and other contents.
*/
using System;
using System.Collections.Generic;
using System.Text;
using BleakwindBuffet.Data.Enums;
namespace BleakwindBuffet.Data.Drinks... |
3415a56f75cb1f0b84eda595b231c3c5179548ee | C# | simonpollayil/CSE3902SuperMario | /CrossPlatformGameTemplate/Entities/TintableAnimatedEntity.cs | 2.703125 | 3 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
namespace SuperMario.Entities
{
public abstract class TintableAnimatedEntity : AnimatedEntity
{
readonly int animationDelayInTicks;
long lastGameTime;
Color currentColor;
IL... |
2ae6a4753bfdcde36cf5ed153bd0c05ceda36ae9 | C# | KlausLoeffelmann/WInterop | /src/WInterop.DirectX/DirectWrite/FontSimulations.cs | 2.65625 | 3 | // Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace WInterop.DirectWrite
{
/// <summary>
/// Specifies algorithmic style simulations to be applied to the font face.
/// Bold ... |
d14b1406c459ccb54999459740d2391b39b98ce2 | C# | buddylindsey/TestBed | /NET/wwwjdic1/wwwjdic1/Main.cs | 2.875 | 3 | using System;
using System.Net;
using System.IO;
using System.Xml;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace wwwjdic1
{
class MainClass
{
public static void Main (string[] args)
{
WebClient client = new WebClient ();
// Add a user agent header in ca... |
b828b5623e5c265363bd7f25b09980c3df35a182 | C# | xiehanbing/.netcore-webapi | /General.Api.Framework/Middleware/MessageHandlerMiddleware.cs | 2.671875 | 3 | using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace General.Api.Framework.Middleware
{
/// <summary>
/// 消息处理中间件
/// </summary>
public class MessageHandlerMiddleware
{
private readonly RequestDelegate _next;
... |
e1f2b862e33f0d47e120674876cb50432e98caa6 | C# | 2TakarDeveloper/PrivateDoctorSolution | /PrivateDoctorSolution/Controls/Prescription/MedicineControl.cs | 2.515625 | 3 | using System;
using System.Windows.Forms;
using DTD.PDS.BLL.Repo;
using DTD.PDS.Entity.DatabaseTableClasses;
namespace PrivateDoctorSolution.Controls.Prescription
{
public partial class MedicineControl : UserControl
{
public Medication Medication { get; set; }
public MedicineControl(Medicatio... |
e1cbed90d7558386b10b98f2f3859a0d55bb2d6c | C# | QiuXunNet/C8Api | /Qiuxun.C8.Api.Service/Common/ApiVersionConverter.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Qiuxun.C8.Api.Service.Common
{
public class ApiVersionConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
... |
0411d66af449ddccca92660e80745d7e91039dcc | C# | Barbaresk/stand | /Stand/Tcl2.cs | 2.84375 | 3 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading;
using System.Diagnostics;
using System.ComponentModel;
namespace CA
{
class tclwithc
{
private
List<bool> arraybool;
List<int> arrayint;
... |
92bee90c1d7172d74c00543bf183b9c1857a9a59 | C# | CBS-edu-nikitinTeam/Volodin_016 | /Exercise4/Store.cs | 3.625 | 4 | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace Exercise4
{
class Store
{
private Article[] _articles;
public Store(int articeSize)
{
_articles = new Article[articeSize];
}
public Article... |
3d12039c7a951badf6b7ddf72c2fdb9fc2537734 | C# | trcmaf/it | /практика 5/5-6/Form1.cs | 2.90625 | 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 _5_6
{
public partial class Form1 : Form
{
public Form1()
{
InitializeCompon... |
98b3bbe528877ea3432e8bffe995167a042d38d7 | C# | askell/2GisPostOfficeByIndex | /DGISPlugin1/GdePosylkaInformationService.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using System.Diagnostics;
namespace DGisPostOfficeByIndex
{
class GdePosylkaInformationService : IPostalInformation... |
cd8cb9d1226953753765a7a1aec353946ea8b840 | C# | shendongnian/download4 | /first_version_download2/572297-54691769-191639659-2.cs | 2.59375 | 3 | var propsNames = new List<string> {"Name", "Description", "HardwareID"};
var propValues = new List<object> {"USB Input Device", "USB Input Device", new List<object> {"USB\\VID_062A&PID_4102&REV_8113", "USB\\VID_062A&PID_4102" }};
var propsAndValues = propsNames.Zip(propValues, (name, value) => new {name, va... |
e6331a8b7843590badab3a63502f221f9cf9861f | C# | AndreaDelbene/Sto-Bocca-Sacci | /Bike1/Bike1 - WPF/DibrisBike/DibrisBike/Program.cs | 2.75 | 3 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Bike1
{
class Program
{
static SqlConnectio... |
1c8054d4ae6a3c3a6a7cd872f5b67f2014e2febb | C# | Olya31/Application-Learning-process-online- | /HomeWork/HomeWork/Program.cs | 3.03125 | 3 | using HomeWork.Logic;
using HomeWork.ViewModel;
using System;
namespace HomeWork
{
class Program
{
private static readonly SubjectManager subjectManager = new SubjectManager();
private static readonly TeacherManager teacherManager = new TeacherManager();
private static read... |
e091286cde77348c7cf738ad7edecc61cd3a4197 | C# | garrett92895/ZombocalypseSimulator2014 | /ZombieApocalypseSimulator/Controller.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using ZombieApocalypseSimulator.Models;
using ZombieApocalypseSimulator.Models.Characters;
using CSC160_ConsoleMenu;
using ZombieApocalypseSimulator.Models.Items;
us... |
9dcdce3df4b287818b9bf9afd260848213a5af55 | C# | RagingKore/Krimson | /src/Krimson.Core/MessageKey.cs | 2.890625 | 3 | using System.Text;
using static System.String;
namespace Krimson;
[PublicAPI]
public class MessageKey : IEquatable<MessageKey> {
public static readonly MessageKey None = new(ReadOnlyMemory<byte>.Empty, null!, null!);
MessageKey(ReadOnlyMemory<byte> bytes, Type type, string value) {
Bytes = bytes;
... |
a9cabeddf1185093aa24b5e02890ac084987d880 | C# | longde123/maps | /Solution/Maps/IMap.cs | 2.78125 | 3 | using Maps.Geographical;
using Maps.Geographical.Features;
using Maps.Geographical.Projection;
using Maps.Rendering;
namespace Maps
{
/// <summary>
/// Delegate for coordinate changes
/// </summary>
/// <param name="coordinate">The new coordinate</param>
public delegate void MapCoordinateChangeHand... |
48298868646673ff6eb4d3c210b82ddbd6ac9a7a | C# | osamazameer/POS-c-.NET | /formUserAccount.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace WindowsFormsApp1
{
public partial class formUserAccount : For... |
767645ba0baa66b173156c854b93e4b7ea3c201a | C# | BerejikB/Team-Project-Week-4 | /Team-Project-Week-4/World.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Team_Project_Week_4
{
public class World
{
public int EarthX;
public int EarthY;
PlanetGen PlanetLocation;
Random rnd = new Random();
public Lis... |
77143eb995659a5fbdfc7c27014904cdce527b60 | C# | buzs/NetMonitor | /NetMonitor/Global.cs | 2.71875 | 3 | using System.Threading.Tasks;
using System.Windows.Media;
using MaterialDesignThemes.Wpf;
namespace NetMonitor
{
public class Global
{
internal static Snackbar BarraNotifica { get; set; }
public static void Notificar(string texto, string corHex = null)
{
if (corHex == null... |
f881da34467f4450c26718bf34b814c30947e119 | C# | umaranwar125/web-app | /DAL/ContactDB.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using BOL;
namespace DAL
{
public class ContactDB
{
int Registration_ID;
string strCon;
SqlCon... |
3fd3f13c51f026152268ce31ece8f08e01e6e58c | C# | urvijaykumar/stock-hub | /StockHubApi/StockHubApi.Tests/StockServiceTests.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using StockHubApi.Interfaces;
using StockHubApi.Models;
using StockHubApi.Services;
namespace StockHubApi.Tests
{
/// <summary>
/// Class for testing the service layer used b... |
a29ac19ea4e7b9a2b22128f5c2efb4a2d1041be2 | C# | martinokello/EntertainmentTicketMasterV2 | /TicketMasterDataAccess/ConcreteRepositories/TicketRepository.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Transactions;
using TicketMasterDataAccess.Abstracts;
using TicketMasterDataAccess.DataAccess;
using TicketMasterDataAccess.Factories;
using TicketMasterDataAccess.UnitOfWork;
using TicketMa... |
fd3ac9589c6f298325174db3043b68fa0015bb67 | C# | FranFranRobles/RssReader | /RSS_UI/RSSWindow.xaml.cs | 2.65625 | 3 | using RSS_LogicEngine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System... |
faf46e4007b407310a94c664861e74a9d039a1d9 | C# | alvinahmadov/CatalogService | /Catalog.Rest/Classes/DictionarySerializer.cs | 2.578125 | 3 | using Monad;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Catalog.RestClient.Serialization
{
/// <summary>
/// Serializer of values into dictionaries
/// </summary>
public class DictionarySerializer : IDictionarySerializer, IDictionaryConv... |
8daaa571b716d99bacbd0e1c29ab2ecb8806dee3 | C# | Wang895/WebApi | /Routine/Date/RoutineDbContext.cs | 2.703125 | 3 | using Microsoft.EntityFrameworkCore;
using Routine.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Routine.Date
{
public class RoutineDbContext:DbContext
{
public RoutineDbContext(DbContextOptions<RoutineDbContext> options):base(option... |
d1bb140f689cc2e4a14af10759e8b4b4b2b9eac3 | C# | ProjetoFinalCursoCSharp/ProjetoFinalCSharp | /ProjetoFinal/Negocio/LeitorNegocio.cs | 3.015625 | 3 | using ProjetoFinal.Interface;
using ProjetoFinal.Modelos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjetoFinal.Negocio
{
public class LeitorNegocio : INegocio<Leitor>
{
public static List<Leitor> ListaLeitor;
... |
b0c7a7b7eff06a1cb8a63440a9a2b384e0d29ccf | C# | lastweek/source-singularity | /base/Windows/csic/parser/Enumerators.cs | 3.546875 | 4 | public abstract class CharEnumerator {
abstract public char Current { get; }
abstract public bool MoveNext();
abstract public void Reset();
abstract public int Location { get; }
}
public class String2CharEnumerator : CharEnumerator {
private string text;
private int i=-1;
public String2CharEnumerato... |
1388918717d1abb39e01f2217664e83c718aeb25 | C# | AnsaldiAndrea/tap | /lab_02/EmailSenderImplementation1/EmailSenderImplementationOne.cs | 2.84375 | 3 | using System;
using EmailSenderInterfaces;
namespace EmailSenderImplementation1
{
public class EmailSenderImplementationOne:IEmailSender
{
public bool SendEmail(string to, string body)
{
Console.WriteLine("Send from Implementation 1");
Console.WriteLine("To: " + to);
... |
641cb5edd57b0cbd69402f1b3684d317be67a293 | C# | arnealligator/Minesweeper | /Minesweeper/Form2.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ProjektProgram
{
public partial class Form2 : Form
{
public Form2()
{
Ini... |
9e7a61ed09a857b2061807a43c108131784d3eea | C# | Chandler-Davidson/LunchBot | /LunchBot/SendAttachmentDialog.cs | 2.890625 | 3 | namespace SendAttachmentBot
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Web;
using System.Linq;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using PDFParser;
[Serializable]
internal cl... |
15dcafe2480523c426a348308d6c318b15464e70 | C# | lunaeo/Luna | /LunaServer/EndlessOnline/Communication/ClientPacketProcessor.cs | 2.65625 | 3 | using System;
namespace LunaServer.EndlessOnline.Communication
{
/// <summary>
/// Packet processor for the client side
/// </summary>
public class ClientPacketProcessor : PacketProcessor
{
public byte SequenceStart { get; set; }
public byte SequenceValue { get; set; }
pub... |
f3630fe6c7314117abd1dec2e8d0af8f12170189 | C# | ryomutk/walkingInTheWorldOf_HDRPv | /Assets/Scripts/Utility/OSUB/SubjectBase.cs | 3.3125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ObserverPattern
{
public class SubjectBehaviour : MonoBehaviour, ISubject
{
List<IObserver> observerList = new List<IObserver>();
public virtual bool AddObserver(IObserver observer)
{
... |
77c908f921b44fea59a3850c916c3ab9186c0f41 | C# | Daniel-Choiniere/cSharpInCLass | /DnD/DnD/Die.cs | 3.078125 | 3 | using System;
namespace DnD
{
public class Die
{
private int rollNum;
public Die(int sides)
{
rollNum = new Random().Next(1, sides);
}
public int GetRollnum()
{
return rollNum;
}
}
} |
0b85a12d12b5917847b8c66ae388e37b1352ea1d | C# | OfficialRaiiZeR/Proftaak-biocodegaming-web | /Applicatie/BioCodeInventoryAmar/BioCodeInventoryAmar/Form1.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using MySql.Data.MySqlClient;
using System.Security.Cryptography;
namespac... |
21ff9bfee3864dc546bc4f7fc6ec8795d09fad45 | C# | caddok/Exercises | /ConsoleApp3/CompareTheTriplets.cs | 2.9375 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics.SymbolStore;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp3
{
class CompareTheTriplets
{
static void Main(string[] args)
{
strin... |
c5df30ba5388705608fcef108ad1a1a7d05bf269 | C# | jeremybytes/vslive-di-lab | /Lab02/Starter/Sunset.Library/SunsetCalculator.cs | 3.015625 | 3 | using System;
using Newtonsoft.Json;
using Sunset.Interface;
namespace Sunset.Library
{
public class SunsetCalculator
{
public DateTime GetSunrise(DateTime date)
{
throw new NotImplementedException();
}
public DateTime GetSunset(DateTime date)
{
... |
a323aabee4e5ed1661ab42cbd7919c18844f0b85 | C# | dieupxse/net-helpers | /Net.Helpers/Implements/SecurityHelper.cs | 2.875 | 3 | using Net.Helpers.Interfaces;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Security.Cryptography;
using System.Text;
namespace Net.Helpers.Implements
{
public class SecurityHelper : ISecurityHelper
{
/// <summary>
/// En... |
c9b88bafd423a507539c65464bee5455dec19d21 | C# | legalsmeagol15/Helpers | /Graphs/TopologicalSort.cs | 3.109375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Collections;
namespace Graphs
{
/// <summary>
/// A <see cref="TopologicalSort{T}"/> can be iterated through to return items in topologically-sorted order,... |
f077588f6b1686ff0486f72f870174234b5b1c65 | C# | deepakkumar1984/SuperchargedArray | /SuperNeuro/Metrics/BinaryAccuracy.cs | 2.984375 | 3 | namespace SuperNeuro.Metrics
{
using SuperchargedArray;
using SuperNeuro.Engine;
/// <summary>
/// Positive and negative predictive values.
/// In addition to sensitivity and specificity, the performance of a binary classification test can be measured with positive predictive value (PPV), also kn... |
eee9d82149d8b6fdce3cb84a66afe732109cce5c | C# | rafd123/PowerBridge | /src/PowerBridge.Tests/IntegrationTests/IntegrationTest.cs | 2.625 | 3 | using System.IO;
using System.Runtime.CompilerServices;
namespace PowerBridge.Tests.IntegrationTests
{
public abstract class IntegrationTest
{
protected static string GetTestResourceFilePath(string testResource, [CallerFilePath] string sourceFilePath = "")
{
sourceFilePath... |
177f56dd79465f9e0abc3ed85013718939292b76 | C# | divisiblebyzero-uk/rest-and-graph.net | /RestAndGraphDotNet/graphql/AppMutation.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GraphQL.Types;
using RestAndGraphNet.entities;
namespace RestAndGraphNet.graphql
{
public class AppMutation : ObjectGraphType
{
public AppMutation(DataContext dataContext)
{
Name ... |
5e717f204bbeefc4c2dcc5cdeb0623d5814f0417 | C# | kanzwataru/DogHustle | /Assets/JamPack/Scripts/Singleton.cs | 2.640625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class SingletonObject<T> : MonoBehaviour where T : MonoBehaviour {
private static object threadLock = new object();
private static T _instance;
protected static void CreateIfNotInstantiated() {
if(!_instance)... |
c56db7ef18a1f5ed6e0a927aa51939d0e738bad6 | C# | Aviv943/KaderService | /src/KaderService.Services/Repositories/CommentsRepository.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KaderService.Services.Constants;
using KaderService.Services.Data;
using KaderService.Services.Models;
using Microsoft.EntityFrameworkCore;
namespace KaderService.Services.Repositories
{
publi... |
0d846ed01fedd613ef5724457b5843af330a0164 | C# | ManakhovN/LD31Unity | /Assets/Scripts/LifeTime.cs | 2.5625 | 3 | using UnityEngine;
using System.Collections;
public class LifeTime : MonoBehaviour {
public float lifetime = 3f;
void FixedUpdate () {
if (lifetime != -100f)
{
lifetime -= Time.fixedDeltaTime;
if (this.lifetime < 0f)
Destroy(this.gameObject);
}
}
... |
8c6b72da2bcee88d4daeae79a06886cdd2649f92 | C# | anatoliy-sh/Swift_compiler | /DataTypeChecker.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MathExpr
{
public class OrigDataType
{
DataType simple;
int arrayCount;
int alength;
public int ALength { get { return alength; } set { alength = value; } }
public DataTyp... |
c3bfb5a67a7e4209a352251a11042853aa821317 | C# | Ketoleperouch/Project-Vrij-1 | /Lights Out (Project Vrij 1)/Assets/Resources/Scripts/MonoBehaviours/AIController.cs | 2.625 | 3 | using UnityEngine;
using UnityEngine.AI;
public class AIController : MonoBehaviour
{
public Transform flame;
public enum State { Patrol, Pursuing};
public State state;
public GameObject[] waypoints; // way points/amount of waypoints
int currentWP = 0;
public float rotSpeed; //rotation speed... |
84dd4cefeb76658a99675b28ba29db1de7170e8a | C# | joaokucera/unity-platform | /source/Assets/Scripts/ShotPooling.cs | 2.84375 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ShotPooling : MonoBehaviour {
public static ShotPooling Instance;
public GameObject shotPrefab;
public int pooledAmount = 5;
public bool pooledCanGrow = false;
private List<GameObject> shots = new List<GameObject>();
... |
3f80f4019fd479640617ef7b2ea782830b325b13 | C# | MZeymer/BeerTCP | /BeerTCP/Server.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using Beer_Testing;
using Newtonsoft.Json;
namespace BeerTCP
{
class Server
{
private static List<Beer> _beers = new List<Beer>();
publi... |
6f92e0b8290368e6cf0a863dcd1939a0a337c28b | C# | makcumko65/TrainingWorkshop | /Training5/Models/Reflection.cs | 3.234375 | 3 | using Structs.Interfaces;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using Training5.Interfaces;
namespace Training5.Models
{
public class Reflection : IReflection
{
private readonly IPrinter printer;
public Reflection(IPrinter printer)
... |
fa4824808b6b4b386873a2678b64d44243a91aaa | C# | medbensalah/Magicrits | /Assets/Scripts/Skills/BaseSkills/PASkill.cs | 2.6875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PASkill : MonoBehaviour, ISkill
{
public int skillValue; //base skill value
public int accuracy; //base skill accuracy
public void init(int val, int acc = 100)
{
skillValue = val;
... |
1a8aacb1289fbadb664c427d9bb60835f944228a | C# | pvrfrx/mini-programs | /mini-program/Form1.cs | 2.921875 | 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 mini_program
{
public partial class MainForm : Form
{
int count = 0;
... |
d626b310bc18fa30cd30f8383fd77158bd9bb3c0 | C# | saxx/WolWeb | /WolWeb.Web/Controllers/WakeController.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Net;
using System.Net.Sockets;
using System.Web.Http;
namespace WolWeb.Controllers {
[AuthorizeRemoteOnly]
public class WakeController : ApiController {
[HttpGet]
public string Index(string id) {
... |
beb8e04ec735eb4fd7b07c5c3ae51a85fc77ab39 | C# | baishuisr1/-DataSheet | /GameStart.cs | 2.609375 | 3 | using UnityEngine;
using System.Collections;
using Random = System.Random;
public class GameStart : MonoBehaviour
{
private string[] X;
private string[] Y;
private float Value;
// Use this for initialization
void Start ()
{
X = new[] {"X测试", "X测试", "X测试", "X测试", "X测试", "X测试", "X测试", "X... |
635e5d5e491c3624bb4351108e7276b224b1a464 | C# | alexbikfalvi/InetAnalytics | /InetCommon/Status/ApplicationStatus.cs | 2.734375 | 3 | /*
* Copyright (C) 2013 Alex Bikfalvi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
* This program is di... |
1cb0e7be5f84a9fa617b8d05497538ece7f1b09b | C# | DanisovszkyMark/EKE-SQL-BEAD | /client/WPF_client/WPF_client/Encryption.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace WPF_client
{
static class Encryption
{
static public string StringToMD5(string s)
{
MD5CryptoServiceProvider csp = new M... |
ff9e80b8fe9bc9540fc5b76ce898c4eaac70e5f5 | C# | Rali7/homework | /SumOfElements.cs | 3.578125 | 4 | using System;
class SumOfElements
{
public static void Main ()
{
string input = Console.ReadLine ();
string[] sequence = input.Split (' ');
long sum = 0;
int maxCount = 0;
long max = int.Parse (sequence [0]);
for (int i = 0; i < sequence.Length; i++) {
if (max < long.Parse (sequence [i])) {
max ... |
bb0ab65f76d8d08366efcd4ca8a43edbce07cc98 | C# | jacekschefler/HomeHelper | /HomeHelper.CQRS/Devices/Queries/GetDeviceByConnectedDeviceIdQuery.cs | 2.640625 | 3 | using HomeHelper.Domain;
using HomeHelper.Repositories;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace HomeHelper.CQRS.Devices.Queries
{
public class GetDeviceByConnectedDeviceIdQuery : IRequest<D... |
fd0291a29a1231d06d5cd020ac85e891a334820e | C# | tuanminh318/CSharp_Fundamentals_HW | /DemoWebAPI/BizLogics/IMemberHandler.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using DemoWebAPI.Models;
using System.Threading.Tasks;
using DemoWebAPI.Models;
namespace DemoWebAPI.BizLogics
{
public interface IMemberHandler
{
// 1. Return list members who is male
List<Member> FilterMemberByGender(string g... |
e3cbe8c0cfb748697a51ca2cc571d43ef13f19b0 | C# | dparker1/ProjectEulerSolutions | /ProjectEulerProblems/Problems501_600/Problems581_590/Problem587.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectEulerProblems
{
public class Problem587
{
public static int Solve()
{
double cutoff = 0.001;
int n = 15;
while(... |