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 |
|---|---|---|---|---|---|---|
ccc5a3d8a3e23f3dab331be3e28ed79b7dac8778 | C# | jason-footing-cko/CheckoutWebhook | /Shopping_Cart/NopCommerce/Nopcommerce 3.40/Nop.Plugin.Payments.Checkoutapipayment/GatewayConnector.cs | 2.578125 | 3 | using System.IO;
using System.Net;
using System.Text;
using Newtonsoft.Json;
using Nop.Core.Configuration;
using Nop.Plugin.Payments.Checkoutapipayment.GatewayRequests;
namespace Nop.Plugin.Payments.Checkoutapipayment
{
public class GatewayConnector
{
string _uri = string.Empty;
//gateway def... |
43916d31d6268d028dd447b52930dafad1964420 | C# | Niardan/GameAsteroid | /Game/GraphicalObject/VisualObjectColorStyle.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using GameEngineAsteroid.GameObjects;
using GameEngineAsteroid.GamePrimitives;
namespace Game.GraphicalObje... |
3f98c491fa5bf3f2cbd1fab74f85201be8cf1f0e | C# | PayneKang/ProjectEulerResolves | /Kang.Algorithm.BaseLib/Models/RomaNumber.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kang.Algorithm.BaseLib.Models
{
public class RomaNumber
{
static char[] ROMACHARACTORS = new char[] { 'M', 'D', 'C', 'L', 'X', 'V', 'I' };
static Dictionary<string, int> romaVals = new Dic... |
59e609345dfaf5a1a3ecba2831f6a1070a6a8805 | C# | emulatecc/emulate_toolbox | /Toolbox.Framework/Projects/MySQLSettings.cs | 2.515625 | 3 | using System.Collections.Generic;
namespace Toolbox.Framework.Projects
{
/// <summary>
/// Stores MySQLSettings
/// </summary>
public class MySqlSettings
{
/// <summary>
/// IP of the MySQL Server
/// </summary>
public string IP { get; set; } = "";
/// <sum... |
c6e8b6005b098dafaffd48569c6ce0353ddacecd | C# | guojianbin/relib | /Source/Abstractions/Models/LoopIterator.cs | 3.34375 | 3 | using System.Collections.Generic;
namespace ReusableLibrary.Abstractions.Models
{
public sealed class LoopIterator<T> : IEnumerator<T>, IEnumerable<T>
{
private readonly IEnumerable<T> m_source;
private readonly int m_max;
private IEnumerator<T> m_enumerator;
private in... |
50e0ceb27571d13d7de99a8cf9718274ab82b9aa | C# | ArshdeepKaurDhillon/ArshdeepWork | /Student Project/BAIS3150Demo/Pages/CreateProgram.cshtml.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using BAIS3150Demo.Domain;
namespace BAIS3150Demo.Pages
{
public class CreateProgramModel : PageModel
{
[BindProperty]
publ... |
15f9d616041620e239d9afc1ed744a1bbe7f19a5 | C# | octokit/octokit.net | /Octokit.Tests/Reactive/ObservableGitHubAppsClientTests.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Clients
{
public class ObservableGitHubAppsClientTests
{
public class TheCtor
{
[Fact]
public void EnsuresNonNul... |
fa79c05adbd1d54c5696b48cfa7b817f1d82f398 | C# | some-user-31/unity-objects-pool | /Assets/GoToApps/ObjectsPool/Examples/Multiple Pools Example/Scripts/MultiplePoolDemo/Gameplay/Blocks/PoolInitializer.cs | 2.578125 | 3 | using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace GoToApps.ObjectsPool.Examples.Multiple_Pools_Example.Scripts.MultiplePoolDemo.Gameplay.Blocks
{
public class PoolInitializer : MonoBehaviour
{
[Header("Components")]
[SerializeField] private PoolManager _blocksPo... |
424569a511da35daa82d8eca5ad1f326de9e88b8 | C# | RoSurplus/Vehicle-Fleet | /ConsoleApp/Application/ConsoleApp.cs | 3 | 3 | //-----------------------------------------------------------------------
// <copyright file="ConsoleApp.cs">
// Copyright (c) 2015 All Rights Reserved
// <author>Kenneth Larimer</author>
// </copyright>
//-----------------------------------------------------------------------
namespace ConsoleApp.Application
{
... |
7635971a5b4a80d5c577d194addeb72baff0b58f | C# | BeomJunKim95/ConsolePhoneBook_OnClass3 | /ConsolePhoneBook_OnClass3/MenuChoiceException.cs | 3.328125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsolePhoneBook_OnClass3
{
public class MenuChoiceException : Exception //사용자정의 예외 클래스는 Exception클래스를 상속해줘야함
//상속했을때 빨간줄이 안가는걸 보면 오버라이드를 꼭 해야하는건 아님
{
int wrongChoice;
publ... |
8652c9f5862f3662374cac988d1387233a23b843 | C# | facybenbook/doodlejump-unity-clone | /Assets/Scripts/BluePlatform.cs | 2.546875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BluePlatform : MonoBehaviour {
[SerializeField] float speed = 2.25f;
bool movingRight = true;
float offset = 0.85f;
void FixedUpdate () {
Vector3 topLeft = Camera.main.ScreenToWorldPoint(new Vector3(0, 0, 0));... |
b0f5fe2bfa2405bc34daf1d7552b04634f80d9db | C# | Shelleydaviswise/mathmagician | /Mathmagician/PrimeNumbers.cs | 3.75 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mathmagician
{
public class PrimeNumbers : NaturalNumbers
{
private int[] list_of_primes;
private int upper_bound;
public PrimeNumbers()
{
l... |
865f91b725e3392aad41f2b913bec908282c295a | C# | helluvamatt/EJuiceMaker | /EJuiceMaker.Data/InventoryManager.cs | 2.84375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
namespace EJuiceMaker.Data
{
public sealed class InventoryManager : INotifyPropertyChanged
{
private readonly Dictionary<Type, long> _Sequences;
pri... |
b7193ad985c1cccad0a4d1c5e26be3caef89fa3d | C# | gramanicu/GPlay | /clientFiles/GPlay Client/webOperations.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.Windows.Forms;
using System.Net;
using System.IO;
using System.Diagnostics;
namespace GPlay_Client
{
public class webOperations
{
pri... |
02deae547afb33a454bc256751930f1542aabb0b | C# | Sajfodias/MagistryProject | /Wyszukiwarka_publikacji_v0.2/Logic/ClusteringAlgorithms/Algorithms/DetailedDocumentVector.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wyszukiwarka_publikacji_v0._2.Logic.ClusteringAlgorithms.Algorithms
{
public class DetailedDocumentVector
{
//protected double[] tDF;
//protected double[] iDF;
... |
77415d5a07deca705da309a3fddafd1eebd953e4 | C# | marsmax91/saprsim | /sapr-sim/Parameters/Validators/ParamValidator.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace sapr_sim.Parameters
{
public interface ParamValidator
{
bool validate(string value);
}
[Serializable]
public class StringParamValidator : ParamValidator
{
... |
6e243c186c5e7afec85f1d360b2b804695a64cbd | C# | khernan/CommandLine | /CommandLine/Helpers/CommandList.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace CommandLine.helpers
{
public static class CommandList
{
public const string Touch = "touch [filename] = Creates a new file with the following name and extension";
public const string Mv = "mv [file1] [file2] = Changes... |
1e244b8daf9345cc415fe827bbde52e0c98a181f | C# | RegisBarros/RabbitMQ.Sample | /src/RabbitMQ.Sample.Sender/Program.cs | 2.9375 | 3 | using System;
using System.Text;
using RabbitMQ.Client;
using Serilog;
using Serilog.Sinks.SystemConsole.Themes;
namespace RabbitMQ.Sample.Sender
{
class Program
{
private static readonly Uri connectionString = new Uri("amqp://admin:RabbitMQ2019!@localhost:5672");
private static readonly strin... |
f1728a1d1f398fabad6e2a7cfb7cc7f059ec9d70 | C# | ChristophWurst/UFO | /UFO.Commander/ViewModels/PerformanceViewModel.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UFO.DomainClasses;
namespace UFO.Commander.ViewModels {
/// <summary>
/// ViewModel to show performances on the schedule-tab schedule
/// </summary>
internal clas... |
29bba9ae8b124d7ee2e5a6fa6b5ca53cb55dd2b8 | C# | k79k06k02k/UnityDesignPattern | /Assets/13 - Adapter/AdapterInstance.cs | 2.59375 | 3 | using UnityEngine;
namespace DP.Adapter
{
public interface IPlayer
{
void Attack();
void Defence();
}
public class PlayerNationalA : IPlayer
{
public void Attack()
{
Debug.Log("NationalA Attack");
}
public void Defence()
{
... |
5d402f7d062265dd6653eb566a1fbe01629a319f | C# | aniskchaou/CSHARP_TUTORIAL | /file/IOFiles.cs | 3.65625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace c_sharp_tutorial
{
// The System.IO namespace has various classes that are used for performing numerous operations with files,
//such as creating and deleting files, reading from or w... |
eecdff334a7762f340f90f8b9190c28fe8bdf5ee | C# | techdev20/TechnicalAssignment | /BrainWare-master/Web/Controllers/API/OrderController.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Web.Controllers
{
using System.Web.Mvc;
using Infrastructure;
using Models;
using Web.Filters;
public class OrderController : ApiController
{
[H... |
3aee3ac9b2da69bf10dcd5644fe9bbc44d0704a9 | C# | NachoMeanaCueto/TestExams | /TestExams/TestExams/UsersGestion/PassGenerator.cs | 3.4375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestExams.UsersGestion
{
/// <summary>
/// Generador de contraseñas aleatorias
/// </summary>
static class PassGenerator
{
/// <summary>
/// Método para gen... |
3caa3a02ac0900486e25b58b30ca3b013a4d4511 | C# | nitman118/CSSL | /CSSL/Modeling/Executive.cs | 2.546875 | 3 | using CSSL.Calendar;
using CSSL.Modeling.Elements;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static CSSL.Modeling.Elements.CSSLEvent;
namespace CSSL.Modeling
{
public class Executive
{
public double PreviousEventTime { get... |
d283dac417051661f72e5bb8bc20007a66a3d655 | C# | ZacharyPatten/Towel | /Sources/Towel/Exceptions.cs | 2.9375 | 3 | namespace Towel;
/// <summary>Represents a bug in the Towel project. Please report it.</summary>
public class TowelBugException : Exception
{
internal static readonly string reportMessage =
Environment.NewLine +
Environment.NewLine +
"Please submit this issue to the Towel GitHub repository. " +
Environment.N... |
724e0b3f0883111a41e6ea8462bb871432814e45 | C# | ShadowBear/RoyalCalypse | /Assets/Scripts/Objects/Items/ProceduralWeaponSpawn.cs | 2.5625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ProceduralWeaponSpawn : MonoBehaviour
{
[SerializeField] GameObject weaponsParent;
private int weapon = -1;
//[SerializeField] GameObject spawnWeapon;
// Start is called before the first frame update
publi... |
99c324e133ebd18777d28bfbd92fdc39e16994fa | C# | Ankitvaibs/Virus | /microsoft/Git-Credential-Manager-for-Windows-19b9ac423606038e3f5230e133f7ab22764f544f/Microsoft.Alm.Authentication/TargetUri.cs | 3.015625 | 3 | using System;
namespace Microsoft.Alm.Authentication
{
/// <summary>
/// Represents a potentially proxied <see cref="Uri"/>.
/// </summary>
public sealed class TargetUri
{
public TargetUri(Uri actualUri, Uri proxyUri)
{
if (actualUri == null)
throw new A... |
eefc0d5bf5248f21cbc8d35deff60c78710168fe | C# | ryanquisto/ColorHeroGame | /Assets/scripts/AlternateCamera.cs | 2.515625 | 3 | using UnityEngine;
using System.Collections;
//must switch to this camera on trigger enter, return to old camera on trigger exit, and change player control based on y angle
public class AlternateCamera : MonoBehaviour {
Camera MainCam;
Camera AltCam;
// Use this for initialization
void Start () {
... |
361b3c03633256a18450090213b8696742f15657 | C# | janisivanoov/ClubsCore | /ClubsCore/Models/DataManager/ClubManager.cs | 2.96875 | 3 | using ClubsCore.Models.Repository;
using ClubsCore.Paging;
using System.Collections.Generic;
using System.Linq;
namespace ClubsCore.Models.DataManager
{
public class ClubManager : IDataRepository<Club>
{
private ClubsContext _clubsContext;
public ClubManager(ClubsContext context)
{
... |
365697b0a155b502421f40743960aed488944b3c | C# | penzhaohui/SmartEngineer | /AOP/KingAOP/Aspects/OnMethodBoundaryAspect.cs | 2.765625 | 3 | // Copyright (c) 2013 Antya Dev
//
// 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 rights to use, copy, modify, merge,
// publish, di... |
f10447d9a1965bb02d9a5d3315a837d2ef1acffa | C# | sokolov-o/SOV | /Amur-2.1/Data/Curve.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace SOV.Amur.Data
{
[DataContract]
public class Curve
{
[DataMember]
public int Id { get; set; }
[DataMember]
public... |
ed288f926dcf33a5a1cff88049a964b3888bb318 | C# | thinksjay/HeadFirst.DesignPatterns | /src/HeadFirst.DesignPatterns.Iterator/CafeMenu.cs | 3.484375 | 3 | using System.Collections;
namespace HeadFirst.DesignPatterns.Iterator
{
public class CafeMenu : IMenu
{
private readonly Hashtable _menuItems = new Hashtable();
public CafeMenu()
{
AddItem("Veggie Burger and Air Fries",
"Veggie burger on a whole wheat bun, l... |
4eb2ae3f00e84117103e22f1323f2b48c605d9df | C# | Berinjah/Desenvolvimento-de-Sistemas-I | /Veiculos/Veiculos/Legacy450.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Veiculos
{
class Legacy450 : Aeronave
{
public override void locomover()
{
Console.WriteLine("O veículo 'Legacy450' se locomove através de uma turbina");
}
publi... |
698845a362c855d1dc2636fef262fc8261127ae6 | C# | marcelomarkes/VolvoCRUD | /ApiCrudVolvo/ApiCrudVolvo/Controllers/StatusController.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ApiCrudVolvo.Models.Entity;
using ApiCrudVolvo.Models.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace ApiCrudVolvo.Controllers
{
[Route("api/status")]
[ApiController]
... |
92585ac302c43927994a1f28fd5f6a87798687ef | C# | GalvanizedSoftware/Beethoven | /DemoApplication/ChainOfResponsibility2/Level2MAnager.cs | 2.609375 | 3 | namespace GalvanizedSoftware.Beethoven.DemoApp.ChainOfResponsibility2
{
class Level2Manager : IApprover
{
public bool Approve(double amount, ref string approvedBy)
{
if (amount > 1000)
return false;
approvedBy = "Level 2 manager";
TotalApproval += amount;
return true;
}
... |
2cdf13cd97f19f7e35d48311c31755fce4c0746b | C# | ielrifai/SHMUP-phase1 | /Assets/__Scripts/Weapon.cs | 2.6875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// This is an enum of the various possible weapon types.
/// It also includes a "shield" type to allow a shield power-up.
/// Items marked [NI] below are Not Implemented in the IGDPD book.
/// </summary>
public enum WeaponT... |
097d17e49049c2829ca6d11f9093154175c71d5c | C# | DesignEngrLab/StabilityStudy | /demos/d/test/TestContext.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
namespace BulletSharpTest
{
abstract class TestContext
{
public abstract void Run();
protected void ClearRefs()
{
disposeQueue.Clear();
}
protected void ForceGC()
{
GC.Collect(GC.MaxGenera... |
4c0d18dc69ad2dbd1fe21eecd4bec55fbfdac2db | C# | victorh18/MyRentCar | /MyRentCar/MyRentCar/UI/Formularios/frmBusquedaModelo.cs | 2.546875 | 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 MyRentCar.Logica.Controladores;
using MyRentCar.Utilitarios.DTOs;
using MyRentCar.Data.Modelos;
na... |
491dacfc0d46e5a248b944b6679e40645e8fabde | C# | CodeMasterMike/TrainProject | /TrainProject/TrackControllerWindow.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TrainProject
{
public partial class TrackControllerWindow : Form
{
... |
9a4e494508f22ee4f1b188ae926aa8c70d80cfef | C# | YevhenSemikon/MobilePhoneLab3 | /MobilePhone/MobilePhoneProgram/ConsoleChargeComponent.cs | 2.921875 | 3 | using MobilePhone.MobileComponents.Charger;
using MobilePhone.MobilePhoneProgram;
using System;
namespace MobilePhoneProgram {
public class ConsoleChargeComponent {
private ICharge chargeComponent;
public ICharge SelectChargerComponent(ConsoleOutput consoleOutput) {
Console.Clear();
... |
1d3e1f839713b50ca4ae9c30505f9ad48cd454d4 | C# | mitko1725/MedTracker | /MedTracker.Services/AdminService.cs | 2.796875 | 3 | using MedTracker.Data;
using MedTracker.Models;
using MedTracker.Services.Models;
using MedTracker.Services.Models.AdminServiceModels;
using MedTracker.Services.Models.DoctorSpecializationServiceModels;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System... |
861c2f0b9cdab05a9540b5a3ff651ac1e5434e37 | C# | WisconsinRobotics/BadgerJAUS.NET | /BadgerJaus/util/JausTimeStamp.cs | 2.53125 | 3 | /*
* Copyright (c) 2015, Wisconsin Robotics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list ... |
41b3a68112d681f34a82ee29b5ed5e48fbbaa821 | C# | kwentinn/Footballista | /Footballista.Players/Features/BusinessRules/FeatureValueWithinRangeRule.cs | 2.9375 | 3 | using Footballista.BuildingBlocks.Domain;
namespace Footballista.Players.Features.BusinessRules
{
public class FeatureRatingMustBeWithinRangeRule : IBusinessRule
{
private readonly double _featureValue;
private const double MIN_VALUE = 0d;
private const double MAX_VALUE = 1d;
private readonly Range<double... |
359a6291f49ee89f4190dc0def8fb356d85e5cf9 | C# | MadCowDevelopment/Viticulture | /Viticulture/Logic/Cards/Visitors/Summer/TourGuide.cs | 2.515625 | 3 | using System.ComponentModel.Composition;
using System.Threading.Tasks;
using Viticulture.Logic.Actions.Winter;
using Viticulture.Logic.State;
namespace Viticulture.Logic.Cards.Visitors.Summer
{
public class TourGuide : TwoChoicesVisitorCard
{
public override string Name => "Tour Guide";
public... |
ce91162c88b099b446b3c4557912e971f84bedd5 | C# | Cburcu/RecipeService | /RecipeService/Exceptions/ExceptionsCodes.cs | 2.859375 | 3 | using System;
namespace RecipeService.Exceptions
{
public class ExceptionsCodes : Exception
{
public static ExceptionsCodes Succeccful = new ExceptionsCodes(200,"Successful Operation");
public static ExceptionsCodes BadRequest = new ExceptionsCodes(400, "Wrong JSON Object");
public sta... |
d783c796c132be0e562c9f028e12a34e1e0509c3 | C# | msotiroff/Softuni-learning | /C# Fundamentals Module/CSharp-Advanced/Previous instance/02.Sets-And-Dictionaries/Exercise/SetsAndDictionaries-Exercise/P13.SrabskoUnleashed/SrabskoUnleashed.cs | 3.3125 | 3 | namespace P13.SrabskoUnleashed
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
public class SrabskoUnleashed
{
public static void Main(string[] args)
{
// <Venue, <Singer, Total Money>>
var conc... |
e37d86692993e4f655fa9d619af5c10aa57389d0 | C# | blockchain0026/Richpay | /src/Web/WebMVC/Extensions/DateTimeExtensions.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebMVC.Extensions
{
public static class DateTimeExtensions
{
public static string ToFullString(this DateTime dateTime)
{
return dateTime.ToString(GetFormatFullString());
... |
95aa0c94bc82533d6af9ed481f5aaed626d43988 | C# | rupeshmariainfotech/NewRetailBuzzRahulRaj | /ATOZ/CodeFirstServices/Services/SubTaxMasterService.cs | 2.71875 | 3 | using System.Collections.Generic;
using CodeFirstData.DBInteractions;
using CodeFirstData.EntityRepositories;
using CodeFirstEntities;
using CodeFirstServices.Interfaces;
using System.Linq;
using System;
namespace CodeFirstServices.Services
{
public class SubTaxMasterService:ISubTaxMasterService
{
pri... |
7adee1a4f6ec1251d71b351c11a731808bb5672c | C# | PavelRunchev/Dot.Net-Advanced | /OOP - Basics/2. Working with Abstraction - Exercise/P04_Hospital/StartUp.cs | 3.328125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace P04_Hospital
{
public class StartUp
{
public static void Main()
{
Hospital hospital = new Hospital();
string inputPatient;
while ((inputPatient = Console.ReadLine()) != "Output")
... |
d51fd6daa9cb3e52346389cca6f79eafba9697b6 | C# | shendongnian/download4 | /code7/1184483-31400042-95030172-2.cs | 2.921875 | 3 | public static bool FindPage<T>(object modelId, IEnumerable<T> entities, int pageSize, int calculatedPage, int? id)
{
if (modelId != null) {
calculatedPage = 0;
IEnumerable<IEnumerable<T>> pp = entities.Partition(pageSize);
int page = 0;
... |
1b664869828d1095bd5b224728d3fb47ae7b5daa | C# | CarimA/RPG | /PhotoVs/PhotoVs.Engine/Core/Signal.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using PhotoVs.Engine.Events.EventArgs;
using PhotoVs.Utils.Logging;
namespace PhotoVs.Engine.Core
{
public class Signal : ISignal, IHasBeforeUpdate
{
// a dictionary holding every subscription with its ID
private re... |
8090161a635a7f809f0634afd93aa7c1c5707d6e | C# | mutiadavid/SafaricomHackathon | /SafaricomHackathon.LeftRotation/Program.cs | 3.59375 | 4 | using System;
using System.Collections.Generic;
namespace SafaricomHackathon.LeftRotation
{
class Program
{
static void Main(string[] args)
{
var rotation = new Rotation();
var array = new int[] { 1, 2, 3, 7, 9 };
var rotatedArray = rotation.RotateToLeft(a... |
bdf0cb78757270682d8aabe4f969ab5ed3a52142 | C# | Zeroshi/stankins | /stankinsV1/MediaTransform/MediaTransformCSV.cs | 2.6875 | 3 | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MediaTransform
{
/// <summary>
/// TODO: add media transform json + xml
/// +html + pdf + word +excel
/// TODO: Remove projects that have sendercsv, sender html, sender json
/// sender xml and replace with... |
7529d10fe43c94a668ec281fd0e5a844a9655e13 | C# | MatthewMcGowan/GP.Prescriptions | /GP.Prescriptions.BusinessObjects/Structs/PrescriptionData.cs | 2.625 | 3 | namespace GP.Prescriptions.BusinessObjects.Structs
{
/// <summary>
/// Data for a prescription.
/// </summary>
public struct PrescriptionData
{
/// <summary>
/// Strategic Healthy Authority.
/// </summary>
public string SHA;
/// <summary>
/// The Pri... |
1ae27d548b92375aae596d746ba7cee7eb2a2fdd | C# | jonjrodriguez/distributed-db | /src/Operations/InputParser.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace DistributedDb.Operations
{
public class InputParser
{
/// <summary>
/// Parses the input
/// Can read from a file or from the standard input
/// </summary>
/// <param name="args... |
953647f03b8dbb745320ca623f19539da2c71a12 | C# | lucas-rombaldi/curso-dot-net | /src/Curso.Language/Core/AbstractSample.cs | 2.984375 | 3 | using System;
namespace Curso.Language.Core
{
public abstract class AbstractSample : ISample
{
public virtual void PrintTitle()
{
Console.WriteLine("----------------------------------");
Console.WriteLine(ToString());
Console.WriteLine("-----------... |
01a15c6fe5d230dc3c7d5ba32ff4ab4fecb2f1f3 | C# | Kolyamba-mamba/PlatfozaTestTask | /PlatfozaTestTask.API/Providers/SessionProvider.cs | 2.5625 | 3 | using System.Threading;
using NHibernate;
using PlatfozaTestTask.API.Helpers;
namespace PlatfozaTestTask.API.Providers
{
public class SessionProvider
{
private AsyncLocal<ISession> _session;
private readonly NHibernateHelper _nHibernateHelper;
public SessionProvider(NHibernateHelper n... |
7c42486fb3afa3d84bac8663486008f9b6e4fb79 | C# | Karlaxel/GYarbete-2014-Elias-Karlaxel-TE12C | /AnimalProg/AnimalProg/Dog.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AnimalProg
{
class Dog: Animal
{
string name;
public Dog(string name)
{
this.name = name;
}
public override string Sound()
{
return "Vov";
... |
6f2de310e7acb0d7710d4c0c45d39976340095bd | C# | QuantumHawk/LeetCode | /dailyTasks/Arrays/Codility_MissingNumber_Min.cs | 3.390625 | 3 | using System;
namespace dailyTasks.Arrays
{
/*This is a demo task.
Write a function:
class Solution { public int solution(int[] A); }
that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A.
For example, given A = [1, 3, 6, 4, 1, 2], the function sh... |
c3085c8a53754ed27c0ee8969c1a3d7f44df96f0 | C# | darmangerd/pong-game | /PongGame/LobbyMultiplayer.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using EZSocket;
namespace PongGame
{
public partial class ... |
f82429750ec9b3a9a9b39c811bffaa784dbbc814 | C# | topuphelpdesk/angular2 | /App.Model/Models/dbestateContext.cs | 2.53125 | 3 | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace App.Model
{
public partial class dbestateContext : DbContext
{
public virtual DbSet<Property> Property { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder options... |
11b83ba2218c2571f120db369eb665dfe505495b | C# | tgc-utn/tgc-tools | /TGC.Tools/UserControls/TGCModifierTitleBar.cs | 2.578125 | 3 | using System;
using System.Windows.Forms;
namespace TGC.Tools.UserControls
{
public partial class TGCModifierTitleBar : UserControl
{
public TGCModifierTitleBar()
{
InitializeComponent();
}
//TODO reemplazar este get por un metodo que haga lo que los controlers nec... |
ae7680071989cf5fde946e52fbc5321b7b3bb972 | C# | Alex7517/COP_2360_Project_ThePlace | /COP_2360_Project_ThePlace/COP_2360_Project_ThePlace/Backup/Program.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace COP_2360_Project_ThePlace
{
class Program
{
static void Main(string[] args)
{
Random rnd = new Random();
Move[] moves = MoveLoader(... |
a561921e8648d2dab8b5c7dc2d6f3d51f90ae5a9 | C# | summeney/Norns | /src/Norns.Urd/Attributes/AbstractInterceptorAttribute.cs | 2.515625 | 3 | using System;
using System.Threading.Tasks;
namespace Norns.Urd
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Interface, Inherited = false)]
[NonAspect]
public abstract class AbstractInterceptorAttribute : Attribute, IInterceptor
{
public int Order { get... |
588692458b5d675472c9ecce737271f5bcc7d154 | C# | volkovMikhail/3-course-electronics-sales | /ИС_формирование_заказов_компании_по_продаже_электроники/Utils/User.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Windows.Forms;
namespace ИС_формирование_заказов_компании_по_продаже_электроники
{
public class User
{
public int id { get; p... |
8d00b2a65d9560ecb389c148419f39239642c36a | C# | Softuni-Alex/Softuni | /OOP/Encapsulation and Polymorphism/TheSlum-Skeleton/Items/Shield.cs | 2.53125 | 3 | namespace TheSlum.Items
{
class Shield : Item
{
public Shield(string id,
int healthEffect,
int defenseEffect,
int attackEffect)
: base(id,
healthEffect = 0,
defenseEffect = 50,
attackEffect = 0)
{
... |
6f1cf262d338081d9c885108d5ce9f6e525a7029 | C# | TedMruczkowski/samples | /VG/Source/ItemsFilter/Design/MultivalueFilterModel.cs | 2.546875 | 3 | using ItemsFilter.Model;
using System.Collections.ObjectModel;
namespace ItemsFilter.Design
{
class MultiValueFilterModel : IMultiValueFilter
{
private string[] values;
private ObservableCollection<object> selectedValues;
public MultiValueFilterModel()
{
... |
71f52f55c0327c4ae1ba4474911980749a8802a8 | C# | hdrachmann/HybridDb | /src/HybridDb/Migrations/DocumentMigrator.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using HybridDb.Config;
using Serilog;
namespace HybridDb.Migrations
{
public class DocumentMigrator
{
readonly Configuration configuration;
readonly ILogger logger;
public DocumentMigrator(Configuration con... |
dbdf9c132e5757885209c9e5c9a2ac200d53def2 | C# | rickspears/Raffles | /Raffles.DomainObjects/Models/ItemModel.cs | 2.703125 | 3 | namespace Raffles.DomainObjects.Models
{
using System;
using System.Collections.ObjectModel;
using Raffles.DomainObjects.Converters;
using Raffles.DomainObjects.Entities;
using Raffles.DomainObjects.Events;
public class ItemModel : NotifyPropertyChanged
{
#region Constructor
... |
c2eb55eeb09f47e00f54a394c5abd049c2eb8d19 | C# | PopMedNet-Team/popmednet | /Lpp.Objects/ValidationAttributes/RegularExpressionAttribute.cs | 3.140625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Lpp.Objects.ValidationAttributes
{
public class RegularExpressionAttribute : ValidationAttribute
{
... |
d0d8cc45c85a50a07c5294dbd85dee08601a681c | C# | lesedipitsi123/MyStuff | /Problems/Program.cs | 3.78125 | 4 | using System;
using System.Text;
namespace Problems
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
// Prefixes string
public string Prefix(string input)
{
if(input == null) ret... |
738bab534edc0be011868010285115eb49c6cbe3 | C# | lloydstone/femah | /Femah.Core/Api/ProcessApiRequest.cs | 2.65625 | 3 | using System;
using System.IO;
using System.Net;
using Newtonsoft.Json;
namespace Femah.Core.Api
{
public static class ProcessApiRequest
{
/// <summary>
/// Responsible for processing all HTTP GET requests in to the femah API. Receives an ApiRequest object, orchestrates and hands off to
... |
9391188af279aa448a935e8870d68c1e30d85c64 | C# | mirannda/flepper | /Flepper.QueryBuilder/Operators/Comparison/Extensions/ComparisonOperatorsExtensions.cs | 3 | 3 |
namespace Flepper.QueryBuilder
{
/// <summary>
/// Comparison Operators Extensions
/// </summary>
public static class ComparisonOperatorsExtensions
{
/// <summary>
/// Add And Comparison Operator to query
/// </summary>
/// <param name="comparisonOperators">Comparis... |
fabbd8ea8fae163a90951d8d5f8339056474503e | C# | Intro-to-Game-Dev-Fall-2018/haber_story | /Story Game/Assets/Scripts/Ink/StoryEvents.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using Ink.Runtime;
using UnityEngine;
using UnityEngine.Events;
public class TextBlock
{
public readonly bool IsDialogue;
public readonly string Name;
public readonly string Text;
public TextBlock(string text)
{
if (text.Contai... |
884d224412b9f9ab86ec46582299ee90d03da0bf | C# | shendongnian/download4 | /first_version_download2/155508-11455162-26652230-4.cs | 2.875 | 3 | var myList = new List<MyObject>() {
new MyObject { ID = 1, Mukey = "1709649", FieldID = 191, Type = "Minor", PercentOfField = 18, Acres = 12.5181 },
new MyObject { ID = 2, Mukey = "1709641", FieldID = 191, Type = "Minor", PercentOfField = 1, Acres = 0.49621 },
new MyObject { ID = 3, Mukey... |
a759297ad7ad90b0dc2730a58ae3ae3ce220869a | C# | Flashrex/altv-tutorial | /altv-tutorial/altvtutorial/altvtutorial/Database/PlayerDatabase.cs | 2.765625 | 3 | using AltV.Net;
using altvtutorial.MyEntitys;
using altvtutorial.Utility;
using MySql.Data.MySqlClient;
using System;
namespace altvtutorial.Database {
class PlayerDatabase {
public static int CreatePlayer(string username, string password) {
string saltedPassword = PasswortDerivation.Derive(p... |
4a7a2fed780cfefba3244e73f4743b5d476ba147 | C# | UniversityOfAppliedSciencesFrankfurt/LearningApi | /LearningApi/src/MLAlgorithms/DigitRecognizer/AForge/Neuro/Neuron.cs | 3.09375 | 3 | // AForge Neural Net Library
// AForge.NET framework
// http://www.aforgenet.com/framework/
//
// Copyright AForge.NET, 2007-2012
// contacts@aforgenet.com
//
namespace AForge.Neuro
{
using System;
using AForge;
/// <summary>
/// Base neuron class.
/// </summary>
///
/// <remarks>This is... |
83d37659d81fb963d4e9b02a3d7b7bb3a9a38270 | C# | Luan5006/atividade_2 | /Atividade_2/PrecisaoTempoAPI/Repository/EnderecoRepository.cs | 2.6875 | 3 | using PrevisaoTempoAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PrevisaoTempoAPI.Repository
{
public class EnderecoRepository : IEnderecoRepository
{
private readonly EnderecoContext _context;
public EnderecoRepository(... |
c6918d785818df9daa53fc443a2b3e55e84ff013 | C# | kurtfurbush/bicep | /src/Bicep.Cli/CommandLine/Arguments/DecompileArguments.cs | 2.59375 | 3 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Bicep.Cli.CommandLine.Arguments
{
public class DecompileArguments : ArgumentsBase
{
public DecompileArguments(string[] args)
{
for (var i = 0; i < args.Length; i++)
{
swi... |
74611e04750805fb7cabe438686f95ed3ea997a4 | C# | mihaistancu/ZenCoder | /Hangman/Hangman.UI/Main.cs | 3.390625 | 3 | using System.Linq;
using System.Windows.Forms;
namespace Hangman.UI
{
public partial class Main : Form
{
private readonly WordList wordList = new WordList();
private const int AvailableAttempts = 6;
private Game game;
public Main()
{
InitializeComponent();
... |
cd6792e8bf66071bb11b8fb639fdc4f96666831b | C# | geomastar/Projects | /0Programming Project/Metal Lynch (v2.0)/Metal Lynch (v2.0)/Framework.cs | 2.859375 | 3 | using System;
using System.Windows;
using System.Windows.Controls;
namespace Metal_Lynch__v2._0_
{
public class Framework
{
private Window framework_Window;
private Canvas framework_Canvas;
private Game framework_Game;
private Menu framework_Menu;
public enum GameMode... |
b2ec5d4da74b03ec586b7197dccd1951a1463cfe | C# | sedc-codecademy/skwd9-net-05-oopcsharp | /G2/Class04 - Methods, Strings, DateTime/Code/Exercise3/Program.cs | 3.28125 | 3 | using System;
namespace Exercise3
{
class Program
{
static void Main(string[] args)
{
DateTime today = DateTime.Today;
Console.WriteLine(today.AddDays(3));
Console.WriteLine(today.AddMonths(1).AddDays(3));
Console.WriteLine(today.AddYears(-1).Add... |
89311e12d35732c7c22ba22e8d56f41c33be06cf | C# | Juandi47/ProyectoVital | /VitalProyecto/DAO/DAOIngreso.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using TO;
namespace DAO
{
public class DAOIngreso
{
SqlConnection conexion = new SqlConnection(Properties.Settings... |
b9f7f95a155ebcbe922102cffceb812d6df8a719 | C# | santanor/CrackingCodeInterview | /CrackingTheCodeInterview/UnitTestInterviewCode/StringCompressionTest.cs | 2.84375 | 3 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StringCompression;
namespace UnitTestInterviewCode
{
[TestClass]
public class StringCompressionTest
{
[TestMethod]
public void TestMethod1()
{
StringCompressor sc = new StringCompressor();
... |
6ae08553df7f155b64eaa78533b8a2ca249d188e | C# | shendongnian/download4 | /code8/1506593-45969150-163727540-4.cs | 2.859375 | 3 | using System;
using System.Data.OracleClient;
namespace TestCore
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Starting.\r\n");
using (var _db = new OracleConnection("User Id=myUser;Pas... |
216a147745acfc4ecdacd94284f1796b5f250710 | C# | omegaengine/omegaengine | /src/OmegaEngine/Values/Vector2Ray.cs | 2.859375 | 3 | /*
* Copyright 2006-2014 Bastian Eicher
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using System;
using System.ComponentModel;
using System.Glo... |
2d6cd1aa52e43e1ce56c2b35ef4dd00d9d235905 | C# | jonathanlazaro1/jollaz-api-queries | /lib_csharp/lib/Utils/FilterByUtils.cs | 3.09375 | 3 | using System;
using System.Linq.Expressions;
using System.Reflection;
using JollazApiQueries.Model.Core;
using JollazApiQueries.Model.Core.Errors;
namespace JollazApiQueries.Library.Utils
{
///<summary>
/// Filter class for data types: numeric (int, decimal, etc) and date/time (DateTime)
///</summary>
... |
1645d2a005be7da80d8e085a279cb60411c62018 | C# | DaveSenn/Zuehlke.Hades | /Zuehlke.Hades/Condition/StringEqualsCondition.cs | 3.640625 | 4 | using Newtonsoft.Json;
using Zuehlke.Hades.Interfaces;
namespace Zuehlke.Hades.Condition
{
/// <summary>
/// Checks if two string are equal
/// </summary>
public class StringEqualsCondition : ICondition
{
/// <summary>
/// The key of the condition is used to get a value from the <s... |
3df4e4ea4908cb6daf9e17a62a1f54706d5a0f7c | C# | reinhardruben/Repositori.net | /FP_ONLINEREP/FP_ONLINEREP/MockDB/MockUser.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FP_ONLINEREP.MockDB;
namespace FP_ONLINEREP.MockDB
{
public class MockUser
{
public static List<User> Users = new List<User>();
public MockUser()
{
List<User> Users = new List<User>(... |
5ee58248b68e7ce0e2110df2b5193c7e1ae5a85f | C# | 48355746/shed-corekit-webapi | /Shed.CoreKit.WebApi/Shed.CoreKit.WebApi/ServiceCollectionExt.cs | 2.515625 | 3 | using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Shed.CoreKit.WebApi.Proxy;
using System;
using System.Net.Http;
namespace Shed.CoreKit.WebApi
{
/// <summary>
/// Web api services extension
/// </summary>
public static class ServiceCollectionExt
{
/// ... |
1128808265e8676d57c8510fb2b62d4d5ea3b357 | C# | philipwolfe/Samples | /2005/Windows SDK NetFx 3.0/Applications/NETCF/UltimateGMan/CS/Game/StaticAI.cs | 2.546875 | 3 | //---------------------------------------------------------------------
// This file is part of the Microsoft .NET Framework SDK Code Samples.
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//This source code is intended only as a supplement to Microsoft
//Development Tools and/or on-line docum... |
9de12b5437a6788fcbd471d4b12f748c3cdb53f1 | C# | magnuen2k/PG3302-Eksamen | /PG3302-Eksamen/Deck/Deck.cs | 3.515625 | 4 | using System.Collections.Generic;
using System.Text;
using PG3302_Eksamen.Card;
namespace PG3302_Eksamen.Deck
{
public class Deck : IDeck
{
private readonly List<ICard> _cards;
// To make sure you cannot new empty deck
private Deck()
{
}
public Deck(List<ICard>... |
9b864eb2248f2eba3417e8e1ccf05348339cf85f | C# | karoko9/komunikator-lpp | /prog/Serwer/Serwer/Serwer/MessageFactory.cs | 2.578125 | 3 | using System.Web;
using System;
using System.Collections.Generic;
using System.Data;
using System.Windows.Forms;
namespace Serwer
{
class MessageFactory
{
static MessageFactory instance = null;
private MessageFactory()
{
}
static public MessageFactory ... |
22d8b0c34b34bf5eb7c7f0d794e0c832b5e25038 | C# | eduherminio/AoC2019 | /AoC_2019/Problem09.cs | 2.734375 | 3 | using AoC_2019.IntCode;
using AoCHelper;
using FileParser;
using System.Collections.Generic;
using System.Linq;
namespace AoC_2019
{
public class Problem09 : BaseProblem
{
public override string Solve_1()
{
var intCode = ParseInput().ToList();
var output = IntCodeHelpe... |
8bff6be3e10a0b090fed895644f72e5c7121baa0 | C# | CornerZhang/Learning_CSharp | /Programming_C#/ProgCSharp4eSourceR5/Chapter 12/InvokingDelegatedMethodsManually/InvokingDelegatedMethodsManually/InvokingDelegatedMethodsManually.cs | 3.421875 | 3 | #region Using directives
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
#endregion
namespace InvokingDelegatedMethodsManually
{
public class ClassWithDelegate
{
// a multicast delegate that encapsulates a method
// that returns an int
public delega... |
af59bc0a40751c307613d8c2c02b35fccbd7cc7e | C# | githubavi/travapp | /TravAbout/TravAbout/TravAbout.Shared/Common/Utils.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TravAbout.Data;
using TravAbout.DataModel;
using Windows.UI.Popups;
using System.Linq;
using System.Collections.ObjectModel;
using Windows.Storage;
using System.IO;
using Windows.UI.Notifications;
using Windows.Data.... |
d3ced505234ef27123061c7bb2f60b8c1df40b4d | C# | btrongtin/ExAssignment | /ExAssignment/fCalcu.cs | 2.859375 | 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 ExAssignment
{
public partial class fCalcu : Form
{
public fCalcu()
{
... |
e4aefd3f09b2fd01ee4af88a76bab5ee1324eec9 | C# | Raman4005/Racegame | /Punter.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RacingGame
{
class Punter
{
public int money;
public string bettor_Name;
public string busted = "";
public Bet Bet;// this ... |
0e6acbc38082c83b8119f54008716c16fcfc799e | C# | ShanakaYasendra/BunningsSearchCshap | /Bunnings/Test/SearchTest.cs | 2.5625 | 3 | using System;
using Bunnings.PageAssembly;
using NUnit.Framework;
namespace Bunnings.Test
{
public class SearchTest:Base
{
//Scenario 01: Customer check for the Search Input Load
//Given Customer visit to https://www.bunnings.com.au/
//When Customer load the Bunnings web site
... |
1a1c51449b6af1c75c5ff4536ec57fc97775b1be | C# | cezstepdev/CarInterface | /CarInterface/FormRadio.cs | 2.78125 | 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 CarInterface
{
public partial class FormRadio : Form
{
private string station1... |