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 |
|---|---|---|---|---|---|---|
0a193b2f183a5d971e63f2513a4a134c245c5b7b | C# | chack411/MultiLibGPS-APP001-TS17 | /MultiLibGPS/MultiLibGPS.cs | 2.71875 | 3 | using System;
using System.Threading.Tasks;
namespace MultiLibGPS
{
public static class GpsLocation
{
public static async Task<(double latitude, double longitude)> GetCoordinates()
{
#if NET461
return await Task.Run(async () =>
{
using (var watcher = new... |
9863cab1f29123ddb3b7d0a9f7d852f27f8f0e17 | C# | jukkapekk/EternalModLoader | /EternalModLoader/KernelWrapper.cs | 2.578125 | 3 | using System;
using System.Runtime.InteropServices;
namespace EternalModLoader
{
public static class KernelWrapper
{
public const string KernelLibraryName = "kernel32.dll";
/// <summary>
/// GetOEMCP kernel function
/// </summary>
/// <returns>Returns the current original equipment manufacturer (OE... |
41f1f4faebeeb19511b7c7392f31974c8f69cb8d | C# | Master-MiShutka/TMPApps | /src/LIBRARY/Extensions/ObjectExtensions.cs | 3.328125 | 3 | namespace TMP.Extensions
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading;
using System.Xml;
/// <summary>
/// Object extensions metho... |
fbc96bfa4218a566f1576571e3ec6f11be5adc82 | C# | bitpay/csharp-bitpay-client | /BitPay/Clients/RateClient.cs | 2.546875 | 3 | // Copyright (c) 2019 BitPay.
// All rights reserved.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BitPay.Exceptions;
using BitPay.Models.Rate;
using Newtonsoft.Json;
namespace BitPay.Clients
{
public class RateClient
{
private readonly IBitPayClient _bitPayCli... |
5a0110d35713cc9f91deea2eccad3ad1484bf803 | C# | XRealityAcademy/workshop-08142021 | /Unity_Intro/Assets/Script/Player.cs | 2.625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
public float speed;
public Rigidbody rb;
public float jumpSpeed;
// Update is called once per frame
void Update()
{
// press A & D or Left, Right Keys
float x... |
29d47a13e86cf19f6ee6c32a7341d3b8055854ed | C# | joel076/Va- | /Beep Beep/Beep Beep/Program.cs | 2.59375 | 3 | using System;
using System.Windows.Forms;
using OpenGL;
namespace HelloTriangle
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
string envDebug = Environment.GetEnvironmentVariable("DEBUG");
if (envDebug == "GL") ... |
9c00780485c30c2e51fcd21523005c4432fdf11d | C# | yovannychiquiza/ServiceControl | /src/ServiceControl.Core/Validation/ValidationHelper.cs | 3.078125 | 3 | using System.Text.RegularExpressions;
using Abp.Extensions;
namespace ServiceControl.Validation
{
public static class ValidationHelper
{
public const string EmailRegex = @"^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$";
public static bool IsEmail(string value)
{
if (value... |
34baa4fd3f06a2fb77b4e91acf88b99154e2ecfc | C# | ndvalkov/TelerikAcademy2016 | /Homework/DSA/Exam2015Practice/Passwords/Solution.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Passwords
{
class Solution
{
private static SortedSet<string> combos = new SortedSet<string>();
private static string keys = "1234567890";
static void Main()
... |
e3289b34fa3351a84a2bbe08be1a65fbb4c3e9d9 | C# | Dev-Lynx/SmartEarth | /SmartEarth/SmartEarth.Common.Infrastructure/Resources/Converters/BooleanAndToVisibilityConverter.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace SmartEarth.Common.Infrastructure.Resources.Converters
{
public class BooleanAndToVisibilityConverter : IMultiValueConverter
{
#... |
750aedfb2225be3ecc2bc9cdcf56f2c7bd33663f | C# | ConfirmitYaroslavlStudents/Students | /2018/Sharuntsova/QueueImplementations/QueueImplementations/Queue.cs | 3.65625 | 4 | using System;
using System.Linq;
namespace QueueImplementations
{
class Node<T>
{
public T Data { get; set; }
public Node<T> Next { get; set; }
public Node(T data)
{
Data = data;
}
}
public class Queue<T> : IQueue<T>
{
... |
2bf0c69598411eb2df28b05a78f3448eaf44ef0b | C# | lulzzz/ChronoChore | /OpenSourceAPIData/OpenSourceAPIData/Common/RetryLogic.cs | 3.234375 | 3 | using System;
using System.Collections.Generic;
using System.Threading;
namespace OpenSourceAPIData.Common
{
/// <summary>
/// A generic logic for retrying an action a number of times
/// </summary>
public static class RetryLogic
{
/// <summary>
/// For actions which do not return
... |
95fd6a1ee0796d0fbf0e6faa3234065f74bc241b | C# | K8760/JAMK-IT-OLIO | /BlackJackV0/BlackJackV0/BlackJack.cs | 3.8125 | 4 | using System;
/// <summary>
/// A simple example of Blackjack card game
/// </summary>
namespace JAMK.IT
{
class BlackJack
{
static void Main()
{
while (true)
{
Random rnd = new Random();
int myNumber = rnd.Next(10,21);
int theirNumber;
System.Console.WriteLine("**... |
f7568fc20b8e7df760340e74cd02925c1d06ac77 | C# | edenlandpl/EdenlandApi | /EdenlandAPI/Domain/Services/Communication/CategoryResponse.cs | 3.0625 | 3 | using EdenlandAPI.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EdenlandAPI.Domain.Services.Communication
{
public class CategoryResponse : BaseResponse
{
// after save method return name Category if all is OK, and false and m... |
164fb69b6625433eeaa720ae91e09f8fa5b8ea79 | C# | QadirSoftware/MVCProject | /BusinessLayer/ValidationRules/SkillValidator.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntityLayer.Concrete;
using FluentValidation;
namespace BusinessLayer.ValidationRules
{
public class SkillValidator:AbstractValidator<Skill>
{
public SkillValidator()
{
... |
26bf74f31688f9ecbe1eb9d19d5d84104d29c354 | C# | dwmkerr/sharpshell | /SharpShell/Tools/ServerManager/About/AboutForm.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;
namespace ServerManager
{
public partial class AboutForm : Form
{
public AboutForm()
{
InitializeC... |
517228f63920c9b3d7504ec1ebaa64f349a371c7 | C# | petryxadubyk/design-patterns | /design-patterns/Behavioral/StatePattern.cs | 3.734375 | 4 | using System;
namespace design_patterns
{
/*
This structure may look similar to the Strategy pattern, but there’s one key difference.
In the State pattern, the particular states may be aware of each other and initiate transitions from one state to another,
whereas strategies almost never know abo... |
f38248e9efbf27360aa1d7b7064c446cf2f50cc2 | C# | Geertvdc/ToonOpenAPIWindows | /Toon.Api/Helpers/ProgramStateEnumConverter.cs | 3.046875 | 3 | using Newtonsoft.Json;
using System;
using Toon.Api.Enums;
namespace Toon.Api.Helpers
{
public class ProgramStateEnumConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
ProgramState programState = (ProgramState)va... |
08c3c056827589f8d4244d839899ee5a22b1eb29 | C# | miiwoo/Miiwoo.Web.Security-library | /Codebase/Miiwoo.Web.Security/MasterPasswordAuth.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Web.Security;
namespace Miiwoo.Web.Security
{
/// <summary>
/// Provides simple authentication by a master password.
/// </su... |
fc19b2481ffc1ef1792e1c2d6e5bedb6454928b5 | C# | jezlove/ReSearcher | /(utilities)/ByteMultiples.cs | 3 | 3 | /*
C# "ByteMultiples.cs"
by Jeremy Love <mailto:jez@jezlove.uk>
copyright 2020
*/
using System;
using System.Text.RegularExpressions;
namespace ReSearcher {
using ByteCount = Int64;
public static class IecByteMultiples {
// kibibyte = 1024 ^ 1 bytes
#region kibibyte
public static ... |
c0f63c8e2d3c0927771682c7f331846f07f062e3 | C# | dlexion/TweetTrends | /Mapping/StatesReader.cs | 3.140625 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mapping
{
class StatesReader
{
public static List<State> Read(string path)
{
List<State> states = new List<State>();
... |
ea9595549883e81f2ad224a74d11ae5c2f2c6c80 | C# | NETMF/llilum | /Zelig/Zelig/RunTime/Framework/mscorlib/System/Globalization/DateTimeFormatInfo.cs | 2.5625 | 3 | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Globalization
{
using System;
using System.Security;
using System.Threading;
using System.Collections;
using System.Runtime.Serialization;
using System.Security.Permissions;
... |
097213b5a425b40189f2a86bcd3a3c113c045191 | C# | hyblocker/hosts-firewall | /HostsFirewall/Localizer.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Xml;
namespace HostsFirewall
{
public static class Localizer
{
private static Dictionary<string, string> languageV... |
6e7878a22ff37d3a1219ca6de4ab49943d8d15a8 | C# | dschenkelman/needle | /src/NeedleContainer/Container/TypeMapping.cs | 2.828125 | 3 | namespace Needle.Container
{
using System;
internal class TypeMapping
{
public TypeMapping(string id, Type fromType, Type toType, RegistrationLifetime lifetime)
{
this.Id = id;
this.FromType = fromType;
this.ToType = toType;
this.L... |
b81ab89db4ab57b9e430343d8fe6ceecaa3e202d | C# | Salamander333/SoftUni-CSharp_AdvancedAndOOP | /Exercises_SOLID/1._Logger/Facories/AppenderFactory.cs | 2.671875 | 3 | using _1._Logger.Appenders;
using _1._Logger.Interfaces;
using _1._Logger.Loggers;
using System;
using System.Collections.Generic;
using System.Text;
namespace _1._Logger.Facories
{
static class AppenderFactory
{
public static IAppender InitializeAppender(string type, ILayout layout, ReportLevel repor... |
c01a14782815f7a1460bca65cced3bfe518bbb6e | C# | parrot-dev/GatherUp | /Order/Profile.cs | 2.515625 | 3 | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Clio.Utilities;
using static System.Globalization.CultureInfo;
namespace GatherUp.Order
{
public class Profile
{
public enum CordialType
{
None,
Cordial,
HiCordial,
... |
9678f6695bb1357df8068d01ff31b6b1ad7b0efc | C# | auxilium/JelloScrum | /JelloScrum/JelloScrum.Login/Authentication/AuthenticationFilterBase.cs | 2.5625 | 3 | namespace JelloScrum.Login.Authentication
{
using Castle.MonoRail.Framework;
using Container;
using Model;
/// <summary>
/// Base filter class used for authenticating users in a Castle MonoRail web environment
/// You can use this base functionality by subclassing this filter in your Castle Mon... |
db077eabff52c93c1663955b6a70e24f7cdee480 | C# | genyosha/Isp01_batrak_vd_discretemath | /self_task/work 11.02.2020/projects/SampleConsoleApp_01/SampleConsoleApp_01/Program.cs | 3.09375 | 3 | using System;
namespace ConsoleApp5
{
class Program
{
static void Main(string[] args)
{
int[] array = { 4, 2, 5, 9, 333 };
//проверка метода Bubble
SortAray.BubbleSort(array);
for (int i = 0; i < array.Length; i++)
Console.WriteL... |
d883be0bb4d6d780c08d36f4277fd088978b91e0 | C# | superclevver/OlorALibro-Desktop | /OlorALibro/Libreria.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OlorALibro
{
public class Libreria : IEquatable<Libreria>
{
public string nombre { get; set; }
public string direccion { get; set; }
public int telefono { get; ... |
a33d9af2537df3f829a5a2f133efffe930ae22b8 | C# | mikezhuyuan/simpleflow | /src/SimpleFlow/WorkflowBlock.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace SimpleFlow.Core
{
public abstract class WorkflowBlock
{
public abstract WorkflowType Type { get; }
public IEnumerable<Type> InputTypes { get; protected set; }
public Type OutputType { get; protected set; }
... |
bc8f8ef068970c98ea3a2a71d81226916a20288b | C# | SirBernhart/Mahou-scrollo | /Mahou scrollo/Assets/Scripts/Enemies/BasicEnemyBehaviour.cs | 2.5625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum BehaviourState {Idle, Patrol, Chasing, Attacking, Dying }
public class BasicEnemyBehaviour : MonoBehaviour
{
[SerializeField] private EntityMovement entityMovement;
[SerializeField] private PlayerChaseDetector playerCh... |
926feabe419245c144fce1d81f4b1a6e77890a65 | C# | nguyenlamlll/SaigonOperaHouse | /SOH/SOH.Web/Controllers/DataController.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.AspNetCore.Mvc;
using SOH.Web.Data;
// For more information on enabling Web API for empty projects, visit https... |
aff53694fbed3ae91b508fee0595deb7705efc96 | C# | Color-Of-Code/stdc.NET | /gplib/Buffer/BuildBuffer.cs | 2.765625 | 3 | using System.IO;
using System.Text;
namespace QUT.Gplib
{
public delegate int BlockReader(char[] block, int index, int number);
// A delegate factory, serving up a delegate that
// reads a block of characters from the underlying
// encoded stream, via a StreamReader object.
//
public static cl... |
5f207ab585276486239b28a694c98182918cf8d4 | C# | ykostova/TBCN-Databases | /TBNC Database Systems/TBNC Database Systems/DBconnections/Child.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TBNC_Database_Systems.Main
{
class Child
{
private int id;
public int Id
{
get { return id; }
set { id = value; }
}
private string name;
pub... |
4ce9d38be279c6b15ff69ae15ec8d5009b6d985a | C# | Andreas-Bissenbach/testcon | /testcon/Classes/UpdateContacts.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using testcon.DataContexts;
using static testcon.Classes.JsonData;
using static testcon.Classes.Controls;
using System.Threading;
namespace testcon.Classes
{
public stat... |
4044399d25cea84472efc7ca90680b47eaa9c591 | C# | WillReichl/csharp-udemy-unittest-testninja | /TestNinja.UnitTests/Mocking/EmployeeControllerTests.cs | 2.75 | 3 | using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestNinja.Mocking;
namespace TestNinja.UnitTests.Mocking
{
[TestFixture]
public class EmployeeControllerTests
{
private Mock<IEmployeeStorage>... |
98152db1ce9e3119c3f2ebf8ad43011caefb3f2a | C# | ekaterinatsmyg/Mentoring2017.D1D2 | /MentoringD1D2.Cashing/Task1/MentoringD1D2.Cashing/MentoringD1D2.Cashing/FibonacciSequenceManager.cs | 3.234375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using MentoringD1D2.Cashing.Diagnostics;
using MentoringD1D2.Cashing.Interfaces;
namespace MentoringD1D2.Cashing
{
public class FibonacciSequenceManager
{
/// <su... |
9e47cadaeb2b7175eee4a4a9a6c19da34fd6a4b0 | C# | arthurr-beep/fizzbuzzengineered | /FizzBuzz.Api/Controllers/FizzBuzzController.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FizzBuzz.Api.Interfaces.IQueryHandlers;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace FizzBuzz.Api.Controllers
{
public class FizzBuzzController : BaseApiController
{
... |
7d5cf0528a6a643e88bca3f8cc78b085a462944c | C# | TitovaAnna/AcademITSchool | /CourseTasks/Range/Program.cs | 3.640625 | 4 | using System;
namespace Range
{
class Program
{
static void Main(string[] args)
{
Range range1 = new Range(40, 75);
Range range2 = new Range(40, 70);
Range newRange = range1.GetCrossing(range2);
if (newRange == null)
{
... |
139f47eae0de047766f16e7c1d591275063a06f0 | C# | ColorLessZ/LeetCode | /64_Minimum_Path_Sum.cs | 3.359375 | 3 | public class Solution {
public int MinPathSum(int[,] grid) {
var h = grid.GetLength(0);
var w = grid.GetLength(1);
var result = new int[h,w];
////init result
result[0,0] = grid[0,0];
for(int i = 1; i < w; i++) {
result[0,i] = result[0,i-1] + grid[0,i];
... |
0c37cc79070571ec6b6c7dea2c71ef682c963974 | C# | Andrey-Pivtorak/Barbuuuda-Back-end | /Barbuuuda.Core/Interfaces/IExecutor.cs | 2.671875 | 3 | using Barbuuuda.Models.Entities.Executor;
using Barbuuuda.Models.User;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Barbuuuda.Core.Interfaces
{
/// <summary>
/// Абстракция описывает методы по работе с исполнителями сервиса.
/// </summary>
public ... |
c730f0778ab9c2c14d8b638f5b1bbfa571a03653 | C# | XFSDev/DependencyInjectionInAspNetMvc | /Using Ninject/ContosoUniversity/ContosoUniversity.RepositoryLayer/Repository/Repository.cs | 2.953125 | 3 | using ContosoUniversity.DataAccessLayer;
using System;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace ContosoUniversity.RepositoryLayer.Repository
{
public class Repository<TEntity> : IRepository<TEntity> where TEntity : class
{
priv... |
ca69f319375a70498d411c39fd5164d236d32bcd | C# | TomekLesniak/TodoApp | /ToDoTests/ViewModels/StatisticsTests.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using TodoLibrary.Models;
using TodoUI.ViewModels;
using Xunit;
namespace ToDoTests.ViewModels
{
public class StatisticsTests
{
[Fact]
public void TotalTasks_ListContainsTasks_ReturnsCorrectAmountOfT... |
f06228548e2f03663d0415adf5dd1fe8e8f5fd65 | C# | EmanuelCamejo/2021C2_UTNFra_LaboII_2doD_PP | /Camejo.Emanuel.PrimerParcial/Biblioteca/Llamada.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Biblioteca
{
public sealed class Llamada : Cabina
{
#region Enumerados
/// <summary>
/// Enumerador para saber que tipo de llamada necesita realizar el Cliente
... |
1babb52fe37728a85fe03149667d98a74a3f9d7a | C# | lkhagen/SessionPerPresenter | /SessionPerPresenter/Program.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess.SessionHandling;
using NHibernate;
using Ninject;
namespace SessionPerPresenter
{
class Program
{
static void Main(string[] args)
{
var sessionFactory = SessionFacto... |
d371184a6f1ba1fb1573f1f83902fb6198859893 | C# | riyapanwar/C-Application | /Program1.cs | 3.265625 | 3 | using System;
namespace RPS_Game
{
class Program
{
static void Main(string[] args)
{ int usermove,compmove,totround=0,win=0,lost=0,draw=0;
string user,chance;
Console.WriteLine("Welcome to Rock Paper Scissor Lizard Spock Game!!!!");
do
{
... |
d814aad809c00be763254c0fc8524bddf8912065 | C# | mjfreelancing/AllOverIt | /Source/AllOverIt.Evaluator/Operations/Log2Operation.cs | 2.765625 | 3 | using AllOverIt.Evaluator.Operators;
using System.Linq.Expressions;
namespace AllOverIt.Evaluator.Operations
{
/// <summary>An operation used to calculate the log2 of a number.</summary>
public sealed class Log2Operation : ArithmeticOperationBase
{
/// <summary>Constructor.</summary>
public... |
ab4c6ffce682be812fc5281dddc38b1656489293 | C# | lyrene123/Pacman4 | /PacmanGame/PacmanSprite.cs | 2.671875 | 3 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using PacmanLibrary;
using PacmanLibrary.Ghost_classes;
namespace PacmanGame
{
/// <summary>
/// The PacmanSprite class takes care of all possible
/// movements of Pacman during the game. It also ma... |
b356e26b2910b29bc09975e75704510831b0e415 | C# | kris-0/TestNinja | /TestNinja.UnitTests/MathTests.cs | 3.03125 | 3 | using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestNinja.Fundamentals;
namespace TestNinja.UnitTests
{
[TestFixture]
public class MathTests
{
private Math math;
[SetUp]
protected void SetUp()
... |
787d38b38aa24c5f377b6b35ea74dd341047fec3 | C# | FilWil/Cookify | /Cookify/Cookify/Data/LocalDB.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cookify.Models.SQLite;
using SQLite;
namespace Cookify.Data
{
public class LocalDB
{
readonly SQLiteAsyncConnection database;
public LocalDB(string dbPath)
{
... |
97b03718ef495abef5e4a8bf681dbfdfd92821c0 | C# | timo0024/CSExercises | /CSExercises/Ex07-15/Ex14.cs | 3.8125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSExercises
{
public class Ex14
{
public static void Main()
{
double a, b, c, s, area;
Console.WriteLine("Please input the lengths of three sides... |
21f038e8a617e56499b0e3385996279e40359e6c | C# | sgreenlay/CSWing | /Cmd/Levels/SellSide.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using CSWing.Helpers;
namespace CSWing
{
class SellSide
{
public static async Task RunAsync(string apiKey)
{
var api = new Stockfighter.Api.C... |
b60b8b51b23303fcc6020a924b06d811083c293f | C# | lucassdl/4TuneEngineeringForum | /FourEngineeringForum/Maps/UsuarioMap.cs | 2.625 | 3 | using FourEngineeringForum.Models;
using System.Data.Entity.ModelConfiguration;
namespace FourEngineeringForum.Maps
{
public class UsuarioMap : EntityTypeConfiguration<Usuario>
{
public UsuarioMap()
{
ToTable(nameof(Usuario));
HasKey(pk => pk.ID);
Property... |
6e24d928f0056a95a072435436f8ff8d28a97cb1 | C# | leonardosimoura/EFPlus | /Test.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using Z.EntityFramework.Plus;
namespace EFPlus
{
public class Test
{
private readonly ITestOutputHelper output;
public Test(ITestOutputHelp... |
ac32dfe21d77e751a42a0a687e8cad2c2c1498fb | C# | VincentBerardi/CityDefense | /Assets/Scripts/DynamicClustersApproximator.cs | 2.765625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using HNSW.Net;
using UnityEngine;
/// <summary>
/// Keeps childs positions in memory,
/// update the Hierarchical Navigable Small World Graphs (HNSW) at each interval.
///... |
ecfcd9651aec6922a1595ebc6321aeeb015d526b | C# | zang-cloud/zang-dotnet | /ZangAPI/InboundXml/Nodes.cs | 2.828125 | 3 | using System.Xml.Linq;
namespace AvayaCPaaS.InboundXml
{
/// <summary>
/// The node for the Inbound XML builder.
/// </summary>
/// <typeparam name="TCurrentNode">The type of the current node.</typeparam>
/// <seealso cref="AvayaCPaaS.InboundXml.INode{TCurrentNode}" />
public class InboundXmlN... |
42f33793035d068ec7e269bf48f7e667677b177c | C# | imantama/api-asp.net | /web1/Controllers/DepartmentsController.cs | 2.59375 | 3 | using belajarAPI.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web;
using System.Web.Mvc;
namespace web1.Controllers
{
public class DepartmentsController : Controller
{
readonly HttpC... |
566bffe93d9891e304a460dd77789fb402d6fa8a | C# | aeserein/Carpeta-Csharp | /Serein.Álvaro/Clase 12 y 14.CentralitaPolimorfismo/Llamada.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Clase_12.CentralitaPolimorfismo {
public abstract class Llamada {
private float _duracion;
private string _nroDestino;
private string _nroOrigen;
#region Propiedades
public float Duracion {
... |
29aa3c2243b3be97aa413d13aabb31f1921ca2b1 | C# | elvislimap/ExemploSolid | /src/Solid.Lsp.ConsoleApp/Program.cs | 2.796875 | 3 | using System;
using Solid.Lsp.Solucao;
namespace Solid.Lsp.ConsoleApp
{
class Program
{
static void Main(string[] args)
{
var retangulo = new Retangulo(10, 5);
var quadrado = new Quadrado(10, 10);
Console.WriteLine("Área do retangulo:");
Calculo... |
2b0c806fd183241449cccff1cb7f437a55ea93e9 | C# | benjaminhuanghuang/ben-leetcode | /0538_Convert_BST_to_Greater_Tree/solution.cs | 3.40625 | 3 | /*
538. Convert BST to Greater Tree
Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original
BST is changed to the original key plus sum of all keys greater than the original key in BST.
Example:
Input: The root of a Binary Search Tree like this:
5
... |
c01daf68a2e0dc25f420325f1fb8f761b061083d | C# | JoroPaspalev/LogitWebApp | /LogitWebApp/Services/Search/SearchService.cs | 2.578125 | 3 | using System.Linq;
using LogitWebApp.Data;
using LogitWebApp.ViewModels.Search;
using LogitWebApp.ViewModels.Users;
namespace LogitWebApp.Services.Search
{
public class SearchService : ISearchService
{
private readonly ApplicationDbContext db;
public SearchService(ApplicationDbContext db)
... |
51e512efc08e503c8c76f62817f931952ce23cb3 | C# | natsnudasoft/AdiePlayground | /src/AdiePlayground.Common/Strategy/BubbleSortStrategy.cs | 2.828125 | 3 | // <copyright file="BubbleSortStrategy.cs" company="natsnudasoft">
// Copyright (c) Adrian John Dunstan. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ht... |
3e936e752a95b97295cea780080ba81d18be732f | C# | jhenriquecosta/orion.framework | /src/framework.pdf.reports/DataAnnotations/IncludeInGroupingAttribute.cs | 2.6875 | 3 | using System;
namespace Orion.Framework.Pdf.Reports.DataAnnotations
{
/// <summary>
/// Defining how a property of MainTableDataSource should be rendered as a column's cell.
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public sealed class IncludeInGroupingAttri... |
bf996312c94a42b32417ab5735e6a8aa45646edc | C# | Breeze-ui/ChallongeDiscordBot | /ChallongeCSharpDriver/Main/Objects/TournamentObject.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ChallongeCSharpDriver.Core;
using ChallongeCSharpDriver.Core.Objects;
using ChallongeCSharpDriver.Core.Queries;
using ChallongeCSharpDriver.Core.Results;
namespace ChallongeCSharpDriver.Main.Obje... |
21bc16604977bbf4dca6291aaaa8cb292c4f770b | C# | philipbawn/MagicalLife | /MagicalLifeAPIStandard/Registry/ItemRegistry/ItemRemover.cs | 2.84375 | 3 | using MagicalLifeAPI.DataTypes;
using MagicalLifeAPI.DataTypes.R;
using MagicalLifeAPI.Error.InternalExceptions;
using MagicalLifeAPI.World.Base;
using MagicalLifeAPI.World.Data;
using System;
namespace MagicalLifeAPI.Registry.ItemRegistry
{
/// <summary>
/// Used to remove items from the world, via the <see ... |
ad6475bbd69f407645236c61f533eee8b58788c9 | C# | wIksS/SoftuniExcersises | /OOP-CSharp-February-2023/01.Inheritance/ZooWithInheritance/Program.cs | 2.609375 | 3 |
using ZooWithInheritance;
Lion lion = new Lion();
lion.Mane = 5;
lion.Age = 10;
lion.Name = "Simba";
lion.Room = "Vsichko ogrqno";
lion.LastMeal = DateTime.Now;
Monkey monkey = new Monkey();
monkey.LastMeal = DateTime.Now.AddDays(1);
Shark shark = new Shark();
//shark
shark.DangerousLevel = 5;
//fish
shar... |
47610aa36f80a9ddacd84a4e2414f29ec4763348 | C# | mehmetmurat/SchoolTask | /SchoolBusiness/Concrete/StudentTeachersService.cs | 2.640625 | 3 | using SchoolBusiness.Abstract;
using SchoolCore.Utilities.Results;
using SchoolDataAccess.Abstract;
using SchoolEntities.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SchoolBusiness.Concrete
{
public class StudentTeachersService : IStudentTeachersService
{
pri... |
bbb60de74fff6c9efcbc1623828df37f78738fa3 | C# | Bvaptsarov/Homework | /04.BroiniSistemi/09.FloatBinRepresentation/Program.cs | 3.515625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _09.FloatBinRepresentation
{
class Program
{
static StringBuilder str = new StringBuilder(34);
static readonly char[] sep = { '-' };
static void Main(string[] a... |
ac13b527257f30d6bf8521995580939f9e4d8967 | C# | UB-COSC315-Spring2020/project-part-3-Jose-C-Dog | /Assets/Scenes/Scripts/AbuelaDistance.cs | 2.546875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AbuelaDistance : MonoBehaviour
{
public GameObject Abuela;
public GameObject RangeCenter;
public float Distance_;
public float maxrangeAbuela = 1.868127f;
private Vector3 goPosition = new Vector3();
// ... |
37cfbc1a4f932e424769a7180e1acbb5a74da578 | C# | Cicero96/Recognizers-Text | /.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumberRecognizer_English.cs | 2.90625 | 3 | using Microsoft.Recognizers.Text.Number;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Recognizers.Text.DataDrivenTests.Tests
{
[TestClass]
public class TestNumberRecognizer_English
{
[TestMethod]
public void RecognizeNumber()
{
var actual = Nu... |
dd7c571f5d2302aeae6635427fddd0c621b89dd4 | C# | abowen/MonoGameOpenGL | /MonoGame.Common/Interfaces/SimpleComponent.cs | 2.5625 | 3 | using System.Diagnostics.Contracts;
using MonoGame.Common.Entities;
namespace MonoGame.Common.Interfaces
{
public abstract class SimpleComponent
{
protected SimpleComponent()
{
Enable();
}
public GameObject Owner { get; protected set; }
public virtual void... |
2b3fed9338090fc91be98d38f874994175985f0f | C# | Pshikov-Igor/OTUS-SQL-Materials | /13_Создание и использование CLR. ДЗ/examples-1801-1fb1ca/examples/02-DatabaseProjectDemo/03-StoredProcedures/StoredProcedures.cs | 3.015625 | 3 | using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
public class StoredProcedures
{
// OUT-
[SqlProcedure]
public static void Add(
SqlInt32 a, SqlInt32 b, out SqlInt32 result)
{
result = a + b;
}
// PRINT
// , ... |
2f79153a0f634c697133b5b6f1e886a416685924 | C# | hardborn/Smart365Operations | /Smart365Operations.Common.Infrastructure/Utility/DataServiceApi.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using RestSharp;
using RestSharp.Authenticators;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Smart365Operations.Common.Infrastructure.Utility
{
public class DataSe... |
3c8a8a9174c04c66dd254014bb3d787de0cb3a7f | C# | Zeerog/.NetCore-VueJS | /C#/02.Classes/03.Book/Program.cs | 3.4375 | 3 | using System;
namespace _03.Book
{
class Program
{
static void Main(string[] args)
{
Title Title = new Title();
Author Author = new Author();
Content Content = new Content();
Book Book = new Book();
Title.Text = "Эрагон";
... |
1e683b895e13315994183f78431a5babfb75e07f | C# | MaxHorstmann/Coding-Competitions | /Facebook-Hacker-Cup/2016/round1/2-laundromatt/Program.cs | 3.28125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace _2_laundromatt
{
class Program
{
static void Main(string[] args)
{
const string inputFile = "laundro_matt_example_input.txt";
const string outputFile = "out... |
aa1f235b7ca22b528d33788dc54fbc03b4b921fa | C# | mcarleto/BonVision | /BonVision/CreateTextureShift.cs | 2.5625 | 3 | using Bonsai;
using OpenTK;
using System;
using System.ComponentModel;
using System.Linq;
using System.Reactive.Linq;
namespace BonVision
{
[Description("Creates a texture shift vector.")]
public class CreateTextureShift : Source<Vector2>
{
[Range(-1, 1)]
[Editor(DesignTypes.SliderEditor, ... |
e79602bddf634bea6a967ab8d330a283dbbc2b0e | C# | psychdragon/RPGEngine | /RPGEngine/WebUI.cs | 2.578125 | 3 | using System;
using System.Collections.Specialized;
using System.Text;
using System.Net;
using System.Threading;
using System.Reflection;
using System.IO;
using Newtonsoft.Json.Linq;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Web;
using Aze.Utilities;
namespace RPGEngine
{
class ... |
bd8c2a6a55bf97bb780cde43c565838d96226ea1 | C# | AndreyBespamyatnov/spmeta2 | /SPMeta2/SPMeta2/Extensions/ModelDefinitionExtensions.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using SPMeta2.Models;
namespace SPMeta2.Extensions
{
public static class ModelDefinitionExtensions
{
#region methods
public static IEnumerable<ModelNode> GetChildModels<TChildModelType>(this ModelNode model)
{
... |
b8523979fcc1e2fe0a84cb8d0d15f43d258a2afb | C# | mariamalyutina/dev-edushechka | /DevEdu.API/DevEdu.Business/Services/UserService.cs | 2.546875 | 3 | using DevEdu.Business.Constants;
using DevEdu.Business.Exceptions;
using DevEdu.Business.ValidationHelpers;
using DevEdu.DAL.Enums;
using DevEdu.DAL.Models;
using DevEdu.DAL.Repositories;
using System.Collections.Generic;
namespace DevEdu.Business.Services
{
public class UserService : IUserService
... |
04ec6ebbff7d75a41d069fb949f0e346b05ad4e9 | C# | wIksS/SoftuniExcersises | /OOP-October-2022/04.Polymorphism/ShapesWithPolymorphism/Square.cs | 3.5 | 4 | using ShapesWithPolymorphism;
using System;
using System.Collections.Generic;
using System.Text;
namespace ShapesWithoutPolymorphism
{
public class Square : Shape
{
public Square(ConsoleColor color, Position position, int size) : base(color, position, size) { }
public int SquareSize { get; s... |
3c597d2dea02ddc2e424ba0be6a8f9bc1d0289d6 | C# | rdsalakhov/Educational-practice | /Utilities/Input.cs | 3.984375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Utilities
{
public class Input
{
public static int IntInput(int min = int.MinValue, int max = int.MaxValue)
{
bool ok = false;
int num = 0;
... |
6b2e727a7ed4209687a09d60a03edffbd5249ddd | C# | CesarAugusto88/Exerxicio-Simulando-DB | /Gerente.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hello
{
class Gerente:Pessoa
{
public Gerente(string codigo, string nome, string numDepto) : base(codigo, nome, numDepto)
{
}
// m... |
df9ff81368aa84d2d3cee36bfbaffc803181d227 | C# | kleiton-microled/EcoportoAgendamentos | /src/Ecoporto.Portal/src/Ecoporto.Portal/Extensions/EnumExtensions.cs | 3 | 3 | using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
namespace Ecoporto.Portal.Extensions
{
public static class EnumExtensions
{
public static T ToEnum<T>(this string valor)
{
return (T)Enum.Parse(typeof(T), valor);
}
... |
deb4d7ac859d6148240c45a859f454391f8db441 | C# | DevLXY/e2k_file_process | /e2k_file_process/Read_E2K.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace e2k_file_process
{
public class Read_E2K
{
private List<string> data = new List<string>();
#region 各标题的行数属性
... |
4fe7ffb20ef3a7573000a8584d2f7b37a5c0fad3 | C# | moreirasara/avalia-o-figuras | /figura.cs | 3.34375 | 3 | using System;
namespace figuras
{
public class Figura
{
protected double _area;
protected double _perimetro;
public double Area
{
get { return this._area; }
}
public double Perimetro
{
get { return this._perimetro; }
}
public void Ver()
{
... |
1522bb86a0bd3076e816d6696a6f26f77a934d5f | C# | Liu-Jing-Jing/Projects-in-college | /TomCat_C#/Main/Tom/Tom/Form1.cs | 2.515625 | 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.Threading;
namespace Tom
{
public partial class Form1 : Form
{
Timer t1;
Imag... |
f0ad1e39df752a711a369ecec6daaa6c9d709323 | C# | fiseni/QuerySpecification | /QuerySpecification/src/QuerySpecification/IncludeExpressionInfo.cs | 2.59375 | 3 | using PozitronDev.Validations;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq.Expressions;
using System.Text;
namespace PozitronDev.QuerySpecification
{
public class IncludeExpressionInfo
{
public LambdaExpression LambdaExpression { get; }
... |
4a022779aa779d0c318f7bb9a8d1be7e41d99885 | C# | shendongnian/download4 | /code7/1290397-34600240-107693704-2.cs | 2.921875 | 3 | IList<IWebElement> options = driver.FindElements(By.CssSelector("#dep2 > option")); //get all option tags from the table
IList<IWebElement> hrefs = driver.FindElements(By.TagName("a")); //get all hrefs
foreach (IWebElement option in options)
{
string value = option.GetAttribute("value");
... |
d397b5fb3d07a6780b499f8fcda53c916a915c8f | C# | travnik/WarehouseManager | /Tests/WarehouseManagement.Test/WarehouseRepositoryTests.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WarehouseManagement.Shared.Domain;
using WarehouseManagement.EntityFramework;
using WarehouseManagement.Repositories;
using Xunit;
namespace WarehouseManagement.Test
{
public class WarehouseRepositoryTests : IDisposable
... |
67cbd5a15141ed78e5da509337d980bbae018157 | C# | ahamidou/W3CLogParser | /W3cLogParser/W3CLogFilesParser.cs | 2.71875 | 3 | using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace W3cLogParser
{
public class W3CLogFilesParser<T> : IW3CLogParser<T> where T : new()
{
private readonly IReadOnlyDictionary<string, string> _entityMappings;
public W3CLogFilesParser(IReadOnlyDict... |
86c418b93c610bddcc6dc5337ead9055b738a47e | C# | Hachiko92/CSharp | /Proyecto15-Clases/Proyecto15-Clases/Program.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Proyecto15_Clases
{
class Program
{
static void Main(string[] args)
{
// cualquier tipo de clase por defecto tiene un metodo constructor
Puerta... |
1c0d514f035ed8672b7e4743d420293cd6a8270d | C# | DeonMartinez/HerionePlus | /Assets/StandingState.cs | 2.546875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StandingState : IStates
{
public void Enter(Player player)
{
player.mCurrentState = new StandingState();
Debug.Log("Enter Standing state");
}
public void Execute(Player player)
... |
0c3a465b3e9a8539c6e78432d6b42e0f0bc69c95 | C# | neilsimp1/proxy | /src/Proxy/Services/ListenerService/ListenerService.cs | 2.546875 | 3 | using System;
using System.Collections.Immutable;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
using NathanAlden.Proxy.Logging;
using NathanAlden.Proxy.Services.ConfigService;
using NathanAlden.Proxy.Services.DownstreamClientService;
using Serilog;
using Serilo... |
d522bcf57587d7ebcbee6211eec74b19c3baa27a | C# | barionleg/ScreenTogif | /ScreenToGif/Controls/SmartSelectTextBox.cs | 2.625 | 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.Input;
using System.Windows.Media;
namespace ScreenToGif.Controls
{
public class SmartSelectTextBox : TextBox
{
... |
96545ec47f6eca675f4dba9f553c480e7e1d9207 | C# | Faisal-Ahmad/Automated-help-desk | /HelpDesk/Business_Logic_Layer/Employee_Info.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Data_Access_Layer;
using System.Drawing;
namespace Business_logic_Layer
{
public class Employee_Info
{
static DataAccess database = new DataAccess();
int id;
stri... |
7b280b1cacf3a7fd46d9512761f400fd2297af0c | C# | V45370/Telerik | /C# OOP/AcademyRPG/ConsoleRPG/GameObjects/KnowledgeInteractionItem.cs | 2.75 | 3 | namespace ConsoleRPG.GameObjects
{
using System;
using ConsoleRPG.Enums;
public abstract class KnowledgeInteractionItem : GameObject
{
private KnowledgeTypes type;
public KnowledgeInteractionItem(string name, KnowledgeTypes knowledgeType) : base(name)
{
this.type =... |
688c1ca90b51f2cc17da9f8e877e2ee509f1336e | C# | green-fox-academy/Leviathan-X | /C# Foundation/09_Inheritance_week-11/02) The Garden Application/Program.cs | 3 | 3 | using System;
namespace _02__The_Garden_Application
{
class Program
{
static void Main(string[] args)
{
Garden theGarden = new Garden();
Flower Fyellow = new Flower("yellow");
theGarden.Add(Fyellow);
Flower Fblue = new Flower("blue")... |
fffbb913eb5c018ee91180cd6963f7f0ed87b6e3 | C# | fangld/MapleDB | /trunk/DbProxy/Client/PooledTdsConnection.cs | 2.9375 | 3 | using System;
namespace DbProxy.Client
{
/// <summary>
/// 底层连接的缓冲类
/// </summary>
internal class PooledTdsConnection : ITdsConnection
{
#region Fields
/// <summary>
/// 底层连接类
/// </summary>
private ITdsConnection connection;
/// <s... |
955d0a718bded45997f777ef6dfe2c671e38420f | C# | PavelRunchev/Programming-Fundamentals-2017 | /Exam Programming basic/13.Exam 19 March 2017 Morning/TrainersSalary/TrainersSalary.cs | 3.453125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrainersSalary
{
class TrainersSalary
{
static void Main()
{
var numberOfLecture = int.Parse(Console.ReadLine());
var budget = double.Parse(Cons... |
07442c33a4fb2a844a8f8d7060e519bb218b928d | C# | Kawser-nerd/CLCDSA | /Source Codes/CodeJamData/12/03/1.cs | 3.171875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Numerics;
// http://www.themissingdocs.net/downloads/TMD.Algo.0.0.4.0.zip
using TMD.Algo.Algorithms;
using TMD.Algo.Collections;
namespace GCJ12QRQ3
{
class Q3
{
static voi... |
4d218464126f99aa87bde7ced9c6f852a9ae17f5 | C# | marciocamello/dirigo-edge | /DirigoEdge/DirigoEdge/Models/ViewModels/BlogCategoriesViewModel.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DirigoEdge.Utils;
namespace DirigoEdge.Models.ViewModels
{
public class BlogsCategoriesViewModel
{
public List<BlogCatExtraData> Categories;
public String CurrentCategory;
public BlogsCate... |