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 |
|---|---|---|---|---|---|---|
1441fb1c23c1ca469644bad0819f3faf4de005e4 | C# | creatorQuen/db_LocalDataBase_CRUD | /SandreyPersonBase/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;
using System.Data.SqlClient; // Добавляем пространство имен.
namespace SandreyPerson... |
a5f1f817ab61eb0ca09a9915f1bf8f623f4a6347 | C# | bobkataelittt/first-repo1 | /zad 2.cs | 3.546875 | 4 | using System;
namespace zad_2
{
class Program
{
static void Main(string[] args)
{
Dictionary<string, string> phonebook = new Dictionary<string, string>();
while (true)
{
var input = Console.ReadLine().Split(' ');
... |
dfc56e1287b664c3c27661314fc5d98b279200ec | C# | weedkiller/entra21-matutino-2019-tcc | /Repository/Repositories/CategoriaRepository.cs | 3.015625 | 3 | using Model;
using Repository.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repository.Repositories
{
public class CategoriaRepository : ICategoriaRepository
{
private SystemContext context;
public Categ... |
a1784a59ec399a940aa98bf6346c6a0f0fdea9ae | C# | neuhauser/perseus-plugins | /PluginMzTab/Lib/Model/MZTabFile.cs | 2.84375 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
namespace PluginMzTab.Lib.Model{
/**
* In the jmzTab core model, the MZTabFile class is the central entry point to manage the internal relationships
* among the different sect... |
8fb5b670452dc7f11302eaab5d992fc3186e6c8e | C# | SMarshall08/OSFOLCrossPlatform | /OSFOLCrossPlatform/OSFOLCrossPlatform/Pages/AddExpenseCS.cs | 2.609375 | 3 | using System;
using Xamarin.Forms;
using OSFOLCrossPlatform.Model;
using OSFOLCrossPlatform.Views;
using System.Diagnostics;
namespace OSFOLCrossPlatform.Pages
{
class AddExpenseCS : ContentPage
{
public AddExpenseCS()
{
ListView customerListView;
var LogoutItem = new ... |
c14051e472fbd83f388e84837d78b58960d7998d | C# | VictorTFeng/UIProject | /UIProject/TelerikUI/OrderServices/OrderService.cs | 2.90625 | 3 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TelerikUI.Models;
using TelerikUI.Repository;
namespace TelerikUI.OrderServices
{
public class OrderService : IOrder
{
private ApplicationDbContext _context;
... |
c9e95376c69987eb70121a02c7404e885d3b6a43 | C# | JamesMenetrey/Matrix.NET | /tests/MatrixUnitTests/Operations/MatrixMultiplicationTests.cs | 3.09375 | 3 | using System;
using Binarysharp.Maths;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Binarysharp.Tests.Operations
{
[TestClass]
public class MatrixMultiplicationTests
{
[TestMethod]
public void Multiply2X2And2X3()
{
// Arrange
var left = new ... |
6264e3c46cba59bfdb608809e5d493315f2ceb81 | C# | RosenUrkov/TelerikAcademyHomeworks | /C# OOP/DefiningClasses - Part2/GenericClass/MainClass.cs | 3.703125 | 4 | namespace GenericClass
{
using System;
using System.Collections.Generic;
public class MainClass
{
public static void Main(string[] args)
{
//Here i review some of the implementations
var list = new List<int>(4);
var genericList = new GenericList<int>(... |
7b39097b4b71ed2a72c2f5c00765f890fff71d37 | C# | shendongnian/download4 | /first_version_download2/246619-19535376-49893912-1.cs | 3.390625 | 3 | //You have to pass a double value into the method, because there is only one method
//and wants a double paramater:
//this is what you created:
public double getDeposit(double amount) // <-
{
double transactionAmt = 0.00;
if (amount > 0)
{
balance += amount;
... |
be9654d70947ad4c9dab175daa6f9b33a66a7c85 | C# | Orlokun/TruCounter | /Assets/Scripts/SaveSystem.cs | 2.84375 | 3 | using UnityEngine;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
public static class SaveSystem
{
public static void FormatAndSaveShameData(ShameManager sManager)
{
BinaryFormatter bFormatter = new BinaryFormatter();
string path = Application.persistentDataPath + "/sha... |
4e597092af9ff6220f9574fc19dbc00543eee886 | C# | kszam/hashcode-pizza | /Pizza.cs | 3.1875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
namespace Pizza_Slicing
{
class Pizza
{
public int rows;
public int columns;
public int minIng;
public int maxCPS;
public string outputFileRoot = "";
public int solutionNo;
in... |
d27aae0d25987a441818fdce42c97c14e0bb1aa0 | C# | GrumpyBusted/Grumpy.RipplesMQ.Server | /Grumpy.RipplesMQ.Core/Infrastructure/IMessageStateRepository.cs | 2.609375 | 3 | using System.Collections.Generic;
using Grumpy.RipplesMQ.Entity;
namespace Grumpy.RipplesMQ.Core.Infrastructure
{
/// <summary>
/// Message/Subscriber State Repository
/// </summary>
public interface IMessageStateRepository
{
/// <summary>
/// Insert new State for Message/Subscribe... |
6c8c227edb131375c6473992182b5ded7b79877b | C# | pedromsilvapt/miei-storage-system-backend | /foodss-backend/Controllers/DTO/StorageProductItemDTO.cs | 2.625 | 3 | using System;
using StorageSystem.Models;
using System.ComponentModel.DataAnnotations;
namespace StorageSystem.Controllers.DTO
{
public class ProductItemInputDTO
{
public bool Shared { get; set; }
public DateTime ExpiryDate { get; set; }
[Range(1, int.MaxValue)]
public int? Qu... |
1b5eb28f15c091d7b774d016692fcb82ad648231 | C# | lyudoGO/SoftUni | /DataBaseApplications/06-XML/6.2.XMLProcessingInDotNet/01.MusicalAlbumsXMLFormat/Program.cs | 3.25 | 3 | // Problem 1. Catalog of Musical Albums in XML Format
// Create a XML file catalog.xml representing a catalog of musical albums.
// For each album you should define name, artist, year, producer, price and a list of songs.
// Each song should be described by title and duration.
// Hint: You can take sample data from ... |
c6f1e6a27f47001f211582a21d6fed95a2ad9374 | C# | evolvedmicrobe/cafe-quality | /src/PacBio.Consensus/GenerateMutations.cs | 2.59375 | 3 | #region Copyright (c) 2010, Pacific Biosciences of California, Inc.
//
// All rights reserved.
//
// THIS SOFTWARE CONSTITUTES AND EMBODIES PACIFIC BIOSCIENCES’ CONFIDENTIAL
// AND PROPRIETARY INFORMATION.
//
// Disclosure, redistribution and use of this software is subject to the
// terms and conditions of the applic... |
6206b76bcfb1b5f0f72ec7e9dbe19fa53a16ab7d | C# | luispedrovieira30/LI4 | /WWB/DataAccess/UserDAO.cs | 3 | 3 | using System;
using Microsoft.AspNetCore.Mvc;
using System.Data.SqlClient;
using WorldWideBasketball.Models;
namespace WorldWideBasketball.DataAccess
{
public class UserDAO
{
private Connection connection = new Connection();
public bool isValid(Account account)
{
this.connectio... |
ebf9ef72de5da422a7fecabf5f2ec38c8a28cbfe | C# | LeonardoLDSZ/Entra21-WindowsForms | /Academia/Academia/Dominio/Modalidade.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Academia.Dominio
{
class Modalidade
{
}
}
//public class Modalidade : IMensalidade
//{
// public string Nome { get; set; }
// public Professor Professor { get; set; }
// public int VezesSemana { get; set; }
// publi... |
d8cf0493cf122ccb3cae3a712aa7d2c5b37a336b | C# | iambenjamin-developer/autocor | /autocorapi/AutocorApi/AutocorApi.Servicios/Email/Implementation/EnviadorEmail.cs | 2.53125 | 3 | using System;
using System.Net;
using System.Net.Mail;
using System.Text;
namespace AutocorApi.Servicios.Email.Implementation
{
public class EnviadorEmail : IEnviadorEmail
{
private IConfiguracionEmail configuracion;
public EnviadorEmail(IConfiguracionEmail configuracion)
{
... |
84230e82e777698b55070b6f48641c3646c1a12c | C# | nikolabojovic97/InstaBazaar | /InstaBazaar/InstaBazaar.Data/Data/Repository/InstagramAccountRepository.cs | 2.765625 | 3 | using InstaBazaar.Data.Data.Repository.IRepository;
using InstaBazaar.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InstaBazaar.Data.Data.Repository
{
public class InstagramAccountRepositor... |
227d8ea66ee0c7151a44503b1019e823c333f0ef | C# | Vytur/Caesar_cipher | /Caesar_cipher.UnitTests/DecryptionTests.cs | 2.9375 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Caesar_cipher.UnitTests
{
[TestClass]
public class DecryptionTests
{
[TestMethod]
public void Decryption_WithOneWord_CorrectEncryption()
{
string PlainText = "effe";
int key = 4;
strin... |
7b365d6a0e40836e39b5e1aec537298a10bf28e9 | C# | roeyskoe/Jypeli | /Jypeli/Storage/FileManager/Directories.cs | 3.1875 | 3 | using System.Collections.Generic;
namespace Jypeli
{
public partial class FileManager
{
private Stack<string> prevDirs = new Stack<string>();
protected string _currentDir;
/// <summary>
/// Nykyinen tyhakemisto.
/// </summary>
public string CurrentDirectory
... |
87d91bf702fffcb6b78de7751926a3fa1fe28e76 | C# | thiagovas/Net3s | /Net3Services/Models/Notificacao.cs | 2.78125 | 3 | using System;
using MongoDB;
namespace Models
{
//Se mudar alguma coisa neste enum, lembre-se de mudar nos metodos de montar objeto e documento na classe ClsNotificacaoDAL.
//Cria um elemento enum TipoNotificacao pra controlar o tipo da notificação. O tipo da notificação informa a classe de cadastro a
... |
fdcb939843fc53addfab099d20a4560a64e7a102 | C# | svatasoiu/OptionSimulator | /OptionSimulator/HestonModel.cs | 2.71875 | 3 | using MathNet.Numerics.LinearAlgebra;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OptionSimulator
{
class HestonModel : IStock_Simulator
{
public bool simulate_stock(Collection<Stock... |
d9421e3fb624427da7a0e51d4d5d17cfe6f73768 | C# | JohannesDeWet/Military-Flight-Simulator | /PRG282_Project_LijaniVWDV_JohannesDW/PRG282_Project_LijaniVWDV_JohannesDW/DataHandlers/TextFileDataHandler.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Windows.Forms;
namespace PRG282_Project_LijaniVWDV_JohannesDW.DataHandlers
{
class TextFileDataHandler
{
private string filepath = @"Resources\TextFiles\Mis... |
bc6e10bdcd3546e8bb7e451461e535fee8c96a04 | C# | khalid19/MvcApplication | /MVCTest/MVCTest/Controllers/PersonController.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MVCTest.DAL;
namespace MVCTest.Controllers
{
public class PersonController : Controller
{
//
// GET: /Person/
public ActionResult Index()
{
return View()... |
6118e94519d74e6222bc127dd51c1b5dbb046cf6 | C# | azulengine/AzulEngine | /GameEngine/SpriteEngine/SpriteLayer.cs | 2.84375 | 3 | //<AzulEngine - Game engine for monogame>
//Copyright (C) <2013>
//This program is free software: you can redistribute it and/or modify
//it under the terms of the GNU General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your option) any later version.
//Th... |
d8b9826a42de560cbae47a597de5331afc489549 | C# | benjaminsampica/designpatterns | /src/DecoratorPattern/Tests/MochaTests.cs | 2.828125 | 3 | using DecoratorPattern.Components;
using DecoratorPattern.Decorators;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DecoratorPattern.Tests
{
[TestClass]
public class MochaTests
{
private MochaDecorator _decorator;
[TestInitialize]
public void Initialize()
{... |
04d5996e655ffb19d5e92347e7355776faa21040 | C# | dmitrykarpenko/TeamManager | /TeamManager.DataLayer/Concrete/EFUnitOfWork.cs | 2.90625 | 3 | using TeamManager.DataLayer.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeamManager.Model.Entities;
using System.Collections.Concurrent;
namespace TeamManager.DataLayer.Concrete
{
public class EFUnitOfWork : IUnitOfWork
{
... |
24e2c2f2e210e9b423b589fe32c18307e2fd5f1c | C# | kalatchev/Celestial.UIToolkit | /src/Celestial.UIToolkit.Core.Tests/Converters/MathOperationConverterTests.cs | 2.84375 | 3 | using Celestial.UIToolkit.Converters;
using System;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
using Xunit;
namespace Celestial.UIToolkit.Tests.Converters
{
public class MathOperationConverterTests
{
[Fact]
public void ConvertsValues()
{
var... |
9defc73786b50225d78974706ef80e5e8554e48b | C# | kevinzogg/TournamentOrganizer | /TournamentOrganizer/services/TeamManagement.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TournamentOrganizer.domain;
namespace TournamentOrganizer.services
{
class TeamManagement
{
public IList<Team> CreateRandomTeams(IList<Player> players)
{
... |
e7b2634625e3e60113306d6dfee64ade32dced16 | C# | zyxyuanxiao/GameCompanyTechnicalCode | /GameClient/Framework/Assets/ThirdPartyLibraries/LogSystem/GCTools.cs | 2.65625 | 3 | using System;
using System.Threading;
namespace LogSystem
{
/// <summary>
/// 取自 <<NET CLR via C#>> 第 21 章托管堆和垃圾回收,垃圾回收触发条件
/// </summary>
public static class GCTools
{
//通知运行时在安排垃圾回收时应考虑分配大量的非托管内存。
//GC.AddMemoryPressure(10*1024*1024);//分配 10MB 非托管内存
//GC.RemoveMemoryPressu... |
d9da305ff6c3bcdc79bae338617dd65aaf5c4510 | C# | Hydrofluoric0/Stump | /src/Stump.DofusProtocol.Types/Types/Game/Context/EntityMovementInformations.cs | 2.5625 | 3 | namespace Stump.DofusProtocol.Types
{
using System;
using System.Linq;
using System.Text;
using Stump.DofusProtocol.Types;
using System.Collections.Generic;
using Stump.Core.IO;
[Serializable]
public class EntityMovementInformations
{
public const short Id = 63;
pu... |
a724715c3cb13cef6eaaf9544caca24bb66a3840 | C# | ACHERIFB/ExcerciceCSHARP | /AnalyseMot/Program.cs | 3.34375 | 3 | //Etape 1 :
//• Dans la fonction Main(), faire saisir un mot à l’utilisateur.On ne fera pas de vérification du mot saisi ; on s’attend à ce qu’il ne comporte que des lettres.
//• Créer une fonction CompterLettres (vide pour l’instant) qui prend en entrée un mot, et renvoie les nombres de lettres, de voyelles et de co... |
22274a9806b256f9e88872e0afe48cacdb2052dc | C# | christian-vigh/sharpthrak | /Sources/Windows/WinAPI/DLL/Kernel32/G/GlobalAlloc.cs | 2.515625 | 3 | /**************************************************************************************************************
NAME
WinAPI/User32/G/GlobalAlloc.cs
DESCRIPTION
GlobalAlloc() Windows function.
AUTHOR
Christian Vigh, 08/2012.
HISTORY
[Version : 1.0] [Date : ... |
c69bfd295a9bffdabeb277baf18ae60c690dcac2 | C# | michelbelotti/Detector_Autistico | /Assets/Scripts/timer.cs | 2.5625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class timer : MonoBehaviour {
public Text timerText;
public bool debug = false;
private float timerCount = 0;
// Use this for initialization
void Start () {
if(!debug)
{
t... |
06c84d589ca3d17d905cef2a6b32e6a9b6679a5b | C# | berkansasmaz/oop-order-automation | /deneme2/YetkiliFirma.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SiparisOtomasyonu
{
public class YetkiliFirma
{
//
public Siparis Siparisler { get; set; }
public int YetkiliID { get; set; }
... |
abad021a2f3fa3d4ba199529e87935e838591e9e | C# | dczychon/KlausPeterDiscordBot | /src/DiscordBot.Util/Commands/Attributes/CommandVerbAttribute.cs | 3.34375 | 3 | using System;
namespace DiscordBot.Util.Commands.Attributes
{
/// <summary>
/// Defines a command verb for a class, that implements the <see cref="ICommand"/> interface
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class CommandVerbAttribute : Attribute
... |
56cff92a42f50998288ca56813e41fa5e78d904b | C# | nmatanski/simple-csharp-compiler-default | /SimpleCSharpCompiler/SimpleCSharpCompiler/TableSymbols/LocalVarSymbol.cs | 2.796875 | 3 | using System.Reflection;
using System.Text;
using SimpleCSharpCompiler.Tokens;
namespace SimpleCSharpCompiler.TableSymbols
{
public class LocalVarSymbol: TableSymbol
{
public LocalVariableInfo LocalVariableInfo { get; set; }
public LocalVarSymbol(IdentToken token, LocalVariableInfo localVariableInfo): base(to... |
098d093f5589a37be62ada49dd2b34ca8eab70b1 | C# | AArnott/MessagePack-CSharp | /src/MessagePack.UnityClient/Assets/Scripts/Tests/Shims/XUnit.cs | 2.625 | 3 | // Xunit to NUnit bridge.
using NUnit.Framework;
using System.Linq;
using System.Collections.Generic;
using System;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace Xunit
{
public class FactAttribute : NUnit.Framework.TestAttribute
{
public string Skip { get; set; }
}
... |
37591800c1821bf6a0e93c32f56cd47ac0369ec2 | C# | shendongnian/download4 | /code1/121356-2081298-4194883-2.cs | 2.671875 | 3 | class SomeType {
private int length;
public int Length {
get { return length; }
protected set { length = value; }
}
}
|
959dda39a1da7a09d4b4148dc29e2ee517878cf1 | C# | carlosrevespt/Exercism | /csharp/side exercises/armstrong-numbers/ArmstrongNumbers.cs | 3.90625 | 4 | using System;
public static class ArmstrongNumbers
{
public static bool IsArmstrongNumber(int number)
{
if (number < 10)
return true;
int digits = NumOfDigits(number);
int numbertoCheck = number;
int sumPowers = 0;
for (int i = 0; i < digits; i++)
... |
fb9249e9d5067d8e1cda63dd3feea3d3e52e83ee | C# | paul-gilbertson/libtcod-net | /libtcod-net/Line.cs | 2.90625 | 3 | using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace libtcod
{
public static class Line
{
[DllImport (Constants.LibraryName)]
private extern static void TCOD_line_init (int xFrom, int yFrom, int xTo, int yTo);
public static void Setup (Point from, Point to)
{
TCOD_line_init ... |
1bfe4f4c0fb17e638448f62ad0032d024ebd17ad | C# | prashant2611/C-Sharp | /Advance/Interface/Interface/Shape/Libraries/Concreate_Class.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Interface.Libraries
{
public class Concreate_Class
{
public double sidelength { get; set; }
public Concreate_Class(double side)
{
sidelength = side;
}
public virtual double Area()
... |
2eef1ed816c41aecf33906a20879b7f0a29774e1 | C# | DrJohnMelville/Melville | /src/Melville.Linq.Statistics/HypothesisTesting/TStatistic.cs | 2.9375 | 3 | using System;
using Accord.Statistics.Distributions;
using Accord.Statistics.Distributions.Univariate;
namespace Melville.Linq.Statistics.HypothesisTesting
{
public class Statistic
{
protected readonly IUnivariateDistribution Distribution;
protected readonly double innerValue;
public Statistic(IUnivari... |
9a4d9d4e9d5ec585c8b90a19fe67f8d1d0fdbdc5 | C# | pegovsi/pegov.nasvyazi-api | /Pegov.Nasvyazi.Domains/Entities/Groups/Group.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using Pegov.Nasvyazi.Domains.Common;
using Pegov.Nasvyazi.Domains.Entities.Accounts;
using Pegov.Nasvyazi.Domains.Entities.Chats;
using Pegov.Nasvyazi.Domains.Enumerations;
namespace Pegov.Nasvyazi.Domains.Entities.Groups
{
public class Group : Entity
{
p... |
e04f5fe237bb56b60f7c9f49d662cec66d5c5a5d | C# | SkillsFundingAgency/das-providerpayments | /src/AcceptanceTesting/SpecByExample/SFA.DAS.Payments.AcceptanceTests/Assertions/ProviderPaymentsAssertions.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using SFA.DAS.Payments.AcceptanceTests.Contexts;
using SFA.DAS.Payments.AcceptanceTests.TableParsers;
namespace SFA.DAS.Payments.AcceptanceTests.Assertions
{
static class ProviderPaymentsAssertions
{
public static void AssertEasPayment... |
ebc494599ee99a88607ecffbcc6cf0e1ee053ffa | C# | xingx001/SiS.Communcation | /src/SiS.Communication/Business/ModelMessageConvert.cs | 3.109375 | 3 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace SiS.Communication.Business
{
/// <summary>
/// Provides convert methods between GeneralMessage and model.
/// </summary>
public abstract class Mo... |
338519d217f8de83eaa0d622e83ba2492bd4653a | C# | estiam/CSharp_Pokemon_MVVM | /PokemonMVVM/DAL/PokemonAPIDAL.cs | 2.859375 | 3 | using Newtonsoft.Json;
using PokemonMVVM.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace PokemonMVVM.DAL
{
public static class PokemonAPIDAL
{
const string POKEMON_API_URL = "https://pokeapi.co/api/... |
3f1b6a0462ce4c9537e1b6bbbdbe59e00c30ed8e | C# | spsei-programming/OOP-Examples | /DirStats/DirStats/Extensions/DateTimeExtensions.cs | 3.1875 | 3 | using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DirStats.Extensions
{
public class Calculator
{
public delegate double Operation(double x, double y);
public static double Add(double x, do... |
d10a1d7f99ec34074b5714d710b2b1661f5dcf94 | C# | Chieze-Franklin/Tril | /Tril.Attributes/AccessModifierAttribute.cs | 3.203125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tril.Attributes
{
/// <summary>
/// Represents an access modifier to be applied to a type
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Constructor |... |
eebf565d94841a5c19d3f2fb9ed41cd153da69db | C# | pr1zralll/MoleculsGame | /Molecule.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
// для работы с библиотекой OpenGL
using Tao.OpenGl;
// для работы с библиотекой FreeGLUT
using Tao.FreeGlut;
// для работы с элементом управления SimpleOpenGLControl
using Tao.P... |
7e1b288e9e06d9ce91aa26ea2ee8a503cecccb2d | C# | scot140/SideProj | /CloneProject/Assets/Resources/UI/GameBoard/Scripts/Board.cs | 2.765625 | 3 | using UnityEngine;
using System.Collections;
//THis is a standard board with rows and columns that have no missing tiles
public class Board : MonoBehaviour
{
public Tile[] m_TileList;
public int Width;
public int Height;
// Use this for initialization
void Start()
{
TileConnection();... |
34c512e5e7b9347c1a6ce11d0320142ee47c0a68 | C# | Nicklas-Eriksson/ConsoleGameFirstC-Course | /Items/PowerUp.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
namespace Labb3.Items
{
[Serializable]
public class PowerUp : AbstractItem
{
private int goldCost;
public int GoldCost { get => goldCost; set => goldCost = value; }
public static PowerUp powerUp = new PowerUp();
public stati... |
90161f330b014dfee10fcc96310341be3b8d9a82 | C# | JohnAgarwal57/Telerik | /C# Part2/Homeworks/01. Arrays/MaximalSum/Program.cs | 3.640625 | 4 | /*Write a program that finds the sequence of maximal sum in given array. Example:
{2, 3, -6, -1, 2, -1, 6, 4, -8, 8} {2, -1, 6, 4}
Can you do it with only one loop (with single scan through the elements of the array)?
*/
using System;
class Program
{
static void Main()
{
Console.Write("Inp... |
f7944dd33a3a3b3ca8d1a21750905ba790941968 | C# | Neophear/CountDownSimple | /CountDownSimple/Form1.cs | 2.75 | 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 CountDownSimple
{
public partial class Form1 : Form
{
public Settings settings... |
f8599f70cf106f7680da6b76ace1592f34ae6a66 | C# | HildeDeGraeve/sbmcourse | /SbmCourseSolution/MyApplication.DomainModel/DeliveryAggregate/Delivery.cs | 2.609375 | 3 | using MySoftwareCompany.DDD;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace MyApplication.DomainModel.DeliveryAggregate
{
public class Delivery : BaseEntity
{
public string ForCustomerId { get; set; }
public string AtDeliveryAddressId { get; set... |
878757e384d88e7bbfbd9ca70aaf52675ff456a0 | C# | Growney/GWareBase | /GWareBase/Gware.Common/XML/XmlResultSet.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace Gware.Common.XML
{
public class XmlResultSet
{
private Dictionary<string, string> m_dataNodes;
private List<XmlRowSet> m_row... |
a8f5710a3a2f795106f10cf39706537a97f175ff | C# | gerenciaSoltic/CenturionDoc | /gestion_documental/DataAccessLayer/TipocomManagement.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using gestion_documental.Utils;
using gestion_documental.BusinessObjects;
using MySql.Data.MySqlClient;
using System.Data;
namespace gestion_documental.DataAccessLayer
{
public class TipocomManagement : ConnectionClass
{
... |
4161d6393da53018386171f041506d92b9cbbc70 | C# | ianwisely/BookStore | /BookStore/Services/SubClasses/Orders/PriceDeductionDiscount.cs | 2.71875 | 3 | using BookStore.Models;
using BookStore.Repository;
using BookStore.Repository.Repositories;
using BookStore.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookStore.Services.SubClasses.Orders
{
public class PriceDeductionDiscount : IOrderDiscou... |
f93d035e97b2498c65bb9c7c2f9480144f2cd57f | C# | shendongnian/download4 | /first_version_download2/407564-35584757-111574382-2.cs | 2.828125 | 3 | static void Main(string[] args)
{
string s;
Console.WriteLine("Hogy hívnak?");
s = Console.ReadLine();
if (s == "Zsolt")
Console.WriteLine("You are a mean guy :(((");
else Console.WriteLine("You are a nice guy! :)))))");
Console.ReadLine();
}
|
f21707a21127606ef02f8c0cc1c7588c4be84312 | C# | zhou1993yu/CSharpGL | /CSharpGL3/0Foundations/OpenGLObjects/GLBuffers/VertexBuffers/IndexBuffers(IBO)/ZeroIndexBuffer.cs | 2.828125 | 3 | using System;
namespace CSharpGL
{
// 没有显式索引时的渲染方法。
/// <summary>
/// Wraps glDrawArrays(uint mode, int first, int VertexCount).
/// </summary>
public sealed partial class ZeroIndexBuffer : IndexBuffer
{
private static OpenGL.glDrawArraysInstanced glDrawArraysInstanced;
/// <s... |
b7de35ac9937bec07388085a84b4f834782851ba | C# | shendongnian/download4 | /first_version_download2/522828-48445431-165447057-4.cs | 2.796875 | 3 | public class MyClass
{
public string MyString { get; set; }
public MyClass(string someString) { this.MyString = someString; }
}
|
d30a069e41b78e6636f35d168c22ee9ecddaeed0 | C# | borondy/ExamPrep_70-483 | /ExamPrep/1.1.3.4/Program.cs | 3.140625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _1._1._3._4
{
class Program
{
static void Main(string[] args)
{
var loopResult=Parallel.For(0, 100, (i, state) =>
{
if (... |
7e97be4d771b39bd185c24f9a82130032c80a41e | C# | fllencina/ejercicio | /Ejercicio 40/CentralTelefonica/Llamada.cs | 3.265625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CentralTelefonica
{
public abstract class Llamada
{
//Enumerados
public enum TipoLlamada
{
Local,
Provincial,
... |
e879c9229827a0a29096797494167a48cb40e0c9 | C# | abelclopes/curso-dotnet-tdd | /src/domain/Models/Post.cs | 3.046875 | 3 | using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace domain.Models
{
public class Post : BaseEntity
{
public Post(string title, string description, string author, DateTime datePublish, string image, Category category)
{
if (string.IsNull... |
ab54cedee2707b70cae467bd27f0007afbd8ec3e | C# | natkinnetdev/VetDirectoryTest | /WebApplication2/Repositories/ProductRepositoryDoc.cs | 2.75 | 3 | using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApplication2.Entities;
using WebApplication2.Repositories.Interfaces;
using EFCore.BulkExtensions;
namespace WebApplication2.Repositories
{
public class ProductRepositoryDo... |
f85b878050a4f78fa66851dbd1f472156050bfc3 | C# | imjoy/watermarking | /Watermark/Watermark/control/svd_operation.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Double;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNet.Numerics.IntegralTransforms;
using System.Drawing;
na... |
3770b2267f69fc2fce72e6e220174cd0d15cb11a | C# | AlexeyJKoshkin/Dimon_Diplom | /Assets/Scripts/[Core]/Extensions/SEExtensions.cs | 2.9375 | 3 | using System;
using System.Collections.Generic;
using UnityEngine;
namespace ShutEye.Extensions
{
public static class SEExtensions
{
public static T GetOrAddComponent<T>(this Component component) where T : Component
{
return component.GetComponent<T>() ?? component.gameObject.AddCom... |
7a3593f61500c5b9f87dcebb6a1458c2030b8d34 | C# | Wagsn/DotNET-WS | /WS.Music/Stores/SongStore.cs | 2.765625 | 3 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using WS.Core.Stores;
using WS.Music.Models;
namespace WS.Music.Stores
{
/// <summary>
/// 歌曲存储,写一些特殊的数据库存取... |
cf3ad3375318083f5508f4bd0564b420969b3a83 | C# | nickarthur/Unity-Basic-GRPC | /Assets/Scripts/RouteGuideUnityClient.cs | 2.609375 | 3 | //#define DEBUG
using System;
using System.Collections;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Grpc.Core;
using Routeguide;
using TMPro;
using UnityEngine;
public class RouteGuideUnityClient
{
private readonly RouteGuide.RouteGuideClient _client;
private readonly Chann... |
6319b575709fc467b1c9f1552a1a65510d4f6fdb | C# | rdamm/Columbia583 | /Columbia583/Data_Access_Layer/Data_Access_Layer_View_Trail.cs | 2.71875 | 3 | using System;
namespace Columbia583
{
/// <summary>
/// View trail data access layer will control all requests relating to the view trail page.
/// </summary>
public class Data_Access_Layer_View_Trail
{
public Data_Access_Layer_View_Trail ()
{
}
/// <summary>
/// Gets the trail.
/// </summary>
/... |
99677e84d6d35b83240fd3cddede4418eff284ba | C# | everas7/library-api | /LibraryAPI/App_Start/WebApiConfig.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace LibraryAPI
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
/* Requerimiento 4: Hacer uso de friendly routes*/
// Web API conf... |
874a7e31993f3785fdd3157b2961bdfed09ddb0a | C# | JulianZ90/GDD2014C2 | /FrbaHotel/Regimen.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FrbaHotel
{
public class Regimen
{
public int id { get; set; }
public decimal precio_base { get; set; }
public string descripcion { get; set; }
public bool estado { get; set; }
... |
0304b5054edfabfdf651aa99d4218660e47c0d79 | C# | diogocavassani/ExercicioPilaresOrientadaObjeto | /src/Cadastro.ConsoleApp/Program.cs | 2.578125 | 3 | using Cadastro.Models;
using System;
using System.Collections.Generic;
namespace Cadastro.ConsoleApp
{
class Program : Cliente
{
static void Main(string[] args)
{
#region Cliente1
var clienteUm = new Cliente();
var listaClienteUm = new List<string>() { "Prod... |
73d83a2acd0c2d14fe745bb04a0a8e0bb5e975b2 | C# | LorandSol/Character-Customisation | /Assets/Scripts/Item.cs | 3.109375 | 3 | //in this script you will only need using UnityEngine as we just need the script to connect to unity
using UnityEngine;
//this public class doent inherit from MonoBehaviour
//this script is also referenced by other scripts but never attached to anything
public class Item
{
//basic variables for items that we need... |
08768b131546bd30c7999711212dab7c4cfb7190 | C# | aunomvo/Project_Euler | /Problem001/Program.cs | 3.796875 | 4 | using System;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Problem001
{
/// <summary>
/// If we list all the natural numbers below 10 that are multiples of 3 or
/// 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
///
... |
c0f8b9a81118c54e1408175fdf8abb2c63ef61ca | C# | adriancheong/webserviceconsumer | /src/WebserviceConsumer/Controllers/HomeController.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.Net.Http;
using System.Net.Http.Headers;
using Microsoft.AspNetCore.Http;
using WebserviceConsumer.Model;
namespace WebserviceConsumer.Controllers
{
public class HomeContro... |
7a8ee1d79cc5c8b120a7fe8d32b3ac2ca0273cb9 | C# | ntk148v/testing | /dotnet/VNStock.Bak/VNStockLib/TCBSClient.cs | 2.546875 | 3 | using Microsoft.Extensions.Logging;
namespace VNStockLib;
public class TCBSClient : IDisposable
{
private readonly HttpClient _client;
private readonly ILogger<TCBSClient> _logger = null!;
public TCBSClient(HttpClient client, ILogger<TCBSClient> logger)
{
(_client, _logger) = (client, logger)... |
939446372c63996acf37d2bdea6953fc173b6209 | C# | brittkorycki/GoldBadgeChallenge | /KomodoGreenPlanTests/GreenPlanTests.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using KomodoGreenPlan;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace KomodoGreenPlanTests
{
[TestClass]
public class GreenPlanTests
{
CarRepository carRepo = new CarRepository();
[TestMethod]
public void TestM... |
fb61c31bca9a89a3ecf63063d7544fa6d527d952 | C# | mjgomesvix/secure-privacy-task1 | /Support/Extensions/EnumerableExtension.cs | 3.1875 | 3 | using System.Collections.Generic;
using System.Linq;
namespace Support.Extensions
{
public static class EnumerableExtension
{
public static bool IsNullOrEmpty<T>(this IEnumerable<T> enumerable) => enumerable?.Any() != true;
public static IEnumerable<T> Pagination<T>(this IEnumerable<T> enumer... |
c2e3894c607f3360a9ec7f2cad8ff8f7ffc5a12d | C# | aqib1831/LangaugeFeature | /CSharp6LangaugeFeature/Program.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharp6LangaugeFeature
{
class Program
{
static void Main(string[] args)
{
//var p = new Point(3.14,2.71);
//(double... |
8b83e67905801d3a3e69d601cfa68c49bb6ca13e | C# | ClaytonMoutzouris/Gamble-v2.0 | /Assets/Scripts/Entity/Player/InventorySlot.cs | 2.578125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InventorySlot
{
[HideInInspector]
public PlayerInventory inventory;
public Item item = null;
public int amount = 0;
private InventorySlotUI slotUI = null;
public InventorySlot(PlayerInventory inventory... |
109ad772015a0d2836d85f28e8bf10b765c98cb2 | C# | shendongnian/download4 | /code10/1752971-51018705-176260366-4.cs | 2.96875 | 3 | <table>
<thead>
.... // add day name headings
</thead>
<tbody>
<tr>
@for (int i = 0; i < 42; i++)
{
DateTime date = startDate.AddDays(i);
if (i % 7 == 0 && i > 0)
{
... |
206a118bc51577ab15769a18427a28b1a3f8f278 | C# | MatteoBertolino92/simple-client-server-file-storage | /server_v2/server_v2/Sanitizer.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Server_v2
{
class Sanitizer
{
public static string sanitize(string stringa)
{
stringa = stringa.Replace('\'', '|');
stringa = stringa.Replace('%... |
d151a103ec0259f4e1c1ba7be8648addfd59798b | C# | AdrianoVerissimo/NightmareShooterOnline | /Assets/Scripts/Camera/CameraFollow.cs | 2.671875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraFollow : MonoBehaviour {
public Transform target; //alvo que a câmera acompanhará
public float smooth = 5f; //velocidade em que a câmera se moverá para acompanhar o alvo
private Vector3 offset; //diferença inicial d... |
66788644b5bf37372f9c2ad4361f7faa8122a832 | C# | isscuss/learn.github.io | /ConsoleApplication3/通过Thread开启线程/Program.cs | 3.40625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace 通过Thread开启线程
{
class Program
{
static void DonloadFile(object filename)//被线程调用的函数,传递的参数必须是object类型的
{
Console.WriteLine("开始下载"+Threa... |
288d1850e79e9ddfb986e6e68c68542fe4a3f30e | C# | 6bee/Remote.Linq | /samples/00_SimpleRemoteQuery/Client/Program.cs | 2.671875 | 3 | // Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Client
{
using static CommonHelper;
public static class Program
{
private static void Main()
{
Title("Simple Remote Query [Client]");
PrintDe... |
b78eb383661e63ebac71da9363314fa3d9bd9cff | C# | rebus-org/MongolianBarbecue | /MongolianBarbecue.Tests/Basic/Processing.cs | 2.515625 | 3 | using System.Collections.Generic;
using System.Threading.Tasks;
using MongolianBarbecue.Model;
using NUnit.Framework;
namespace MongolianBarbecue.Tests.Basic;
[TestFixture]
public class Processing : FixtureBase
{
const string QueueName = "nanomsg";
Producer _producer;
Consumer _consumer;
protected ... |
f3802f5fb9d82e714bdea02205138bb66236e4a2 | C# | wangyangwang/urg-unity | /Assets/Scripts/Transport/SerialTransport.cs | 2.75 | 3 | using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.IO.Ports;
using System.Threading;
using UnityEngine;
public class SerialTransport : MonoBehaviour, ITransport
{
public string portName = "/dev/tty.usbmodem1421";
public int baudRate = 115200;
private SerialPor... |
c657bcd82c1eb0af32fa3d818ed000d6d1d09c36 | C# | killvxk/footlocker | /bots/remote_40080485/Net-Weave R/Core/BaseChatPacket.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetLib.Misc;
namespace Net_Weave_R.Core
{
class BaseChatPacket
{
public ChatClient.Header Header;
public byte[] Data;
public byte[] GetBytes()
{
List<byte> byte... |
c08e38d474ca6a49fe90b9da2f58bf30b34a60c9 | C# | sergiocabral/App.Cabster | /Cabster/Business/Entities/GroupWorkHistorySet.cs | 2.671875 | 3 | using System;
namespace Cabster.Business.Entities
{
/// <summary>
/// Temporizador do trabalho em grupo MOB.
/// </summary>
public class GroupWorkHistorySet : EntityBase
{
/// <summary>
/// Momento do início.
/// </summary>
public DateTimeOffset Started { get; ... |
b23c7b8f1c54bc9b4b156263498a83f29a805099 | C# | HowyoungZhou/dip | /DipLib/Utils.cs | 3.375 | 3 | using System;
namespace DipLib
{
public static class Utils
{
public static int Round(this double n) => (int) Math.Round(n);
public static float LimitTo(this float n, float min, float max) => n < min ? min : n > max ? max : n;
public static int LimitTo(this int n, int min, int max) => ... |
02565f98e707df8555617e9a4ac17c6d72337dbb | C# | YAFNET/YAFNET | /yafsrc/ServiceStack/ServiceStack/Text/StringWriterCache.cs | 2.765625 | 3 | // ***********************************************************************
// <copyright file="StringWriterCache.cs" company="ServiceStack, Inc.">
// Copyright (c) ServiceStack, Inc. All Rights Reserved.
// </copyright>
// <summary>Fork for YetAnotherForum.NET, Licensed under the Apache License, Version 2.0</summa... |
d8d24ed135c8b10ec3be79c2e01a8e5df4d4a547 | C# | bt7s7k7/WordScript | /WordScriptCSTests/WorldScript.cs | 2.703125 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace WordScript.Tests {
/// <summary>
/// Summary description for WorldScript
/// </summary>
[TestClass]
public class WorldScript {
public WorldScript() {
//
// TODO: Add constructor logic here
//
}
[AssemblyInitialize]
pu... |
116e95c884e5f833886cf01da13bb131174f91c6 | C# | tiramisuzie/LoveThemBack | /LoveThemBackWebApp/LoveThemBackWebApp/Models/Services/FavoriteService.cs | 3.0625 | 3 | using LoveThemBackWebApp.Data;
using LoveThemBackWebApp.Models.Interfaces;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks... |
ed1b1e5319c302aae1c4da9e2269c398b18ff25f | C# | DavidZaidi/The-Flying-Kryptonian | /TheFlyingKryptonian Source Code/Assets/CameraFollow.cs | 2.921875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraFollow : MonoBehaviour {
public GameObject objectToFollow; /* objectToFollow is an empty object of type GameObject, we have attached our Superman sprite to 'objectToFollow' object from Unity3D Inspector */
/* Cam... |
8f96fdfa6ec99d8d8af567df28f8d8d0da66f35a | C# | axadn/leetcode-problems | /add two numbers/solution.cs | 3.578125 | 4 | /**You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.
You may assume the two numbers do not contain any leading zero, except the number 0 itself.
Exa... |
f26286d4cc12f94768761f452ca7807953ab149f | C# | tangledbootlace/gokesrentals | /gokesrentals/GokesRentals/Folly.Auth/Custom/FakeAuthenticationImplementation.cs | 2.953125 | 3 | using Folly.Auth;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Folly.Auth
{
//TODO: Implement your own Auth Engine, similar to this
public class FakeAuthenticationImplementation : IAuthenticationImplementation
{
... |
68c34b904dbe86f573ac70f682f5ba408b11d05b | C# | kenperkerwicz/StudentExercises | /Program.cs | 3.390625 | 3 | using System;
using System.Collections.Generic;
namespace StudentExercises
{
class Program
{
static void Main(string[] args)
{
//create 4 or more exercises
Exercise firstEx = new Exercise()
{
language = "JavaScript"
};
Exercise secondEx = new Exercis... |
1cea3d9a33c52a7eda95d816c79638880f3a344c | C# | Vakuu/CSharp | /OOP/EnemyHomeWorks/1hw3/Persons/Person.cs | 3.703125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Persons
{
public class Person
{
private string name;
private int age;
private string email;
private const string E... |