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 |
|---|---|---|---|---|---|---|
15d18db3cd16aa804b5bb9a2eeaccc865a588758 | C# | melynapg/prueba | /code/AerolineaFrba/Data/Usuario.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
namespace Data
{
public static class Usuario
{
private const String SP_GET_BY_ID = "[HAY_TABLA].sp_get_usuario_by_id";
private con... |
7ead38ce20591820620dcc82329e9646060f58fb | C# | Silo13/EmployeeManager.WebAPI | /Controllers/SalariesController.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using EmployeeManager.WebAPI.Models;
namespace EmployeeManager.WebAPI.Controllers
{
[Route("api/[controller]")]
... |
7910c11825b8e0071be431398a43286158b72e21 | C# | Mintish/dapper-sandbox | /Examples/Simple/Address.cs | 2.953125 | 3 | namespace dapper_sandbox.Examples.Simple
{
public class Address
{
public string Name { get; set; }
public string Line1 { get; set; }
public string Line2 { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Zip { get; set; ... |
bc96832cf54e0aa5389674405ade2c67aa296f62 | C# | MarjieVolk/Shapeshift | /Shapeshift/Assets/Scripts/Guards/LookState.cs | 2.625 | 3 | using UnityEngine;
using System.Collections;
public class LookState : State {
private DirectionComponent _directionHolder;
public Direction FirstDirection = Direction.SOUTH;
public float LookTime;
private float lookTimer;
void Start()
{
_directionHolder = GetComponent<DirectionComp... |
d55e48aade7713132e5b1a2331b99506fce02e19 | C# | barbaraandrasi/OverwatchCrashCourse | /Backend/MatchHistoryManager/MatchHistoryManager/Controllers/GamesController.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using MatchHistoryManager.Models;
namespace MatchHistoryManager.Controllers
{
[Route("api/[controller]")]
[ApiC... |
1ddc9549b693d9adbf3608ba19e9e39c473c8452 | C# | whistyun/MdXaml | /MdXaml/Ext/AlphaExtension.cs | 2.796875 | 3 | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Markup;
using System.Windows.Media;
namespace MdXaml.Ext
{
class AlphaExtension : MarkupExtension
{
private readonly string _key;
private readonly float _power;
public Type? TargetType { set; get... |
8f3bd0c5bdcf84b26d1d30e0da45d512da88bb2d | C# | halyhuang1991/Tools | /Csharp/Mess/ReviseSinglequote.cs | 3.171875 | 3 | using System;
namespace Csharp.Mess
{
public class ReviseSinglequote
{
public static void test(){
string s="ekey='SAMSVXX' and CPBRND='VICTORIA'S SECRET' and cstord like '% s's%' or skey in ('a's','sds','d's')";
s="userid='halyhuang'";
int ix=System.Text.RegularExpre... |
a5d193a725ccd255aa4187b2f6860b7c0eb7ee18 | C# | shendongnian/download4 | /first_version_download2/324232-27055874-78148627-2.cs | 2.765625 | 3 | StringBuilder yachtTypesString = new StringBuilder();
for (int indexInteger = 0; indexInteger < typeComboBox.Items.Count; indexInteger++)
{
yachtTypesString.AppendLine(typeComboBox.Items[indexInteger].ToString());
}
MessageBox.Show(yachtTypesString.ToString());
|
b2fcecb2fcadb8be62978866286c7cffe3dd8793 | C# | Clos2024/RTS-game | /RTS test/Assets/Scripts/Unit_Scripts/Inventory.cs | 2.984375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Inventory : MonoBehaviour
{
public static Inventory instance;
public delegate void OnInvChange();
public OnInvChange onInvChangedCallback;
public List<Item> inventory = new List<Item>();
public LayerMask ... |
d445df89c04206e1781e70751ea4415b07c0bb48 | C# | MK4H/MHUrho | /MHUrho/MHUrho/Plugins/LevelLogicTypePlugin.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using MHUrho.Logic;
using Urho.Gui;
namespace MHUrho.Plugins
{
/// <summary>
/// This class encapsulates the access of the level plugin to the CustomSettings window on the LeveLSettingsScreen.
/// </summary>
public class LevelLogicCustomSettings :... |
d26178d92028e44047640de3ab223c0ede30af84 | C# | shendongnian/download4 | /code4/709292-17120162-42201222-6.cs | 2.859375 | 3 | class DynamicProperty<T>
{
public DynamicProperty(TypeBuilder builder, string name)
{
var field = builder.DefineField("_" + name, typeof(T), FieldAttributes.Private);
var property = builder.DefineProperty(name, PropertyAttributes.None, typeof(T), new Type[0]);
... |
211ca1b3fb9ca9e572a40ad44fc39a56abbf46d6 | C# | foxguardsolutions/DBudwin-Monopoly | /Game/BoardSpacesFactory.cs | 2.625 | 3 | using System.Collections.Generic;
using System.Linq;
using Monopoly.Game.Properties;
namespace Monopoly.Game
{
public class BoardSpacesFactory : IBoardSpacesFactory
{
private List<BoardSpace> spaces = new List<BoardSpace>();
public IEnumerable<IBoardSpace> CreateAll()
{
Cr... |
b890453322b694b051fe471c89eea123a4f157a0 | C# | SaulNapoles/CrazyTruck | /Nucleo.CrazyTruck/Models/UsuarioModel.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Mail;
using System.Net;
using System.Security.Cryptography;
namespace Nucleo.CrazyTruck.Models
{
class UsuarioModel
{
CrazyTruckDBEntitiesCn context = new CrazyTruckDBEn... |
cd0f65ca61aba6e105c9c7fb28faf4c9c7363a41 | C# | abir-hb/ScolaritePF | /Scolarite.Service/PlanEService.cs | 2.53125 | 3 | using Scolarite.Data.Infrastructures;
using Scolarite.Domain.entities;
using ServicePattern;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Scolarite.Service
{
public class PlanEService : Service<EspModulePanierClasseSaiso>, IPlanEServ... |
8fd82fd017b69b1a9715312c48abb2c8c634fc39 | C# | Jeralane/payroll_desktop | /OrionTaskForce/OrionTaskForce/payroll_system/.svn/pristine/f5/f59c56219e189d3b0c3227e45b4e901a80fdf3c4.svn-base | 2.765625 | 3 | using System.Collections.ObjectModel;
using PayrollSystem.Models;
namespace PayrollSystem.Views.Employers
{
public class EmployersViewModel : AbstractViewModel
{
public ObservableCollection<Employer> Collection { get; set; }
private Employer _selectedItem;
public Employer SelectedItem... |
98e7408295c765dadf7f86626cf02f9e3e479de9 | C# | LucasLopezEguren/dotnetwebapi | /Codigo fuente/CompanyDashboard.DataAccess.Interface/IRepository.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace CompanyDashboard.DataAccess.Interface
{
public interface IRepository<T> : IDisposable where T : class
{
void Add(T entity);
void Save();
void Delete(T entity);
void Update(T entity);
... |
86f61db7a7fe836925809cba3cf10a1881f41330 | C# | Craftitude-Team/Craftitude | /src/craftitude/PathLibraryEntry.cs | 2.78125 | 3 | namespace Craftitude
{
/// <summary>
/// Represents a weighted library optionally depending on other libraries or paths.
/// This means this path will be intelligently sorted into a classpath
/// or a librarypath variable depending on when other paths are loaded.
/// </summary>
public class Pat... |
5ac6b0ac9bed29e1fa83fc5fd1826f4fc5d5701b | C# | stanislavstoyanov99/Technical-University-Projects | /Second semester/OOPProjects/Capsulation/TriangleStruct/Program.cs | 4.125 | 4 | using System;
namespace TriangleStruct
{
class Program
{
public struct Triangle
{
public int height;
public int triangleBase;
public Triangle(int height, int triangleBase)
{
this.height = height;
this.triangleBase... |
45854385c0acdadafd1952ddbafa1134878a7402 | C# | rf20da2d1-1d/ClassDemoHotelDB | /ClassDemoHotelDB/DBWorker.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Diagnostics;
using HotelModelLib.model;
namespace ClassDemoHotelDB
{
public class DBWorker
{
// findes i SQL server objekt browser -> database -> properties -> ConnectionString
... |
c3f5a1082ed9505a83afd1656197c38730c91493 | C# | canansavuran/HospitalManager | /KillMeHospitalManege/AppClass/HastaCikis.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace KillMeHospitalManege.AppClass
{
public class HastaCikis
{
public string HastaAdi { get; set; }
public string HastaMasra... |
58253500a8666ce1be32989e55d12145b3bdabe7 | C# | SnrdTeam/cryptography-dotnetcore | /Adeptik.Cryptography/Converters/BigIntegerConverter.cs | 3.3125 | 3 | using System;
using System.ComponentModel;
using System.Globalization;
using System.Numerics;
namespace Adeptik.Cryptography.Converters
{
/// <summary>
/// Converts <see cref="BigInteger"/> from <see cref="string"/>.
/// </summary>
/// <remarks>
/// Integer value representing in one of the followi... |
da97b33777a6e29307ec2eacdcee0e69e046c670 | C# | Sanchit-Rastogi/bankApp | /BankApp/BankApplication.cs | 2.8125 | 3 | using System;
using BankApp.Services;
using BankApp.Models;
using System.Collections.Generic;
using BankApp.Services.Utilities;
using BankApp.Services.Constants;
using BankApp.Interfaces;
namespace BankApp
{
public class BankApplication
{
Utility Utility;
User LoggedInUser;
private re... |
c7c57c4a76285600271685ee14e20f860e307416 | C# | koker007/PiiSim_test1 | /Assets/Skript/Calculations.cs | 3.140625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Calculations{
//Для уменьшения выгоды коофициент должен быть от 1 до 2
//Для увеличения выгоды коофициент должен быть от 0 до 1
//Коофициент не должен быть больше 2 или меньше 0, а число отрицательным
p... |
c7bc4b633e2cb74793d7bed5375105070e505382 | C# | xiaomailong/Study | /V2/Platform/Src/MMI.Tools/Desktop/MMITool.Common/Controls/Roundness/GDIRoundness.cs | 2.765625 | 3 | using System;
using System.Drawing;
using MMITool.Common.Util;
namespace MMITool.Common.Controls.Roundness
{
/// <summary>
/// 圆
/// </summary>
public class GDIRoundness : CommonInnerControlBase
{
private int m_R;
private Point m_Center;
// ReSharper disable once ... |
c9ff76ca8b18fff7eb1c670bf6dc9f633138e1d9 | C# | Azure/elastic-db-tools | /Test/ElasticScale.Query.UnitTests/MockSqlDataReader.cs | 2.5625 | 3 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// Purpose:
// Mocks SqlDataReader
// Inherits from DbDataReader
using System;
using System.Collections;
using System.Data;
using System.Data.Common;
using System.IO;... |
8fa0130a4aa29055768ce9e607a71b62bd37a887 | C# | pauloamorim2006/forcavendasapiddd | /Backend/src/SalesForce.Business/Models/Validations/UnidadeValidation.cs | 2.859375 | 3 | using FluentValidation;
namespace SalesForce.Domain.Models.Validations
{
public class UnidadeValidation : AbstractValidator<Unidade>
{
public UnidadeValidation()
{
RuleFor(f => f.Descricao)
.NotEmpty().WithMessage("O campo {PropertyName} precisa ser fornecido")
... |
3504541f9e3bcef2ecd5f57118e5aa92de19a686 | C# | frandemanueles/MartianRobotsApp | /MartianRobotsGame.Tests/MarsBoardServiceTests.cs | 2.84375 | 3 | using MartianRobotsGame.Models;
using MartianRobotsGame.Services;
using System.Collections.Generic;
using Xunit;
using System.Linq;
namespace MartianRobotsGame.Tests
{
public class MarsBoardServiceTests
{
private readonly MarsGrid _marsGrid;
public MarsBoardServiceTests()
{
... |
9cdc16bdb8718e1a83fc97233f2daa21cf59df6e | C# | wenysky/dnt31-lite | /Discuz.Data/DataProvider/Announcements.cs | 2.703125 | 3 | using System;
using System.Text;
using System.Data;
using Discuz.Entity;
using Discuz.Common;
namespace Discuz.Data
{
/// <summary>
/// 论坛公告操作类
/// </summary>
public class Announcements
{
/// <summary>
/// 添加公告
/// </summary>
/// <param name="annou... |
cd86497ce0988d9e9c0d8a49b9db772f32f51716 | C# | Rohland/Fogshot | /GreenshotFogbugzPlugin/CasePrompt.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace GreenshotFogbugzPlugin
{
public static class CasePrompt
{
public static CaseSelectionResult ShowDialog(string instruction, string caption)
{
... |
076f60058dd59e4e5f04c82549d255b1731beb11 | C# | yasinyenil/article-api-dotnet-core | /Article.DataAccess.Concretes/RepositoryBase/RepositoryOfBase.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
#region Custom Usings
using Article.Common.Helpers;
using Article.Common.Constants;
using Microsoft.EntityFrameworkCore;
using Article.DataAccess.Abstracts.RepositoryBase;
using Article.Models.EntitiesOfProjects.BaseEnti... |
cea614d41fd6cd6e8e1a7478a410f3dabe8c984d | C# | shendongnian/download4 | /code10/1766747-51570557-178610583-4.cs | 3.203125 | 3 | fixed (char* pInput = Input)
{
var len = pInput + Input.Length;
var current = 0;
var results = new List<int>();
for (var p = pInput; p < len; p++)
{
if (*p >= 48 & *p <= 58)
current = current * 10 + *p - 48;
else if (*p == ',')
... |
7aed644acfd0194685751ead27ceb6fb0eb93358 | C# | Fitzpa/Solution | /Assets/Scripts/PlayerScripts/CharacterManager.cs | 3.078125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MetroidvaniaTools
{
//New script inspired by a student; will allow you to switch characters with the press of a button you decide in the inspector
public class CharacterManager : Abilities
{
//List of playable... |
e4bcd2357be99930dad0d85236aabcad980bb39a | C# | zentoolworks/zencnc | /src/ZenCNC.STEAM.WinForm.Control/CommandButton.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ZenCNC.STEAM.WinForm.Control
{
public partial class CommandButton : UserControl
{
... |
fe34d6e7121eea10532337183eefba9199775437 | C# | InnovLabs/InnovFishShop | /BusinessEngine/Manager/SampleService.cs | 2.625 | 3 | using System.Collections.Generic;
using BusinessEngine.Models;
using NHibernate;
namespace BusinessEngine.Manager
{
public class SampleManager
{
private static SampleManager _instance;
public static SampleManager GetInstance()
{
if (_instance != null) return _instance;
... |
7fbff9710b922f579a2d58a07975b4de2aac7d40 | C# | CleanCodeX/WebApp.SoE | /Extensions/DictionaryExtensions.cs | 2.734375 | 3 | using System.Collections.Generic;
namespace WebApp.SoE.Extensions
{
/// <summary>
/// Provides safe access to dictionary values
/// </summary>
public static class DictionaryExtensions
{
public static string? GetValue(this IDictionary<string, string?> source, string key) => source.TryGetValue(key, out var value... |
bd68bda75919e04b506bc833874ac8b2cab82a33 | C# | DynamoDS/designscript-archive | /Core/ProtoCore/Parser/ImperativeAST.cs | 2.578125 | 3 | using System.Collections.Generic;
namespace ProtoCore.AST.ImperativeAST
{
public abstract class ImperativeNode : Node
{
public ImperativeNode()
{
}
public ImperativeNode(ImperativeNode rhs) : base(rhs)
{
}
public override bool Compare(Node... |
e769a0b66abce22f9fad03eb5336257d2aba5bb7 | C# | gaozeqian/data-structure | /00-LeetCode/位运算/_762_二进制表示中质数个计算置位.cs | 3.640625 | 4 | using System;
using System.Collections.Generic;
using System.Text;
namespace _00_LeetCode.位运算
{
/// <summary>
/// https://leetcode-cn.com/problems/prime-number-of-set-bits-in-binary-representation/
/// </summary>
public class _762_二进制表示中质数个计算置位
{
public int CountPrimeSetBits(int left, int ... |
1d3fc4c83e726f241b6d4bc3e1469360bf8fe3ef | C# | 18721017183/OpenHalcon | /HalconDotNet/HalconDotNet/HDevWindowStack.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
namespace HalconDotNet
{
[EditorBrowsable(EditorBrowsableState.Never)]
public class HDevWindowStack : IDisposable
{
~HDevWindowStack()
{
... |
232509e569dce4b0a872048d88c4e8a18ca6afe9 | C# | shendongnian/download4 | /code11/1934855-58519756-207789424-2.cs | 2.578125 | 3 | public void Foo()
{
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.AssemblyResolve += new ResolveEventHandler(MyResolveEventHandler);
// Load dll which was exported from Matlab into application
string path = @"..\..\..\..\MatlabDlls\Matlab-Integration";
string dllName = "MyExportedMatlabDLL... |
83e102b68a57f720ccc06fc8126d3c72268181ca | C# | DERESICL/Code | /Easybook/Ingestion/CSVParser.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using LumenWorks.Framework.IO.Csv;
using Easybook.Models;
namespace Easybook.Ingestion
{
public class CSVParser : IDataParser
{
private String supportedFormat = "csv";
private StreamReader re... |
8fbf2105328efe36e3b321bd064bae3939f07324 | C# | haimon74/Easy-Fixup | /VS2010/ezFixUpWebApp/ezFixUpWebApp/Classes/Global.cs | 2.5625 | 3 | using System.Collections.Generic;
using System.Web;
namespace ezFixUp
{
public partial class Global
{
static Global()
{
ApplicationStateInstance.Add("UserStateInstancesDic", new Dictionary<string, Dictionary<string, object>>());
ApplicationStateInstance.Add("AnonymousSt... |
ae67927a7262f367ff4e321c0c6ffbbdbbf280ef | C# | shendongnian/download4 | /latest_version_download2/45241-7738322-17163459-4.cs | 3.5 | 4 | public class Matrix<T>
{
private readonly List<List<T>> _matrix;
public Matrix()
{
_matrix = new List<List<T>>();
}
public T this[int r, int c]
{
get
{
ResizeIfNeeded(r, c);
return _matrix[r][c]; ... |
e9da78bf448675fc9b60fe569145fe51e550f2cf | C# | cbrathwa2002/Nextech-Code-Assessment | /Repository/NewsRepository.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Interfaces;
using Models;
using System.Collections.Specialized;
/// <summary>
///
/// </summary>
namespace Repository
{
public class NewsRepository : INews
{
private static List<Ne... |
c0a5f45224e11d7d5007895a7bb783f1e4e4174d | C# | afonsoft/Afonsoft.Amadeus | /Afonsoft.Amadeus/referenceData/urls/CheckinLinks.cs | 2.8125 | 3 | using Afonsoft.Amadeus.Resources;
namespace Afonsoft.Amadeus.referenceData.urls
{
/// <summary>
/// <para>
/// A namespaced client for the
/// <code>/v2/reference-data/urls/checkin-links</code> endpoints.
/// </para>
///
/// <para>
/// Access via the Amadeus client object.
... |
2949544cf9b0e098844823758780a3bc73469353 | C# | techtalk/CodingDojos | /Regex/CSharp/RegexTests/MatchCommentsTests.cs | 3.4375 | 3 | using System;
using System.Linq;
using System.Text.RegularExpressions;
using Xunit;
namespace RegexTests
{
//Examples taken from: https://www.hackerrank.com/challenges/ide-identifying-comments/problem
public class MatchCommentsTests
{
private const string RegexExpression =
"";
... |
9de2a60a603dcbe5d3c0986de838c9b259ef6675 | C# | deyantodorov/TelerikAcademy | /Data-Structures-Algorithms/HW02.LinearDataStructures/T09.First50Members/Program.cs | 3.921875 | 4 | namespace T09.First50Members
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// 9. We are given the following sequence:
/// S1 = N;
///
/// S2 = S1 + 1;
/// S3 = 2 * S1 + 1;
/// S4 = S1 + 2;
///
/// S5 = S2 + 1;
/... |
680a7984f57087636a1455cfe5006947e4241760 | C# | ppaska/VendingMachine | /VendingMachine.Tests/VendingMachineChangeTests.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace VendingMachine.Tests
{
[TestFixture]
public class VendingMachineChangeTests
{
[Test]
public void GiveChangeTest104()
{
v... |
5cde8231bdbee60c45125e4863e83181a618cc47 | C# | BuyaUp/ProjectoAlexa | /src/ProjectoAlexa.Data/Maps/ExameMap.cs | 2.734375 | 3 | using ProjectoAlexa.Data.Entities;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectoAlexa.Data.Maps
{
public class ExameMap:EntityTypeConfiguration<Exame>
{
public ExameMap... |
208c05f003793a4c1d08904f58641bdad5b34e95 | C# | lajohnston/LemballEditor | /app/views/LevelBrowser/MoveLevel.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace LemballEditor.View
{
public partial class LevelBrowser
{
partial class MoveLevel : Form
{
/// <summary>
... |
0c445611d1ec37bd57f8462cf6f3cb733da4ec28 | C# | RishiDevOp/Case-Study | /CaseStudy/CaseStudy1.cs | 3.375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace CaseStudy
{
class Courses
{
internal int ID { get; set; }
internal String Name { get; set; }
internal String Duration { get; set; }
internal int Fees { get; set; }
internal Courses(int ID, str... |
830c497d67312d78fe43eb99f25f319920eac05a | C# | unreal0/Design-Patterns-in-CSharp | /Visitor/FAD.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Visitor
{
class FAD:Department
{
public override void visit(FulltimeEmployee emp)
{
Console.WriteLine("FA Visit 正式员工:"+emp.name);
}
public override void vi... |
20a1a58362c74b09b92112165dba0e23f810d048 | C# | estimon/gridviewexample | /App1/App1/ImageAdapter.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace App1
{
public class ImageAdapter : BaseAdapter
... |
303f601cb02272bb64fa97a847c6561f3ab24dbe | C# | izaleu/Steamplane | /SteamplaneACR/Assets/WhiteCat/Common/Extension/ReflectionExtension.cs | 3.34375 | 3 | using System;
using System.Reflection;
namespace WhiteCat.ReflectionExtension
{
/// <summary>
/// 反射扩展
/// </summary>
public static class ReflectionExtension
{
/// <summary>
/// 获取对象的字段信息。从最终类型开始向上查找,忽略字段的可见性。
/// </summary>
public static FieldInfo GetFieldInfo(this object instance, string f... |
8141eb8aca3def115e14c84af7de2167d6a9ba9f | C# | davidnemeti/ETUS | /ETUS.DomainModel/UnitExpression.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using DomainCore;
using ETUS.DomainModel;
namespace ETUS.DomainModel.Expressions
{
public abstract class UnitExpression
{
public class Binary : UnitExpression
{
public UnitExpression Term1 { get; set; ... |
2d99810ede61ce837522a25fabb26f46a1617b0b | C# | dumbdogentertainment/reload-the-game | /Reload/Assets/Scripts/ShellBehavior.cs | 2.609375 | 3 | namespace DumbDogEntertainment
{
using DumbDogEntertainment.ScriptableObjects;
using UnityEngine;
public class ShellBehavior : MonoBehaviour
{
public float TimeUntilDestroy = 2f;
public Projectile projectile;
public Vector3 target;
void Start()
{
... |
27bb6f0a66a5f7e472d154269e8826b63b25b0cb | C# | bartvanderwal/CodeOnlyStoredProcedures | /CodeOnlyTests/DataTransformation/InternAllStringsTransformerTests.cs | 2.5625 | 3 | using CodeOnlyStoredProcedure.DataTransformation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Reflection;
#if NET40
namespace CodeOnlyTests.Net40.DataTransformation
#else
namespace CodeOnlyTests.DataTransformation
#endif
{
[TestClass]
public class InternAl... |
fcc00fa792d6ec70039eb93561632308ff0f8019 | C# | luismoax/Competitive-Programming---luismo | /COJ_ACCEPTED/1179 Optimal Parking.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
//1179 Optimal Parking
int tc = int.Parse(Console.ReadLine());
for (int c = 0; c < tc; c++)
... |
376f0ee3f9bb71230586a77d8314dd5e1734d332 | C# | shendongnian/download4 | /latest_version_download2/207741-44195092-147949190-2.cs | 2.6875 | 3 | public class Main
{
public DataTable myMethod()
{
DataTable myTable = new DataTable("MyDataTable");
try
{
using (SqlCommand CMD = new SqlCommand())
{
CMD.Connection = RBOS... |
86f453b3684bac0e9f4c6cc6a1a34b335fec2952 | C# | bl2404/poker_website | /webpoker/GuiSeleniumTests/GuiSeleniumTests/User.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium;
using System.IO;
using System.Threading;
using System.Diagnostics;
namespace GuiSeleniumTests
{
public class User
{
private string infoXPath = "/html/body/div/main/div/div[7]/div";
... |
ff661793dae9fc96bd68da417b9b8e263b24187b | C# | daneren2005/AI-Projects | /WumpusWorld/Agents/KnowledgeBasedAgent.cs | 2.515625 | 3 | using System;
namespace WumpusWorld.Agents {
class KnowledgeBasedAgent : Agent {
public KnowledgeBasedAgent(Hunter hunter) : base(hunter) {
}
public override Action getNextAction() {
if(hunter.gold > 0) {
return Action.EXIT;
} else if(hunter.cell.element == Element.GOLD) {
return Action.GRAB;
... |
f6863cca1fd429c0789a229cd4d8e4b44c903c49 | C# | a44281071/SunTaiLibrary | /SunTaiLibrary/Controls/Diagram/DiagramListBoxItem.cs | 2.625 | 3 | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace SunTaiLibrary.Controls
{
/// <summary>
/// DiagramListBoxItem
/// </summary>
public class DiagramListBoxItem : ListBoxItem
{
static DiagramListBoxItem()
{
DefaultSty... |
4b3e160cfd5fd6bd76caa0f63767c45696071c5e | C# | karthi-sekar/coding_exercise | /AsyncCache/AsyncCache/Abstracts/CacheData.cs | 2.671875 | 3 | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AsyncCache.Contracts;
namespace AsyncCache.Abstracts
{
internal abstract class CacheData<TKey, TValue>
{
protected readonly object[] SyncRoots;
protected readonly int TotalSync;
protected Cac... |
8e93217e95a6e92f9c44466f7516c4343ff77953 | C# | BI50-3-19/SeminClicker | /Upgrade.cs | 3.125 | 3 | using System.Drawing;
using System.Windows.Forms;
public enum UpgradeType
{
Click,
AutoClick
}
namespace Clicker
{
public class Upgrade
{
public readonly Button Button;
public readonly Label Label;
public readonly ProgressBar ProgressBar;
public readonly UpgradeType T... |
477688e82db91ff18c97a528ab1d45fb4f193171 | C# | fleed/dnd | /build.cake | 2.640625 | 3 | ///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var runtime = Argument("runtime", "win-x64")... |
5f80f0c6c5f34f3f883a10260a317e7b0a29b706 | C# | pravsingh/Algorithm-Implementations | /Fisher-Yates/C#/joshimoo/FisherYatesTests.cs | 3.1875 | 3 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace JamLib.Algorithms.Sorting.Tests
{
[TestClass()]
public class SortingUtilsTests
{
[TestMethod()]
public void ShuffleTest()
{
int[] actual = new int[] { -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
... |
db4c08de80830593f126d62f0cf9fd4b8da26dca | C# | visarunas/PSP1_template | /PSP1/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 PSP1
{
public partial class Form1 : Form
{
Entity player = new Entity();
... |
23e489007a3ba183a98f4b4462bb1306314c1d1e | C# | GovanifY/Teamod | /Teamod_2/DMABAR.cs | 2.515625 | 3 | namespace Teamod_2
{
public class DMABARReader
{
public System.Byte[] DMAbuffer;
public DMABARReader(System.String fileName)
{
DMAbuffer=new System.Byte[0];
try
{
DMAbuffer = System.IO.File.ReadAllBytes(fileName);
}
catch {}
}
public System.Int32 getOffset(System.In... |
a59118522fa50e7637532c70481488951d0a0105 | C# | Niicksan/SoftwareUniversity | /Professional Modules/C# Fundamentals/C# Advanced/Exercises/03. Sets and Dictionaries Advanced - Exercicse/04. Even Times/Even Times.cs | 3.703125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _04._Even_Times
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
Dictionary<int, int> evenNumber = new Dictionary<int, int>();
for (int i... |
1c5f0bdeba6662ca0d11b545622efa52a08b3fb1 | C# | epicINC/Epic.Framework | /Epic.Solutions.Testing/Program.cs | 2.5625 | 3 | using Epic.Net;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Epic.Solutions.Testing
{
public class RssItem
{
public int ID
{
get;
set;
}
public ... |
2c46816ea753c48e1383838c88bf7c65dd7bac77 | C# | rjdsilv/Comp229-Assign04 | /Comp229-Assign04/Helpers/JsonHelper.cs | 3.453125 | 3 | using Comp229_Assign04.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace Comp229_Assign04.Helpers
{
/// <summary>
/// Helper class to deal with JSON Serialization and Deserialization.
/// </summary>
public class JsonHelp... |
441b224cdc8808188079345e2e5c2a67fce5ee5c | C# | krnets/codewars-practice | /7kyu/Limit string length - 1/KataTests.cs | 2.765625 | 3 | using NUnit.Framework;
[TestFixture]
public class SolutionTest
{
private static object[] sampleTestCases = new object[]
{
new object[] {"Testing String", 3, "Tes..."},
new object[] {"Testing String", 8, "Testing ..."},
new object[] {"Test", 4, "Test"},
new object[] {"T... |
82bb76b5195f42479c61e4451db4e1760685e075 | C# | vaishnav6887/ComputerScienceFundamental | /LearningComputerFunda/ComputerFunda.DataStructure/Queue/DSQueue.cs | 3.453125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerFunda.DataStructure.Queue
{
public class DSQueue<T>
{
public int Count { get; set; }
public DSQueueNode<T> Head { get; set; }
public DSQueueNode<T> Curr... |
0ea9bc399f7f416f080d5c48ad2f8d33a59c8d20 | C# | fletcher-berry/Cubing | /AlgorithmTrainer/Info.cs | 2.703125 | 3 | using Cubing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AlgorithmTrainer
{
public class Info
{
/// <summary>
/// The home form of the app
/// </summary>
public static... |
1b983c588ac17322a0d87edc7a5ba456e21960d4 | C# | Juna-Idler/Titalyver | /ID3v2/Frames/UnsynchronisedLyrics.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Juna.SoundTag.ID3v2.Frames
{
/*
<Header for 'Unsynchronised lyrics/text transcription', ID: "USLT">
Text encoding $xx
Language $xx xx xx
Content descriptor <text string according to encoding> $00 (00)
Lyrics/te... |
cafdaa0423c0fb5a3f6e8ff8062645e66c271281 | C# | siganberg/KubeClient | /src/KubeClient.Core/Services/PortForwardService.cs | 2.515625 | 3 | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using KubeClient.Core.Extensions;
using KubeClient.Core.Models;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace KubeClient.Core.Services
{
public interface IPortForwar... |
bd31108336b143706acb8b8e7aefd6bb4beb3259 | C# | aivannikov/TestTask | /Tecwi.BusinessLogic.UnitTests/HelpersTests/DateTimeHelperTests/GetDifferenceInMonthesTests.cs | 2.625 | 3 | using System;
using Tecwi.BusinessLogic.Helpers;
using NUnit.Framework;
namespace Tecwi.UnitTests.BusinessLogic.HelpersTests.DateTimeHelperTests
{
[TestFixture]
public class GetDifferenceInMonthesTests
{
[Test]
[TestCase("2010-01-15", "2010-02-03", ExpectedResult = 1)]
// same yea... |
da1328e6c5818a8bee9e49bdd3e002988396d22a | C# | xIMzEr/DeMon_Tutoring | /DeMon_Tutoring_Front_Office/Public/TutorList.aspx.cs | 2.765625 | 3 | using DeMon_Tutoring_Classes.Tutoring_Classes.lib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Public_TutorList : System.Web.UI.Page
{
//this function handles the load event for the page
protect... |
bd95819e7c6fc9a0e0ba699ab51e476e3e01cd36 | C# | Papalamus/epam_full | /Task4/Test_project/ConsoleApplication1/InputHelpers/PersonInput.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataObjects.Entities;
namespace ConsoleApplication1.InputHelpers
{
class PersonInput : IInputHelper<Person>
{
public Person makeObject()
{
return new Person()
... |
c076fd0c9f70e649c1b6f1cdbbc2a9476f0b54ed | C# | nilllzz/Game-Dev-Common | /src/GameDevCommon/Rendering/Composers/CylinderComposer.cs | 2.59375 | 3 | using System.Collections.Generic;
using GameDevCommon.Rendering.Texture;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace GameDevCommon.Rendering.Composers
{
public static class CylinderComposer
{
public static VertexPositionNormalTexture[] Create(float radius, float he... |
5bbd2a0263ddda406280a69d077cfd026b53cb89 | C# | Avoloos/rebot-combatrotations | /Common/Avoloos_BaseCombatRotation.cs | 2.53125 | 3 | using System;
using Newtonsoft.Json;
using System.Linq;
using System.Collections.Generic;
using ReBot.API;
using Geometry;
namespace Avoloos
{
abstract public class CombatRotation : ReBot.API.CombatRotation
{
/// <summary>
/// Should the OOC-Rotation be disabled for the Fishingbot?
///... |
215829f77bc805086fa8a36196549e15aa7216e7 | C# | AnatoliyCh/database-application-development | /LR2/Program.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LR2.Model;
using LR2.View;
using LR2.Controller;
using LR2.Model.Table;
using NHibernate;
namespace LR2
{
class Program
{
static void Main(string[] args)
{
Sing... |
6bed0af38ac100ca95256299e9bd3f5e588657ef | C# | Nutmegz/pinball_front_end | /PinballFrontEnd/PinballFrontEnd/UnManaged/WindowControl/WindowControl.AttachThreadInput.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Nutmegz.UnManaged
{
public static partial class WindowControl
{
[DllImport("user32.dll")]
private static extern bool AttachThreadI... |
dc0fce059d00bb6fa5a98319dd46be7296555543 | C# | AndreasNielsen95/AndroidDev | /AndroidDbApp/AndroidDbApp/AdapterClass.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace AndroidDbApp
{
class AdapterClass : BaseAdapter<Notes>
{
Notes[... |
b13920ebdb349451564dec142cb76109fc32555d | C# | mustafasacli/SimpleFileLoggingRepo | /SimpleFileLoggingSolution/SimpleFileLogging.TestConsoleApp/Program.cs | 2.90625 | 3 | using SimpleFileLogging.Enums;
using SimpleFileLogging.Logging;
using System;
namespace SimpleFileLogging.TestConsoleApp
{
internal class Program
{
private static void Main(string[] args)
{
var logger = SimpleFileLogger.Instance;
logger.EnableMethodGrouping = false;
... |
8b86098bd3f0a924b72033fbbf4f50122f11d943 | C# | PenazirFaritha/PokemonProject_FinalVersion | /TestApi/Controllers/ValuesController.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Data;
using TestApi.Models;
namespace TestApi.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
// GET api/values/5
... |
57a606de37f9e22916752d9bc640cb703280ce3d | C# | 2006-jun15-net/alfred-code | /coding_challenges/parity-outlier/Program.cs | 3.640625 | 4 | using System;
using System.Collections.Generic;
namespace parity_outlier
{
class Program
{
static void Main(string[] args)
{
int[] array = {160, 3, 1719, 19, 11, 13, -21};
System.Console.WriteLine(parityCheck(array));
}
stat... |
2cae935702bc5f8019ea737d82cde887ae60de8d | C# | gulbanana/cardgame | /Cardgame.Cards/Dominion/Cellar.cs | 2.984375 | 3 | using System.Threading.Tasks;
using Cardgame.API;
namespace Cardgame.Cards.Dominion
{
public class Cellar : ActionCardBase
{
public override string Art => "dom-cellar";
public override Cost Cost => 2;
public override string Text => @"<paras>
<bold>+1 Action</bold>
... |
eeeab0026f787f3608754ba088e804991f12acea | C# | johnhilts/CSharpShortCodeSamples | /sample3/chap2/終わりが見えない列挙/OLDCODE/OLDCODE/Program.cs | 3.484375 | 3 | using System;
using System.Collections.Generic;
class Program
{
static void Main()
{
int c = 1;
var list = new List<int>();
for (; ; )
{
var n = (int)Math.Pow(c, 2);
if (n > 1000) break;
list.Add(n);
c++;
}
... |
5b9306fa818513850dec00b53873c5d04565bba3 | C# | KiranMangu/CoreRepo | /WebApplication1/Controllers/EmployeeQSController.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace WebApplication1.Controllers
{
[ApiVersion("1.0")]
[Route("api/employeeqs")]
[ApiController]
public class EmployeeQSController : ControllerBase
{
static... |
5195c2ecfff04492c153abf00d6207331660e724 | C# | Daumur/Car_location | /Car_Location/Models/Login.cs | 2.671875 | 3 | using Car_Location.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
namespace Car_Location.Models
{
public class Login : IValidatableObject
... |
09056acbc05236c80642e53143edf3684981bbe0 | C# | mydotey/scf-simple | /dotnet/src/MyDotey.SCF.Simple/Type/String/StringToUIntConverter.cs | 2.671875 | 3 | using System;
namespace MyDotey.SCF.Type.String
{
/**
* @author koqizhao
*
* May 21, 2018
*/
public class StringToUIntConverter : StringConverter<uint?>
{
public static readonly StringToUIntConverter Default = new StringToUIntConverter();
public override uint? Convert(s... |
384ff8de9b4893c90e26f408e034ca52b3070615 | C# | ortizmarcosn/FRBAHOTEL | /src/WindowsFormsApplication2/ABM de Habitacion/FormABMHabitacionPeriod.cs | 2.5625 | 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 WindowsFormsApplication2.Common;
namespace WindowsFormsApplication2.ABM_de_Habitacion
{
public partial class FormABMHabitaci... |
5e1df4bf311d8ed44c76ac53950e5532ed48e06a | C# | shendongnian/download4 | /latest_version_download2/102776-19779715-50791048-2.cs | 3.421875 | 3 | class Program
{
private static Random random;
private static int refCount;
private static object syncObject = new object();
private static AutoResetEvent resetEvent = new AutoResetEvent(true);
static void Main(string[] args)
{
random = new Random();
... |
602db15a62ee1d923db072e2e9733b48dc97143c | C# | cardinals/GXEBRebackSaveTool201805221005_SqlServer | /GXEBRebackSaveTool/GXEBRebackSaveTool/UdpSender.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
namespace GXEBRebackSaveTool
{
/// <summary>
/// UDP操作类。
/// </summary>
public class UdpSender
{
/// <summary>
/// UDP消息接收者。
/// </summary>
... |
7124709c4ac9b1b5a87c950503c82b75a5706378 | C# | fm4love/ibet20112010 | /MiBet/MiBetDataAccess/MemberInfomation/clsDataAccessFunction.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MiBetCommon.MemberInformation;
using System.Data.SqlClient;
namespace MiBetDataAccess.MemberInfomation
{
/// <summary>
/// Thao tác dữ liệu trên bảng tblFunction
/// Create By ThiepND
/// 28/12/2010... |
cb13d6f3d0db26eb79b381a4a5aacb6982aabdc3 | C# | Pathoschild/smapi-mod-dump | /source/~AndyCrocker/FarmAnimalVarietyRedux/ContentPatcherTokens/GetAssetPathToken.cs | 2.890625 | 3 | /*************************************************
**
** You're viewing a file in the SMAPI mod dump, which contains a copy of every open-source SMAPI mod
** for queries and analysis.
**
** This is *not* the original file, and not necessarily the latest version.
** Source repository: https://github.com/AndyCrocker/Star... |
1a54a7e162d143bb2d82d3ab43af39c42f4aaf69 | C# | pspeed16/MTA17335OnlineGame | /ServerSoftware/Server/Server/Main.cs | 2.703125 | 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.Net;
using System.Net.Sockets;
namespace Server
{
public partial class Main : Form
... |
44fb404e9f2f435c995a6c1685100a9f19662bc2 | C# | Rafaat667/2010ZhumakhmetRafaat | /1Module/3seminar/HW/Homework03/task1/Program.cs | 3.6875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace task1
{
class Program
{
/*
* Написать метод, находящий трехзначное десятичное число s,
* все цифры которого одинаковы и которое представляет собой сумму перв... |
11996a538894fd6e8c5fea3ee931f17099b0daba | C# | janusvm/NCDKCESEIT1 | /EITParcelDelivery/Database/Repositories/ParcelTypesRepository.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using EITParcelDelivery.Models;
namespace EITParcelDelivery.Database.Repositories
{
public class ParcelTypesRepository
{
public List<ParcelType> getAll()
{
List<ParcelType> parcelTypes = new List<... |
8695fa9f4af67cbce2fd8ba9114e577652148131 | C# | betaoverflow/aliferous | /Assets/ARe/Libraries/SocketIO/socket.io/TimeStamp.cs | 2.953125 | 3 | using System;
namespace socket.io {
public static class TimeStamp {
/// <summary>
/// return a string encoded value of current time.
/// </summary>
public static string Now {
get {
return EncodeTimeStamp(DateTime.Now.Ticks / 1000);
}
... |