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 |
|---|---|---|---|---|---|---|
148816a733b59cb66943d72eb2cc135c64c486ae | C# | Liljan/Igloo-The-Final-Destruction | /Igloo - The Final Destruction/Assets/Scripts/Gameplay/PlayerHealth.cs | 2.609375 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerHealth : Health
{
private bool isDead = false;
public void Awake()
{
currentHP = MAX_HP;
HUDManager.Instance().SetHealth(currentHP);
}
public override void HandleColli... |
5e973b8b152133d0132a1ee3684d3532fd5c12d6 | C# | ivonaii/OnlineShop | /OnlineShop/Pants.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace OnlineShop
{
class Pants : Clothes
{
public override void PrintInfo()
{
Console.WriteLine("P-riceless. A-wesome. N-ew. T-rendy. S-leek. = PANTS");
}
public Pants(int index, string gender, ... |
90c78759d1e9dba23eb72acf257eaedf610f04a2 | C# | Alachisoft/NCache | /Src/NCSystemInternal/Diagnostics/PerformanceCounterCategory.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Runtime;
using System.Text;
namespace System.Diagnostics
{
//
// Summary:
// Represents a performance object, which defines a category of performance counters.
public sealed class PerformanceCounterCategory
{
//
// Su... |
bf412360396eb1a39b38f6c57456573ef800ad0e | C# | shendongnian/download4 | /code8/1487415-40888975-132762153-2.cs | 3.140625 | 3 | public static string LocalUserAppDataPath
{
get
{
return GetDataPath(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData));
}
}
private static string GetDataPath(string basePath)
{
string format ... |
060fcd9cd3cb973127a39105e5ce6c02b5ab0fa3 | C# | benhofca/BootstrapModalContentControl | /Data/CustomAttribute.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Resources;
using System.Web;
namespace Data
{
public class LocalizedDisplayNameAttribute : DisplayNameAttribute
{
public LocalizedDisplayNameAttribu... |
0d6f79fdcbf727cc892c6c1bf5fbfe0d130129bf | C# | caixiong110/Cloud-port-forward | /ManagementAgent/Services/Memory.cs | 2.84375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.MemoryMappedFiles;
using System.IO;
using System.ComponentModel;
using System.Threading;
namespace ManagementAgent.Services
{
class Memory
{
public static int Connected { get; set; }
public st... |
3b735e0b4c5742350e21d116d32a9f4b31de4832 | C# | dtrain157/DeepCat | /DeepCat/DeepCat/DeepCat.cs | 2.703125 | 3 | using DeepCat.Layers;
using DeepCat.Loss;
using DeepCat.Optimization;
using MathNet.Numerics.LinearAlgebra;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeepCat
{
public class DeepCat
{
public List<ILayer> _layers = new L... |
29abfbe19ba7ff3623e019a4bbddf24b01ae7de6 | C# | wim07101993/ClassLibrary | /Library.Serialization/Csv/HeaderElement.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using Library.Core;
using Library.Serialization.Extensions;
namespace Library.Serialization.Csv
{
public class HeaderElement
{
public HeaderElement(PropertyInfo property, string parentName, char delimiter)
... |
0a4830788358fa0d3e9a083fd75423c3c2b16bf5 | C# | Ozone-Training-Service/OzoneTrainingBatch3 | /Teaching/ConsoleApps/Day2/Program.cs | 3.828125 | 4 | using System;
namespace Day2
{
class Sample
{
public void Hello()
{
Console.WriteLine("Hello");
}
public int GetMeARandomNum()
{
Random rn = new Random();
int num = rn.Next(100);
return num;
}
public... |
4120418b498fdec073524795a89726cb97aa9e44 | C# | JorgeCota/GetBodyProduction | /Common/ResourcesGetInformationPC.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Common
{
public static class ResourcesGetInformationPC
{
public static string GetMacAdrs()
... |
1bd2bf514c8946c36764a1a3807f55eb62bb6431 | C# | Ne-Ice/SUGAR-Unity | /PlayGen.SUGAR.Unity/PlayGen.SUGAR.Unity/CommandLineUtility.cs | 2.8125 | 3 | using System.Collections.Generic;
using CommandLine;
namespace PlayGen.SUGAR.Unity
{
public static class CommandLineUtility
{
public static Dictionary<string, string> CustomArgs;
public static CommandLineOptions ParseArgs(string[] args)
{
var parser = new Parser();
var options = new CommandLineOptions(... |
18d57277cc88bfc795a6db64e11e9207373c7cb7 | C# | ivayloivanof/OOP.CSharp | /07.DelegatesAndEvents/DelegatesAndEvents.Homework/DelegatesAndEvents/CustomLinqExtensionMethods/Students.cs | 2.984375 | 3 | namespace CustomLinqExtensionMethods
{
class Students
{
private string name;
private int grade;
public Students(string name, int grade)
{
this.Name = name;
this.Grade = grade;
}
public string Name { get; set; }
public int Grade ... |
5b5c183b3b7df01ba101b1b245595ba6cd0f4435 | C# | vam-community/vam-party | /Party.Shared.Tests/PartyAssertions.cs | 2.78125 | 3 | using Newtonsoft.Json;
using NUnit.Framework;
namespace Party.Shared
{
internal static class PartyAssertions
{
internal static void AreDeepEqual(object expected, object actual)
{
var expectedJson = JsonConvert.SerializeObject(expected);
var actualJson = JsonConvert.Seria... |
13c703d6618ceec2f45398009e05e5df1dd88a68 | C# | ponlawat-w/OsmRoadLegSplitter | /OsmRoadLegSplitter/Models/RoadLeg.cs | 2.5625 | 3 | using NetTopologySuite.Geometries;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OsmRoadLegSplitter.Models
{
public class RoadLeg
{
public IEnumerable<RoadNode> RoadNodes;
public RoadLeg(IEnumerable<RoadNode> nodes)
{
RoadN... |
b6ea52734567fa247e1482fd830231b6d9d66724 | C# | hanyeah/SimpleCircuit | /SimpleCircuit/Algebra/Matrix/SparseMatrix/Row.cs | 3.5625 | 4 | using System;
namespace SimpleCircuit.Algebra
{
public partial class SparseMatrix<T>
{
/// <summary>
/// A class that keeps track of a linked list of matrix elements for a row.
/// </summary>
protected class Row
{
/// <summary>
/// Gets the first... |
b86a7e4395a8cc3e704df52d00308767eb1214f5 | C# | msc-judicial-information-services/Brickweave | /samples/Brickweave.Samples.Domain/Persons/Models/Person.cs | 2.921875 | 3 | using System.Collections.Generic;
using Brickweave.EventStore;
using Brickweave.Samples.Domain.Persons.Events;
namespace Brickweave.Samples.Domain.Persons.Models
{
public class Person : EventSourcedAggregateRoot
{
Person()
{
Register<PersonCreated>(Apply);
Register<Name... |
7a6612bcd88bb1aeb0cc396deec9ed912a39fa9b | C# | lilasquared/redux.NET | /src/Redux.DevTools/TimeMachineStore.cs | 2.6875 | 3 | using System;
using System.Linq;
using System.Reactive.Linq;
namespace Redux.DevTools
{
public class TimeMachineStore<TState> : Store<TimeMachineState>, IStore<TState>
{
public TimeMachineStore(Reducer<TState> reducer, TState initialState = default(TState))
: base(new TimeMachineR... |
49b05e2360ac3aee3d2f6213e91d861ef37df98d | C# | huynht12/WaggerApp | /LogIn.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;
using System.IO;
using System.Windows;
namespace WaggerApp
{
public partial class Lo... |
7998d800ac7aa32a4e5f467cca0179d44e1b5fa1 | C# | Juicern/HealthCheckIn | /CheckInHelper/辅助类/ManagerLoginHelper.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace CheckInHelper
{
public class ManagerLoginHelper
{
/// <summary>
/// 从配置文件中读出管理员登录信息
/// </summary>
/// <returns>管理员登... |
d72fda062cbb38024e95319faea172150c20727c | C# | Kezzo/GGJ18 | /Assets/Scripts/Tuple.cs | 2.5625 | 3 |
public struct Tuple<A, B>
{
public readonly A a;
public readonly B b;
public Tuple(A a, B b)
{
this.a = a;
this.b = b;
}
} |
a8e1d90e11811886bee08bf7ada36545e8b82980 | C# | madRebellion/ThisLifeOfMine | /This Life of Mine/Assets/Scripts/Game State/SaveLoad.cs | 2.734375 | 3 | using UnityEngine;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
public static class SaveLoad
{
public static void SaveGame(PlayerController playerInfo, CameraController cameraInfo)
{
BinaryFormatter binaryFormatter = new BinaryFormatter();
string savePath = Applicatio... |
73185a0496d181756359d1c1b92b55e8f4a0ddc8 | C# | malikamalik1/Horus | /Horus.Generator/Generator.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
using Horus.Generator.Builders;
using Horus.Generator.Models;
using Horus.Generator.ReferenceData;
using MigraDoc.DocumentObjectMode... |
10a5262d21a0e6c2bdecdae14aa33d1fef1c94ea | C# | bpug/MetronaWT | /branches/developer/src/Metrona.Wt.Core/Extensions/DateTimeExtensions.cs | 2.796875 | 3 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DateTimeExtensions.cs" company="ip-connect GmbH">
// Copyright (c) ip-connect GmbH. All rights reserved.
// </copyright>
// --------------------------------------------... |
feb85626de2fe97afc141085b5551cac8a066435 | C# | wesenu/CSharp-OOP-Advanced | /Unit Testing/UnitTesting-Exercise/PeopleDatabase/Database.cs | 3.5625 | 4 | using System.Collections.Generic;
using System;
using System.Linq;
namespace PeopleDatabase
{
public class Database
{
private Dictionary<string, People> peopleByUsername;
private Dictionary<long, People> peopleById;
public Database()
{
peopleById = new Dictionary<l... |
28d933211f0cf53027269513178a510ffc2a8800 | C# | Chris-SG/Snake | /Snake/src/Snake.cs | 3.375 | 3 | using System;
using System.Collections.Generic;
namespace Snake
{
public class SnakeObject
{
private SnakeDirection _direction, _directionToMove;
private bool _grow;
private int _moveCounter;
private Tuple<int, int> _snakePos;
private readonly int _speed;
publi... |
cb4111a15e3baa8ea1c94c01a427bfb6d11c9541 | C# | maryekb94/HomeWork2-.NET- | /totalizator/totalizator/Gambler.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace totalizator
{
//игрок
public class Gambler
{
public string name_player;
public int number_player;
public int money_player;
// Имя игрока
pub... |
89eb64a05084544aaf5620cac0a39bb775d217b3 | C# | karamizrak/AnalyticHierarchyProcess | /AnalyticHierarchyProcess/AnalyticHierarchyProcess/Classes/AHP.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AnalyticHierarchyProcess.Classes
{
public class AHP
{
private static AHP anchorInstance = null;
public static AHP Instance
{
get
{
... |
5e1b4fd87cbf9eecbd17457fcfce710e0c9bec8d | C# | brentstrandy/outpost-old | /Assets/Code/Utilities/SamplingExtensions.cs | 2.90625 | 3 | using System.Collections.Generic;
using UnityEngine;
using Settworks.Hexagons;
public static class SamplingExtensions
{
public static float Sample(this IEnumerable<float> points, SamplingAlgorithm alg)
{
float output = 0f;
int index = 0;
foreach (var point in points)
{
... |
9f84bedbc34114f491044ab4c75583de6733f9f0 | C# | bailangfc/Restaurant | /ItcastCater/ItcastCaterBLL/RoomInfoBLL.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ItcastCater.Model;
using ItcastCater.DAL;
namespace ItcastCater.BLL
{
public class RoomInfoBLL
{
RoomInfoDAL dal = new RoomInfoDAL();
/// <summary>
/// 根据房间的Id删除该房... |
87b0aaaa241402a363e721fc504b01ba678fb6a7 | C# | alvaromongon/windows-csharp-vosk-api | /Processor.VoskApi.ConsoleApp/Program.cs | 2.765625 | 3 | using System;
using System.Threading.Tasks;
using Processor.Abstractions;
using Processor.Implementations;
using Processor.VoskApi.ConsoleApp.Configuration;
using Recorder.Abstractions;
using Recorder.Implementations;
namespace Processor.VoskApi.ConsoleApp
{
class Program
{
private static readonly IR... |
e3d4b1a06027dc589d2f0b97b14b740a4d2ef195 | C# | denmitchell/EDennis.EFBase | /EDennis.EFBase.Tests/PersonRepoTests.cs | 2.640625 | 3 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Xunit.Abstractions;
namespace EDennis.EFBase.Tests {
public class PersonRepoTests : UnitTestBase<PersonContext>{
private ITestOutputHelper output;
private PersonRepo repo;
... |
e94a5185c1de581d60d4c022b37d563a06f66474 | C# | Azure-Samples/iot-edge-opc-plc | /src/AlarmCondition/ParsedNodeId.cs | 2.515625 | 3 | /* ========================================================================
* Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... |
0f5487bba80fcaebfa3c745754c01b56c523cd3a | C# | Nthouvenot/CDA2005 | /FOAD_DesignPattern/DesignPatternCompositeFigure/CompositeLibrary/Figures.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace CompositeLibrary
{
public class Figures : Figure
{
private List<Figure> figuresToDraw;
public Figures(Coordinate coordinate) : base(coordinate)
{
this.figuresToDraw = new List<Figure>();
}... |
3d3d17aef3abebbbf84f1ed55cd299f91f8ef440 | C# | Level0r0s/JSC-Cross-Compiler | /examples/java/Test/ReferenceObjectMembers/ReferenceObjectMembers/Class1.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using ScriptCoreLib;
[assembly: Script, ScriptTypeFilter(ScriptType.Java)]
namespace ReferenceObjectMembers
{
[Script]
public class Class1 : ReferenceObjectMembers.IClass1
{
... |
a536d6f7a8b0f3a2e778d1deb788c9a062cd6824 | C# | georgimanov/Bloggable | /src/Bloggable.Common/Extensions/IEnumerableExtensions.cs | 3.546875 | 4 | namespace Bloggable.Common.Extensions
{
using System;
using System.Collections.Generic;
using System.Linq;
public static class IEnumerableExtensions
{
public static void ForEach<T>(this IEnumerable<T> enumerable, Action<T> action)
{
if (enumerable == null)
{... |
381074f7504da70e2c3701c3d47fe3636658720f | C# | Auropath/OregonTrail | /src/Module/Tombstone/Tombstone.cs | 3.359375 | 3 | // Created by Ron 'Maxwolf' McDowell (ron.mcdowell@gmail.com)
// Timestamp 01/03/2016@1:50 AM
using System;
namespace OregonTrailDotNet.Module.Tombstone
{
/// <summary>
/// Facilitates a tombstone base class that supports shallow copies of itself to be created.
/// </summary>
public sealed class... |
250bc2bd314307801dd2bcbd2f5a1e436f3a5a8d | C# | grcodemonkey/iron_dotnet | /src/IronSharp.IronMQ/MessageOptions.cs | 2.6875 | 3 | using IronSharp.Core;
using Newtonsoft.Json;
namespace IronSharp.IronMQ
{
public class MessageOptions : IInspectable
{
/// <summary>
/// The item will not be available on the queue until this many seconds have passed.
/// Default is 0 seconds.
/// Maximum is 604,800 seconds (7 ... |
d241cf9e1beb08388b163fb0cbb542720152d22a | C# | wesseln1/LINQedList | /Program.cs | 3.53125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime;
namespace LINQedList
{
class Program
{
static void Main(string[] args)
{
// Find the words in the collection that start with the letter 'L'
List<string> fruits = new List<string>() ... |
7b23f6cf098c02d76845fd1b36e3c019e989dc26 | C# | apterid/apterid-bootstrap | /Src/Apterid.Bootstrap.Parse.Tests/LexiconTests.cs | 2.625 | 3 | // Copyright (C) 2015 The Apterid Developers - See LICENSE
using System;
using System.Linq;
using System.Numerics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Apterid.Bootstrap.Parse.Tests
{
[TestClass]
public class LexiconTests
{
ApteridParser parser = new ApteridParser();
... |
bbffe080df8cbb30a47463cfa8500e51c39f59a2 | C# | shendongnian/download4 | /code8/1373030-37169575-117848146-2.cs | 3.796875 | 4 | class Program
{
static void Main(string[] args)
{
Instance.Instantiate();
Referent.Refer(Instance.GetInstance());
Console.ReadLine();
}
}
public class Instance
{
private static Instance myInstance;
public void OnInstantiated... |
f5bcda63aec8620cd262b64b008beb2dc09964f3 | C# | raccoon-repo/coursework | /DatabaseImpl/Database/Queries/Books.cs | 2.625 | 3 | namespace BookLibrary.Database.Queries
{
public static class Books
{
public const string FIND_BY_ID =
"SELECT * FROM book AS b WHERE b.id = @id";
public const string FIND_ALL =
"SELECT * FROM book";
public const string COUNT_BY_ID =
"SELECT COUNT(*) FROM book AS b WHERE b.id = @id";
public const... |
c21d728613902ffaea711ad980ac77545864cf44 | C# | shendongnian/download4 | /latest_version_download2/202900-42869011-147047553-2.cs | 3.34375 | 3 | interface IAnimal
{
}
interface ICat
{
void MethodUniqueToCats();
}
class Cat<T> : IAnimal, ICat
{
public void MethodUniqueToCats()
{
}
}
|
3633b69a9ec2357b870a985db0f2a4badf7b7c81 | C# | davewiebe/SpaceAlert | /Assets/Scripts/Player.cs | 2.59375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
private Vector3 MoveTowards;
public Room CurrentRoom { get; set; }
public Actions Actions { get; set; }
public bool Moving { get; set; }
public string PlayerColour { get; set; }
... |
25bf4b2dcd76d8b69c90fde14dbcd259c9493716 | C# | k2zinger/CSM-Activities | /UiPathTeam.MSExcel.Activities.Test/GetColumnLetterTest.cs | 2.5625 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UiPathTeam.MSExcel.Activities.Test
{
[TestClass]
public class GetColumnLetterTest
{
[TestMethod]
public void CalculateColumnLetterTest()
{
var columns = new [] { new object[] { 0, "A" }, new object[] { 26, "A... |
4a82c2d2d76a163601c1f3e2d6adf46091a812a1 | C# | Qlevine20/Spring-Game-Jam-2016 | /Assets/Scripts/Creatures/WallDog.cs | 2.765625 | 3 | using UnityEngine;
using System.Collections;
public class WallDog : Creature {
public override Vector3 Spawn(){
return Camera.main.ScreenToWorldPoint(new Vector3(
Random.Range(5, Screen.width-5),
Random.Range(5, Screen.height-5),
Camera.main.nearClipPlane*100));
}
public override Vector3 Move(){
V... |
5d62f8413968cb3539cee541692105d077b74059 | C# | AaronJessen/UnityAzureScavenger | /src/Server/GetDailyItems.cs | 2.578125 | 3 | using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
namespace ScavengerServer
{
public static class GetDailyItem... |
8deacea54d2113f7d4df130adb249790d542096e | C# | NasC0/Telerik_HW_2013-2014 | /Data Structures and Algorithms/02. LinearDataStructures/08. SequenceMajorant/SequenceMajorant.cs | 3.890625 | 4 | /* 08. * The majorant of an array of size N is a value that occurs in it at least N/2 + 1 times.
* Write a program to find the majorant of given array (if exists). Example:
{2, 2, 3, 3, 2, 3, 4, 3, 3} 3 */
using System;
using System.Collections.Generic;
using System.Linq;
class SequenceMajorant
{
static int ... |
e96f39f79e0defbb873ac2e66e768b821c4e9374 | C# | adyksy-epam/RTL | /RTL.TvMazeScraper.Domain/Providers/ShowProvider.cs | 2.6875 | 3 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using RTL.TvMazeScraper.Data.Entities;
using RTL.TvMazeScraper.Data.Repository;
using RTL.TvMazeScraper.Domain.DTO;
using RTL.TvMazeScraper.Domain.Formatters;
using RTL.TvMazeScraper.Domain.Queries;
namespace RTL.TvMazeScraper.Domain.P... |
69cad1b645a435594358b2c82207b68a03e0f721 | C# | NicolasWeissheimer/BullethellRPG | /Objects/Building.cs | 2.765625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Building : MonoBehaviour
{
SpriteRenderer building;
byte alpha;
private void Start()
{
building = GetComponent<SpriteRenderer>();
}
public IEnumerator HideBuilding()
{
int i = 0;
... |
51ac17c1954e7209f8ea61d0b5e9ee567a658321 | C# | VRDate/json-everything | /JsonPath/QueryExpressions/GreaterThanOperator.cs | 2.765625 | 3 | using System;
using System.Text.Json;
using Json.More;
namespace Json.Path.QueryExpressions
{
internal class GreaterThanOperator : IQueryExpressionOperator
{
public int OrderOfOperation => 4;
public QueryExpressionType GetOutputType(QueryExpressionNode left, QueryExpressionNode right)
{
if (left.OutputTyp... |
b2438a9e3532f0b65e04fad997539f03da166381 | C# | klavskruz/vaproofofconcept | /Extras/TableParser/TableParser.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace MeetingApi.Extras.TableParser
{
public class TableParser
{
public static string ConvertToHtml(DataTable dt)
{
System.Text.StringBuilder sb = new System.Text... |
f0384a0ff055641d5516085f53553ec02393b95e | C# | imonfire328/Cutlist | /MD/MdShapeWriter.cs | 3.03125 | 3 | using System;
using iTextSharp.text;
using iTextSharp.text.pdf;
namespace CLGenerator.MD
{
public class MdShapeWriter : MdRectangleWriter
{
public MdShapeWriter()
{
}
/// <summary>
/// Returns a list of dimensions with zoom applied
/// </summary>
/// <r... |
a1c7ae97e0efc24f3c80e41a3a16aa6bcc0f51ec | C# | LGM-AdrianHum/xbmcontrol | /Configuation.class.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
namespace XBMControl.Configuration
{
class XBMControlConfiguration
{
private string ip;
private string username;
private string passw... |
7bd4e37be014fda7c5bb093af475c4581bfde5d2 | C# | pacefist/BoxDuino | /LiteSoftForCOMExchangeData/WindowsFormsApp1/WindowsFormsApp1/SerialClass.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO.Ports;
namespace WindowsFormsApp1
{
// данный класс организует обмен данными с портом COM
class SerialClass
{
public List<String> Ports = new List<String> {... |
737631d9e277d7a37938ae5933035f09a6fca565 | C# | Kostyancapral/Quest | /1.1/6 taxi/6 taxi/Program.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _6_taxi
{
class Program
{
static void Main(string[] args)
{
int km, min,price;
Console.WriteLine("какой километраж нужно преодолеть");
... |
7d0fda2087f966b33e7524c24009acf1f0594556 | C# | cholodev/asaf | /Asaf/Projects/Core/Ioc/IocManager.cs | 2.625 | 3 | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Core
{
public class IocManager
{
private const string LogFolderName = "Logs";
//burası ihtiyaç halinde bir ayara bağlanabilir. şimdilik bu şekilde kalsın.
private static readonly... |
be6f524ac80c47a7e5d74bf93cdbc9b4ef2c3aaa | C# | bilalalptekin/homeworks | /Bilal-Alptekin/131730026_Bilal-Alptekin/Form1.cs | 2.625 | 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 _131730026_Bilal_Alptekin
{
public partial class Form1 : Form
{
public Form1()... |
92022681d9529c23332c7c055837aaeeb1b5cc72 | C# | bgroupru86/AskQ-Final | /ASKQ/Controllers/RealTimeQuestionController.cs | 2.5625 | 3 | using ASKQ.Models;
using System;
using System.Collections.Generic;
using System.Web.Http;
namespace ASKQ.Controllers
{
public class RealTimeQuestionController : ApiController
{
[HttpPost]
[Route("api/RealTimeQuestion/post")]
public void Post([FromBody]RealTimeQuestion q)
{
... |
6fd844b3e545d4872afff218f8938ff3b75e8241 | C# | tolosaadam/PracticaCSharp | /UsandoPropiedades/UsandoPropiedades/Program.cs | 3.296875 | 3 | using System;
namespace UsandoPropiedades
{
class Program
{
static void Main(string[] args)
{
Empleado empleado1 = new Empleado("Adam");
empleado1.SALARIO = 1200;
Console.WriteLine($"El salario del empleado1 es: {empleado1.SALARIO}");
empleado1.S... |
4e2a3ae4b48852423631ea083968dc0ecd546c17 | C# | grae22/Dorothy | /ui/SelectItemDlg.cs | 2.78125 | 3 | using System;
using System.Windows.Forms;
using System.Collections.Generic;
using Dorothy.Data;
namespace Dorothy.UI
{
public partial class SelectItemDlg : Form
{
//-------------------------------------------------------------------------
private List<Item> _items;
//--------------------------------... |
0f4a9ce6db56451b0723fe7987970f727d848476 | C# | shendongnian/download4 | /code10/1728827-50066705-172252222-2.cs | 2.75 | 3 | public IActionResult Cheese(string firstName, string lastName)
{
@ViewData["Data"]=$"Hello, {firstName ?? "Dr."} {lastName ?? "Cheeseburger"}";
return View();
}
|
b508dbecc30b4de8f672a856e6ba7a535506b110 | C# | jnm2/ApiContractGenerator | /src/ApiContractGenerator.Tests/Internal/StringSpanTests.cs | 2.578125 | 3 | using ApiContractGenerator.Internal;
using NUnit.Framework;
namespace ApiContractGenerator.Tests.Internal
{
public static class StringSpanTests
{
[Test]
public static void IndexOf_applies_offset_to_return([Range(0, 5)] int beforeSlice)
{
var span = (new string('.', beforeSli... |
3864d0e5847a27dbc6b0c0cd45c32fdb718aff44 | C# | Coldani3/liskov-custom | /Program.cs | 4.03125 | 4 | using System;
namespace liskovcustom
{
class Program
{
static void Main(string[] args)
{
Animal animal1 = new Animal();
Animal animal2 = new Dog();
//error version, mammoth returns different sort of value for .Alive() than the base
//yes the othe... |
72078932230b0946e3581362e0fcc2490ea330f6 | C# | Mapasich/C_SharpLessons | /entity-framework-5-Oleg-Kulygin/002_EDM/002_EDM/007_Delete/Form1.cs | 2.796875 | 3 | using System;
using System.Data.Entity;
using System.Windows.Forms;
namespace _007_Delete
{
public partial class Form1 : Form
{
readonly AWEntities context;
public Form1()
{
InitializeComponent();
context = new AWEntities();
}
private void Form... |
7b7a1d86df21b4c7b771f2266df03d5557d805b4 | C# | letsmedialab/Academy-CRM | /AcademyCRM.DAL.EF/Contexts/ModelBuilderExtensions.cs | 2.875 | 3 | using AcademyCRM.Core.Models;
using Microsoft.EntityFrameworkCore;
namespace AcademyCRM.DAL.EF.Contexts
{
public static class ModelBuilderExtensions
{
public static void Seed(this ModelBuilder modelBuilder)
{
var topic1 = new Topic()
{
Id = 1,
... |
2815a9bc26ce99f83aeeaada23bcc9c28fe35e2a | C# | lovebirdsx/TestCSharp | /csx/Parabola.csx | 3.046875 | 3 | float y0 = 1;
float y1 = 4;
float y2 = 0;
float t = 2;
void CalAccAndVec(float y0, float y1, float y2, float t, out float a, out float v) {
float t1 = t / ((float)Math.Sqrt((y2 - y1) / (y0 - y1)) + 1);
a = -(2 * (y1 - y0)) / (t1 * t1);
v = -a * t1;
}
float a;
float v;
CalAccAndVec(y0, y1, y2, t, out a, ou... |
be34702ee95043f8486bfc759c6459f538e5ff44 | C# | 210503-Reston-NET/Lateu-Richard-P1 | /StoreWebUI/Models/ItemVM.cs | 2.734375 | 3 | using StoreModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StoreWebUI.Models
{
public class ItemVM
{
public int Id{ get; set; }
public double UnitPrice { get; set; }
public int ProductId { get; set; }
public int... |
4c433e4b4006f2083756a39efb86b175890d8f7b | C# | devin5885/CodingProblems | /CodingProblems/String_/Permutations/GetPermutations1NoDuplicatesByCharCompleteTests.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CodingProblems.String_.Permutations
{
/// <summary>
/// Tests GetPermutations
/// </summary>
[TestClass]
public class GetPermutations1NoDuplicatesByCharCompleteTests
{
/// <sum... |
df349486daab4ec19b6097a003fb58800b20b8e2 | C# | KilmornaKid/CinemaSYS | /SD_CinemaSYS_Stack_Kirean/CinemaSYS/CinemaSYS/frmScheduleScreening.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CinemaSYS
{
public partial class frmScheduleScreening : Form
{
Screening myScr... |
033e1ca10c2d98607406bca7875e295367648903 | C# | Kristen-Jaan/LOGITpe20-Week6Task | /Week6Task3/Program.cs | 3.515625 | 4 | using System;
using System.Reflection.PortableExecutable;
namespace Week6Task3
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Good Morning!");
Random rnd = new Random();
int[] array = new int[10];
for(int i = 0; i < array.... |
6c8fa2f014a2282e7cd4ac246105caddd8a4724e | C# | VelluVu/Backend_Exercises | /ASsignment2/Program.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
namespace ASsignment2
{
class Program
{
static void Main ( string [ ] args )
{
List<IPlayer> players = new List<IPlayer> ( );
List<IPlayer> PlayerForAnotherGames = new Lis... |
f643184bf2eb47b6c3f6e4c88fab740b713bb2f1 | C# | cysun/CS4540X19-CSharp | /LINQExamples/Company.cs | 3.40625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace LINQExamples
{
public class Employee
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public DateTime DateHired { get; set; }
public int?... |
13e59c6e7e4415f337b95d01a0966f27af3f16b4 | C# | AndreOikawa/Projects | /Side Projects/Sorting Algo/Sorting Algo/Program.cs | 3.390625 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sorting_Algo.Algorithms;
namespace Sorting_Algo
{
class Program
{
static void Main(string[] args)
{
List<Algorithm> algorithms = new List<Algorithm>();
algori... |
378571227e661df270624d0617531ba72208549b | C# | liangliang-wang/WidgetDemo | /CommonTools/FrameWork/DynamicBuilderEntity.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
namespace CommonTools.FrameWork
{
/// <summary>
/// 动态创建实体
/// </summary>
/// <typeparam name="T"></typeparam>
... |
1b866807083db47f30c0d8b263f2896375314b81 | C# | DDollerup/DecisionMaking | /DecisionMaking/Controllers/HomeController.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DecisionMaking.Controllers
{
public class HomeController : Controller
{
private int tal1 = 9;
private int tal2 = 30;
// GET: Home
public ActionResult Index()
... |
6c27f14518c670a85f40100f86372fd6d919eb95 | C# | llenroc/XamUBot | /src/Dialogs/Features/TeamDialog.cs | 2.625 | 3 | using System;
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using XamUApi;
using System.Collections.Generic;
using System.Linq;
using QnAMakerDialog;
using System.Threading;
namespace XamUBot.Dialogs
{
/// <summary>
/// Allows querying the XamU team.
/// Uses LUI... |
cf19b6303a262824af3c6532ba0c6e08c5be8419 | C# | vudoan1708-cyber/Online_Diary | /DailyDiary/Pages/DiaryContent/AddedContent.cshtml.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DailyDiary.Model;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Razor.Language;
using Microsoft.EntityFrameworkCore;
namespace DailyDiary.Pages.DiaryContent
{
... |
ce4ef84254772264d78eec8c4ed2a82c0fa6a36a | C# | Patypus/CsvAndXmlConverter | /CsvAndXmlConverter/Converters/XmlToCsvConverter.cs | 2.671875 | 3 | using CsvAndXmlConverter.Data;
using CsvAndXmlConverter.IO;
using CsvAndXmlConverter.Properties;
using CsvAndXmlConverter.Validator;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace CsvAndX... |
470c7b60ec7531e4f3313c3e37fb1168da7a623b | C# | kirill8000/.NET-2018-2 | /Bulygin_Kirill_Task01/Task2/Program.cs | 4.0625 | 4 | using System;
using System.Text;
namespace Task2
{
class Program
{
static int ReadPositiveInt()
{
int n;
string nstr = Console.ReadLine();
while (!Int32.TryParse(nstr, out n) || n <= 0)
{
Console.Write("Ошибка! Нужно ввести целое... |
df9f0a3ea80ae87fa27e7f9abd3b442c3edf1c5f | C# | leodeg/CSharp.DesignPatterns | /DesignPatterns/Patterns/StructuralPatterns/StartBridge.cs | 3.25 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Patterns.StructuralPatterns
{
public class StartBridge
{
}
#region First Example
public abstract class Shape
{
public LineStyle m_LineStyle;
public abstract void Draw ();
}
pub... |
e0b11c0827af5cd6d68993fa4e7763f8752f5f36 | C# | dd86k/fwod | /Game.cs | 2.8125 | 3 | using System;
/*
* Game mechanics.
*/
//TODO: PlayIntro() -- Intro scene, etc.
namespace fwod
{
class Game
{
#region Properties
public static byte CurrentFloor = 0;
#endregion
#region Statistics
public class Statistics
{
public static decimal
... |
5214fc9d53b5fba6772a426f5cb2ba95bac26e17 | C# | shendongnian/download4 | /code2/205351-13807929-33005127-2.cs | 2.765625 | 3 | static void Main (string[] args) {
TestOptional("A");
TestOptional("A", "B");
TestOptional("A", "{0}, {1} , {2}", "C1", "C2", "C3");
Console.ReadLine();
}
public static void TestOptional (string A, string B = null, params object[] C) {
... |
9a18c8cf2d1dbceb068ec0fc93ed368ecf99e3b0 | C# | CWKSC/MyLib_Csharp | /VisualStudioProject/MyLib_Csharp_Beta/Algorithm/Sort/Sort.cs | 3.453125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MyLib_Csharp_Beta.Algorithm
{
public static partial class Sort
{
public static List<T> SortTwoSortedList<T>(List<T> A, List<T> B) where T : IComparable
{
int aLength = A.Count;
... |
6c68caf4f219c72fe505d98d92b95d18351a97a2 | C# | hoang2802/QuanLyNhanSu | /QuanLyNhanSu/ActorDAL/PhongBanDAL.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QuanLyNhanSu.Models;
namespace QuanLyNhanSu.ActorDAL
{
class PhongBanDAL
{
DataConnection dc;
SqlDataAdapter da;
Sql... |
813fc41c2e1158db45adc0d7bb7e8217f98095ef | C# | vviital/Project-5-semester | /ConsoleSmartHouse/ConsoleSmartHouse/DataReaders/DataReader.cs | 3.0625 | 3 | using System.IO;
using System.Linq;
using ConsoleSmartHouse.DataReaders;
namespace ConsoleSmartHouse.DataReaders
{
class DataReader
{
private StreamReader streamReader;
public DataReader(string fileName)
{
streamReader = new StreamReader(fileName);
}
public... |
e781d9e6fd8bf562a305c609899bda1b820b9dc3 | C# | photo-bro/LeetCode | /LeetCode.Tests/Medium/BinaryTreeLevelOrderTraversal_102_Tests.cs | 2.8125 | 3 | using System;
using System.Linq;
using LeetCode.Solutions.Helper;
using Xunit;
using static LeetCode.Solutions.Medium.BinaryTreeLevelOrderTraversal_102;
namespace LeetCode.Tests.Medium
{
public class BinaryTreeLevelOrderTraversal_102_Tests
{
[Theory]
[InlineData("1","1")]
[InlineData(... |
0ea4f221c3ecd4592ecbd97fbd2bc93faee0a13b | C# | Fhernd/RecetasMultithreadingCSharp | /Ch05-UsingCSharp5Dot0/R0501/TPLvsAwait.cs | 3.5 | 4 | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Ch05_UsingCSharp5Dot0.R0501
{
/// <summary>
/// Clase para demostración de ejecución con TPL y await.
/// </summary>
public class TplVsAwait
{
/// <summary>
/// Ejecuta las demostraciones de ejecuciones c... |
74bc88a841d228fc2fe7a35aa4a567462879fb28 | C# | mayapeneva/Data-Structures | /EXAMS/2016.05.22/Problem-2-PitFortress/PitFortressTests/Performance/PerformanceAddMinion.cs | 2.578125 | 3 | using System;
using System.Linq;
namespace PitFortressTests.Performance
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics;
using System.IO;
[TestClass]
public class PerformanceAddMinion : BaseTestClass
{
[TestCategory("Performance")]
[TestMethod]
... |
cc8ee605c9624698284ab81910109576a80cea7e | C# | ArtiDandge/FundooNotesApp | /FundooModels/ResetPasswordModel.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace FundooModels
{
public class ResetPasswordModel
{
[RegularExpression("[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9... |
8192b651476dfa0ccc6f0931d6dd0cc5b5269ee0 | C# | dineshjethoe/AllowBypassKey | /WPF/MainWindow.xaml.cs | 2.5625 | 3 | using Microsoft.Office.Interop.Access.Dao;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Windows;
namespace WPF
{
/// <summary>
/// Interaction logic for MainWindow.x... |
fdf656c8f7bd0e6dd0e738ee1e586936b5211dce | C# | maziesmith/DiplomadoWebBackEnd | /DiplomadoWebBackEnd/Clase1/Herencia/Vehiculo.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiplomadoWebBackEnd.Clase1.Herencia
{
class Vehiculo
{
// forma implicita de get y set
public string Color { get; set; }
public string Marca { get; set; }
... |
3a4f6af3e4decdcb62c2ad6ef6ea2fcd16502db0 | C# | snbbgyth/WorkFlowEngine | /WorkFlowEngine/Nhibernate/Transform/ToListResultTransformer.cs | 2.765625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
namespace NHibernate.Transform
{
/// <summary>
/// Tranforms each result row from a tuple into a <see cref="IList"/>, such that what
/// you end up with is a <see cref="IList"/> of <see cref="IList"/>.
/// </summary>
[Serializable]
public... |
1142faf4c1744205540acaa405c96e0950e64cb3 | C# | ruinosus/projetopcs | /ProjetoPCS/ClassesBasicas/Pessoa.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ClassesBasicas
{
public class Pessoa
{
private int codigo;
public int Codigo
{
get { return codigo; }
set { codigo = value; }
}
priva... |
c8f4b510985e64a4cf5ad24b56937467d03fdc8c | C# | Sounour/uni-ER | /ER_Framework/WorldDisplay/MainWindow.xaml.cs | 2.734375 | 3 | using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
using System.Windows.Shapes;
using de.sounour.uni.er;
using WorldDisplay.ViewModel;
namespace WorldDisplay
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow
... |
e79a627f8bf537fd2d4f44633401190979bce0a2 | C# | batbuild/duality | /UnitTesting/DualityTests/Utility/RawListTest.cs | 2.796875 | 3 | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Duality;
using NUnit.Framework;
namespace Duality.Tests.Utility
{
[TestFixture]
public class RawListTest
{
[Test] public void Basics()
{
RawList<int> intList = new RawList<int>();
intList.Add(10);
intList.Add... |
08929dfa2df5da8b236513654cef7af988182576 | C# | iorilan/EmguObjDetection | /FFImgProducer/MediaHelper.cs | 2.546875 | 3 | using System;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Net.Mime;
using System.Windows.Forms;
namespace FFImgProducer
{
public class MediaHelper
{
public static string FFmpegImgfolder()
{
var ffPath = ConfigurationManager.AppSettings["ffmpegFolder... |
3e220ff3e9fe0310ae240e2b2a463510009f1e2a | C# | Derembas/IrbisDoors | /Калькулятор/ViewModels/Order/Order.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Windows;
using System.Windows.Input;
namespace Calculator
{
// Класс "Заказ" сод... |
f5abba1b53d680549339e83f307d4a1e17813399 | C# | amichaivaknin/lab2 | /lab2/HelloPerson/Program.cs | 3.953125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloPerson
{
class Program
{
static void Main(string[] args)
{
int spaces = 0;
//The convention is to use the 'bool' alias of 'B... |
3bf9f2907791de3faa307205e983958f6a944ec9 | C# | jeremyyang824/Leetcode | /Leetcode.Test/OJ040_CombinationSumIITest.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using Leetcode.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Leetcode.Test
{
[TestClass]
public class OJ040_CombinationSumIITest
{
[TestMethod]
public void OJ040_CombinationSumIITest1()
{
IList<IList<... |
2d984746d41409dd9aacf76f491d0a17cdb21fed | C# | gabrieldwight/ConsoleTest | /Console.DB/Class1.cs | 2.734375 | 3 | using System;
using System.Data.SqlClient;
namespace Console.DB
{
public class Class1 : IDataInterface
{
private SqlConnection cnn;
// you can instatiate the connection in the class constructor (optional)
public Class1()
{
}
// Implemetation of the database CRU... |