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 |
|---|---|---|---|---|---|---|
a2efdcef94b6fd3e0e37c31a6606f65c4d4165db | C# | SourceCodeBackup/RtfDomParser | /Source/RtfDomParser/RTFNode.cs | 2.578125 | 3 | /*
*
* DCSoft RTF DOM v1.0
* Author : Yuan yong fu.
* Email : yyf9989@hotmail.com
* blog site:http://www.cnblogs.com/xdesigner.
*
*/
using System;
namespace RtfDomParser
{
/// <summary>
/// RTF parser node, this source code evolution from other software.
/// </summary>
public class RTFNode
... |
af6cfd45ad21552a21dc977ad180ca7e432a9255 | C# | awekisa/ProgrammingBasics | /02. Primitive Data Types and Variables/Problem 12. Null Values Arithmetic/NullValuesArithmetic.cs | 3.84375 | 4 | using System;
class NullValuesArithmetic
{
static void Main()
{
// Create a program that assigns null values to an integer and to a double variable. Try to print these variables at the console.
// Try to add some number or the null literal to these variables and print the result.
int... |
d33cccb91220ccbfa04411d7aeff0a0bf00b45a6 | C# | gon6109/WpfAltseed | /WpfApp2/Program.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfApp2
{
static class Program
{
[STAThread]
static void Main(string[] args)
{
// 外部のウィンドウを作成する。
bool closed = false;
MainWi... |
f70468d3a7ad91b3167c7098e9dc6bd63466f944 | C# | BK014/TortoiseRace | /Guy.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TortoiseRace
{
public class Guy01 : Punter
{
public Guy01()
{
GuyID = 1;
GuyName = "Joe";
MaxCash = 50;... |
ab703fb4e2ea45fcf0911bc67a6ab8e0c6c1d0b2 | C# | yevhenip/Warehouse | /Warehouse.Api/Validators/RegisterValidator.cs | 2.8125 | 3 | using FluentValidation;
using Warehouse.Core.DTO.Auth;
namespace Warehouse.Api.Validators
{
public class RegisterValidator : AbstractValidator<RegisterDto>
{
public RegisterValidator()
{
RuleFor(r => r.Email).NotEmpty().EmailAddress()
.WithMessage("Input your Email ... |
f5e2a554025917608f598b62db6cdf282fce9a32 | C# | tonnycordeiro/WorkScheduleImporter | /Model/WorkSchedule/WorkShiftPeriod/WorkShiftPeriodBuilderAlternableDay.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkScheduleImporter.AddIn.Models.WorkSchedule.WorkShiftPeriod
{
public class WorkShiftPeriodBuilderAlternableDay : WorkShiftPeriodBuilder
{
public WorkShiftPeriodBuilderAltern... |
5b503ff190d787c9e998ae8da23d22a963cf0610 | C# | vijayajadhav22/business-rule-engine | /src/BusinessRuleProviders/ShippingBusinessRuleProvider.cs | 2.875 | 3 | using Raymaker.RulesEngine.Application.Model;
namespace Raymaker.RulesEngine.Application.BusinessRuleProviders
{
public class ShippingBusinessRuleProvider : IBusinessRuleProvider
{
private readonly IUserService userService;
public ShippingBusinessRuleProvider(IUserService userService)
... |
c5c9369e87dd95a68d28531de13d4742c6006244 | C# | Alexanderse/romviewer | /app/RomViewer/Model/Waypoint.cs | 2.625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
namespace RomViewer.Model
{
public class Waypoint
{
public GameNode Node;
public Zone Zone = null;
public Vector3 Coordinates;
public int Id;
public string Name;
public Dictio... |
3102c348cd32a494322a36dee67c9a55b637f35a | C# | tddold/Telerik-Academy | /Programming with C#/1. C# Fundamentals I/0. BGCoder C#Part1/08. 29 Dec 2012/02. Quadronacci Rectangle/QuadronacciRectangle.cs | 3.359375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace _02.Quadronacci_Rectangle
{
class QuadronacciRectangle
{
static void Main()
{
//if (Environment.CurrentDirectory.ToL... |
6817cdfb9427c4a3c8824695e7ee32ea1b28fdd7 | C# | sishui198/ApliuNetWeb | /Apliu.Database/Apliu.Database.Mysql/MysqlContext.cs | 2.59375 | 3 | using Apliu.Database.Core;
using Apliu.Database.Core.Extensions;
using MySql.Data.MySqlClient;
using System;
using System.Data;
using System.Data.Common;
using System.IO;
namespace Apliu.Database.Mysql
{
[DatabaseType(DatabaseType.Mysql)]
public sealed class MysqlContext : DbContext
{
public Mysql... |
3b196400a94b0b34b101f0b500b35559bdcdc348 | C# | Ankrowi/File_browser | /WindowsFormsApp16/Form1.cs | 2.796875 | 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;
namespace WindowsFormsApp16
{
public partial class Form1 : Form
{
publi... |
dd723263e3cb9be1329dfdb291ab5ee9ba8c4977 | C# | ShajeshJ/ShajeshBot | /ShajeshBot/Utilities/CustomEventHandlers.cs | 2.75 | 3 | using Discord;
using Discord.Commands;
using Discord.WebSocket;
using ShajeshBot.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ShajeshBot.Utilities
{
public static class CustomEventHan... |
1979f1f713d08efcc0d0f480045171e24f29a62d | C# | lomik33/DesignPatterns | /EfRepository/Manager/Manager.cs | 2.9375 | 3 | using EfRepository.Ef;
using EfRepository.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace EfRepository.Manager
{
/// <summary>
/// Clase de administración que gestiona el acceso a Bd mediante Repository's
... |
bf72f961cc1e110f7626f7d5f570c6ac2c1e5597 | C# | sghosalkar/CompanyApp-ASP.NET-Core | /CompanyApp/Controllers/DepartmentsController.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using CompanyApp.Models;
using CompanyApp.Repositories;
namespace CompanyApp.Controllers
{
public class DepartmentsController : Controller
{
private static readonly log4net.... |
bb32c1b89f23feea10a14fed7b13d4c498e03ac4 | C# | AlexisGonchar/AlexisGonchar_Tasks.NET | /Task7/Report/AverageSpecialtyReport.cs | 2.90625 | 3 | using System.Collections.Generic;
using System.Linq;
using UniversityDAO;
namespace Report
{
/// <summary>
/// Class for getting data.
/// </summary>
public class AverageSpecialtyReport
{
private ExamDao examDao;
private ResultDao resultDao;
private GroupDao groupDao;
... |
229a0baa2e7c7b61c66159b16b05da2ebd0397a4 | C# | lkrodriguez/AdministracionEscolar | /Escuela/Program.cs | 3.015625 | 3 | using System;
namespace Escuela
{
class MiClasePrueba
{
protected int pruebaA;
}
class Program
{
public static void ImprimirMensajePantalla(string mensaje, bool guardar =false )
{
Console.Write("Respeusta del Sistema:");
Console.WriteLine(mensaje);
if(guardar )
{
//Guardar en ... |
2b898de874c9aa6b26b2f4e9cce4e72881664d84 | C# | shimau6/niftyTesting | /webTopPage/webTopPage/ConnectException.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace webTopPage
{
class ConnectException
{
List<ans> errorList = new List<ans>
{
new ans(0,400,"ID,Passwordが記入されていることを確認してください"),
new an... |
ae7d2bfc97d547805e91a026fd790f2243de540c | C# | AgustinIbanez00/Boleteria-2018 | /Clases/Pago.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Clases
{
public class Pago
{
string codigo;
int boleto;
string tipo;
string titular;
long dni;
string correo;
string tarjeta;
... |
72292f1202e0e58936c48943830f62f63c1a5665 | C# | aykay76/storage-factory | /StorageFactory.cs | 2.578125 | 3 | using System;
using System.Security;
using System.Threading.Tasks;
namespace Helpers.Storage
{
public static class StorageFactory
{
public static async Task<IStorage> ForLocalFileSystem(string path)
{
LocalFileSystem lfs = new LocalFileSystem(path);
await lfs.CreateIfNo... |
3a67ea714bfa67ce92237387281efb37e9846b54 | C# | LeonKou/NetPro.Utility | /Exceptions/ViewModelStateValidException.cs | 2.6875 | 3 | namespace NetPro.Utility
{
/// <summary>
/// viewModel Data validation failed exception
/// </summary>
public class ViewModelStateValidException: NetProException
{
public string BindModelText { get; set; }
/// <summary>
/// viewModel 数据验证失败异常构造函数
/// </summary>
... |
d59715a0ff21a1c0360beff93d661ae1addac322 | C# | steelpr/CSharp-Fundamentals | /C# OOP Advanced - March 2018/Generic/Tuple/Tuple.cs | 3.75 | 4 | using System;
using System.Collections.Generic;
using System.Text;
public class Tuple<T, U>
{
private Dictionary<T, U> tuple;
public Tuple(T item1, U item2)
{
this.ItemOne = item1;
this.ItemTwo = item2;
this.tuple = new Dictionary<T, U>();
}
public void Add(Tuple<T , U> ... |
3f251ffdb3990b2002b0b53e8afaf0443d7aed7f | C# | vogon/Zeplin | /TetrisRogue/GameBoard.cs | 3.140625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Zeplin;
namespace TetrisRogue
{
class GameBoard : GameObject
{
public GameBoard(int width, int height, int chunkSize)
{
if (width <= 1 || height <= 1)
... |
a5591a7db4c04df6640ab10d84cdf79da4e81f46 | C# | Yeudakimenka-Maksim/Musicity | /DAL/Mappers/DalTopicMapper.cs | 2.546875 | 3 | using System.Linq;
using DAL.Interface.DTO;
using ORM.Entities;
namespace DAL.Mappers
{
public static class DalTopicMapper
{
public static Topic ToOrmTopic(this DalTopic dalTopic)
{
return new Topic
{
Id = dalTopic.Id,
Name = dalTopic.Nam... |
12607920667cb12319ffc216fb43121e36e8379b | C# | hdnhan/heatsource | /Csharp/HeatSource2D_9PointOnOmega_ft/HeatSource2D_9PointOnOmega_ft/Operators.cs | 3.46875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HeatSource2D_9PointOnOmega_ft {
class Operators {
public double[] Ones(int LengthOfVector) {
double[] res = new double[LengthOfVector];
for (int i = 0; i <... |
f78e5ad740704b72dc9b1dcb6fa9bef8d5ec5ecf | C# | rowanqueue/undercooked | /Assets/Scripts/Pickup.cs | 2.59375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//use: pick stuff up! put it down!
//loc: on pick up cube child of player
public class Pickup : MonoBehaviour {
public string pickUpAxis;//button to pick stuff up
public string interactAxis;//button to interact with stuff
public... |
a665b7a6e2c7ad7d501b47ef14ed70aa4b89d996 | C# | bencz/csharp-telnet-client | /AutoCoder_Telnet/AutoCoder_Telnet/IBM5250/WtdOrders/InsertCursorOrder.cs | 2.578125 | 3 | using AutoCoder.Systm;
using AutoCoder.Telnet.Common;
using AutoCoder.Telnet.Common.RowCol;
using AutoCoder.Telnet.Enums.IBM5250;
using System.Collections.Generic;
namespace AutoCoder.Telnet.IBM5250.WtdOrders
{
public class InsertCursorOrder : WtdOrderBase
{
public byte RowAddress
{ get; set; }
publi... |
7f09d94a6d46d8002946a7cf8b63c734c5c2bf1e | C# | sagarSahay/Spektrix.Willow | /Willow.Query.Host.Console/Program.cs | 2.515625 | 3 | using System;
namespace Willow.Query.Host.Console
{
using System;
using System.Runtime.Loader;
using System.Threading;
internal class Program
{
private static readonly string serviceTypeName = "Willow.Query.Host.Console";
private static readonly ManualResetEvent exitEvent = new Ma... |
93e327e8b27644e9d28ac8c213ffcb7327a7f41b | C# | asinthaprasanjana/FinalYearProject | /Managers/RoleManager.cs | 2.546875 | 3 | using Max.MedicalLab.Data.Entity.Repository;
using Max.MedicalLab.Data.EntityManager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Max.MedicalLab.Common.Dto;
using Max.MedicalLab.Business.Core.AutoMapper;
using AutoMapper;
namespa... |
f01f23c99ad6110b6afa9874870fd549b3cc7ebe | C# | gyang/ClashRoyaleProxy | /ClashRoyaleProxy/Program.cs | 2.78125 | 3 | using System;
using System.Threading;
namespace ClashRoyaleProxy
{
class Program
{
/// <summary>
/// "Kills" the entire program
/// </summary>
public static void Exit(int exitCode = 0)
{
Environment.Exit(exitCode);
}
/// <summary>
//... |
946e532b9e0259dae5ac6baabdbe878a13254b1d | C# | vmizoules/JediTournamentASP | /JediWebService/JediWebService/App_Code/Adapters/MatchAdapter.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using EntitiesLayer;
using JediService.Models;
namespace JediService.Adapters
{
/// <summary>
/// Classe d'adaptation des Matchs.
/// </summary>
public class MatchAdapter
{
/// <summary>
/// Adapte... |
9fb36874b8ebbb031cf4d70c60001495328e6550 | C# | mgechev/WaTor | /WATOR/Sepia.cs | 2.703125 | 3 | namespace WATOR
{
public class Sepia : Creature
{
/// <summary>
/// Initializes a new instance of the <see cref="Sepia"/> class.
/// </summary>
/// <param name="lifeTime">The life time.</param>
/// <remarks></remarks>
public Sepia(int lifeTime, Library.Pair posi... |
10f3e2defb78acd34f4ea3d095b8a31882d654ec | C# | newElliot/CoffeeShop | /CoffeeHomeMake/CoffeeHomeMake/DTO/ProlemProductList.cs | 2.9375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace CoffeeHomeMake.DTO
{
public class ProlemProductList
{
public ProlemProductList(string name, float price, int totalCount, float totalPrice)
{
... |
8bfd6ac9fabd10d30e3a127c0aedd17fb7a3a8b9 | C# | nbright/CleanArchitecture.Example | /CleanArchitecture.Example/Services/ContentNavigator.cs | 2.546875 | 3 | namespace CleanArchitecture.Example.Services
{
using System;
using System.Collections.Generic;
using System.Windows.Navigation;
using Domain.Services;
public sealed class ContentNavigator : IContentNavigator<ViewType>
{
internal static readonly Dictionary<ViewType, Uri> ViewTypeToConte... |
903e7b81e7da50cda24720989abe21c8225bbeb7 | C# | hherzl/CatFactory | /CatFactory/Collections/IEnumerableExtensions.cs | 3.8125 | 4 | using System.Collections.Generic;
using System.Text;
namespace CatFactory.Collections
{
/// <summary>
/// Provides extension methods for IEnumerable interface
/// </summary>
public static class IEnumerableExtensions
{
/// <summary>
/// Gets an instance of <see cref="StringBuilder"/... |
9606b1bca00b451c8efa6579ea3a2e447fd6d844 | C# | alperclk/Software-Design-Pattern | /SingletonVeFactory/ThreadSafeSingleton_Pattern/SafeSingleton/Program.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SafeSingleton
{
class Program
{
static void Main(string[] args)
{
Parallel.Invoke(() => BirinciKosucu(), () => IkinciKosucu());
... |
e2fdbcd984c1aa4f1759ab1628d82599146234e7 | C# | ManirathinamG/SoftUni | /C#_Basic/Задачи/CSharpBasicExam14Aprli2014Morning/1.FruitMarket/Program.cs | 3.46875 | 3 | using System;
class Program
{
static void Main()
{
string dayOfWeek = Console.ReadLine();
decimal sum = 0;
for (int i = 0; i < 3; i++)
{
decimal quantity = decimal.Parse(Console.ReadLine());
string product = Console.ReadLine();
decimal price ... |
e3468f5c4ae5b31186e9c27e67ba80290bd06c7c | C# | StathisKanellis/Individual_Project_Brief_Private_School | /individual_part_b/stathis_kanellis_individual_part_b/stathis_kanellis_individual_part_b/FrontEnd.cs | 3.171875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace stathis_kanellis_individual_part_b
{
class FrontEnd
{
public static void Start()
{
Console.Clear();
ShowMenou();
... |
74791be4a430c455a3a5ee7388bad6c25512ccd8 | C# | yonglehou/Symbiote | /src/Symbiote.Core/Extensions/ArrayExtensions.cs | 2.703125 | 3 | using System;
namespace Symbiote.Core
{
public static class ArrayExtensions
{
public static T[] GetRange<T>( this T[] array, int offset, int count )
{
var newArray = new T[count];
Buffer.BlockCopy( array, offset, newArray, 0, count );
return newArray;
}
public static T[] GetRange<T>( this ArraySeg... |
197f4039dd8c214fc0cbdaf9b8a9af676a66d753 | C# | marius-klimantavicius/pinta | /Marius.Script/Pinta/PintaCollectFunctionsAndVariables.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Marius.Script.Pinta.Reflection;
using Marius.Script.Tree;
namespace Marius.Script.Pinta
{
public class PintaCollectFunctionsAndVariables : ScriptVisitor
{
private PintaProgramBuilder _builder;
private P... |
06420137ec084e94b089dc5e178099a2bb6b4ca6 | C# | Maks0123/FullStack.NetCore-VueJS | /Inheritance/Program.cs | 3.25 | 3 | using System;
using static Printer;
using static Pupil;
using static ClassRoom;
using static Vehicle;
using static DocumentWorker;
namespace Inheritance
{
class Program
{
static void Main(string[] args)
{
//Task 1 ( Printer.)
/*
Printer printer1 = new Prin... |
fd6146895f69b294702e199ea3fb9ce3fe645489 | C# | jamesjmtaylor/AlgorithmPractice | /AlgorithmUnitTests/BitUnitTests.cs | 3.0625 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using AlgorithmPractice;
namespace AlgorithmUnitTests
{
[TestClass]
public class GetBitUnitTests
{
[TestMethod]
public void GetBitForThreeAtPositionZero()
{
Assert.AreEqual(true, BitOp.GetBitAt(0, 3)); // 011, bit 0 is ... |
6984bfa8c9a1db20281f64801b79c118fe974930 | C# | Nader19/SpyzieAttemptWebAPI-master | /SpyzieAttemptWebAPI-master/SilentWeb/ToolPages/Photos.aspx.cs | 2.53125 | 3 | using DataLayer;
using SilentWeb.Services;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SilentWeb.ToolPages
{
public partial class Photos : System.Web.UI.Page
... |
4e8cfa5e4a0c5300b66f74b7a63fb68b308c5c1c | C# | tbebekis/Tripous | /Tripous.Model/JsonDataSet.cs | 2.75 | 3 | /*--------------------------------------------------------------------------------------
Copyright © 2018 Theodoros Bebekis
teo.bebekis@gmail.com
--------------------------------------------------------------------------------------*/
using System;
usi... |
ecdae5ca3fbe1e7d1f6c01bf23271ab4507e6e07 | C# | T44D/BasicORM | /TugasDuplikasi/CodingCamp.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
namespace TugasDuplikasi
{
class CodingCamp : Participant
{
public string CodingCampId { get; set; }
public string CodingCampName { get; set; }
public List<Participant> Participants { get; set; }
public static List<CodingCamp> Ca... |
847a48cc1c9e25d5dd12b23de3c1357d156f794f | C# | qfeys/LD45-StartWithNothing | /Assets/Scripts/Helpers.cs | 3.046875 | 3 | using UnityEngine;
static class Helpers
{
static public float CircularDifference(float a, float b, float modulo)
{
float diff = (a % modulo) - (b % modulo);
if (diff < -modulo / 2)
return diff + modulo;
else if (diff > modulo / 2)
return diff - modulo;
... |
3e6785cb9dac994eddea735dbdbcd90a7f9a51fb | C# | HashyServices/RemaxPrjApp | /Employee.DB.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using ClassLibraryRemax;
using System.Data;
using System.Windows.Forms;
namespace RemaxWindowsApp.DATASOURCE
{
public static class EmployeeDB
{
public static... |
fbf4f2c412fa53468fd9cb1e5f43c0b515fad053 | C# | llyjy21/Opencv | /ResizeMatch/Program.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ResizeMatch.classes;
using System.IO;
namespace ResizeMatch
{
class Program
{
static void Main(string[] args)
{
string pathOfFolder = "results";
DirectoryInfo mainDir... |
ad1d93651a8f26b6df099582487d11379f1030c2 | C# | reaperdk/timetracker | /IWebApiWrapper.cs | 2.75 | 3 | public interface IWebApiWrapper<T> where T : class, IModelBase
{
/// <summary>
/// Gets entity by his id from database via WebApi
/// </summary>
/// <param name="id">Id of entity</param>
/// <returns>T-type entity if found, otherwise null</returns>
/// <excepti... |
f39dfdb99d801c6aa9158de4e2556ec0b0a3703f | C# | idefa/AsyncMiddleWare | /src/MapExtensions.cs | 2.578125 | 3 | using AsyncMiddleWare.Context;
using AsyncMiddleWare.Utility;
using System;
namespace AsyncMiddleWare
{
public partial class CallBuilder
{
public CallBuilder Map(PathString pathMatch, Action<CallBuilder> configuration)
{
if (configuration == null)
{
thro... |
60354efb1a119583691d779033fab308db651d97 | C# | mpue/SimpleChess | /ChessGUI/SimpleChessLib/Move.cs | 2.890625 | 3 | using SimpleChess.Pieces;
using System;
using System.Collections.Generic;
using System.Text;
namespace SimpleChess
{
public class Move
{
public Board board { get; set; }
private Piece piece;
public int x1;
public int y1;
public int x2;
public int y2;
pr... |
ec36572db74686ae70928f3c66d3ed83e1bd9d9d | C# | pavelray/travel-republic-assignment | /TravelRepublic/Repository/FlightDepartsBeforeFilterRepository.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelRepublic.Model;
namespace TravelRepublic.Repository
{
public class FlightDepartsBeforeFilterRepository : IFilterRepository
{
private readonly DateTime _departsBeforeDate;
... |
4e5201db2cdf484151b9d817a111ad24dd695c33 | C# | code4nerima/summit-restapi | /src/summit-restapi/Domain/Services/Application/ProgramRegistration/CreateProgramPresenterCommandHandler.cs | 2.59375 | 3 | using CfjSummit.Domain.Models.Entities;
using CfjSummit.Domain.Repositories;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace CfjSummit.Domain.Services.Application.ProgramRegistration
{
public class CreateProgramPresenterCommandHandl... |
34547e758df883bb608c6ea45b25e9dac21c86f3 | C# | MrsMars/Lessons_CSharp | /Les_44.ArrayList/Program.cs | 3.671875 | 4 | using System;
using System.Collections.Generic;
using System.Collections; // for ArrayList
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// нетипизированные (гетерогенные) коллекции - ArrayList. Может содержать элементы любого типа + Он поддерживает изменение размера и набор является индексиро... |
6751902dd0b2f9509522a023152bc1df6dc938eb | C# | Afzaal786/Library-managment-system | /VP_LMS C#/Library Managment System/LMSDataAccessLayer/authorAccessClass.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LMSDataAccessLayer
{
public class authorAccessClass
{
LMSDbContext objLmsDbContext;
public authorAccessClass()
{
objLmsDbContext = new LMSDbContext... |
1cf907cc6b6f96b4e0cec574fa8f1f544dcfcd2b | C# | bilalislam/RaftCore | /RaftCore/Connections/IRaftConnector.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using RaftCore.Components;
namespace RaftCore.Connections {
/// <summary>
/// Defines how to connect and interact with a node.
/// </summary>
public interface IRaftConnector {
/// <summary>
/// ID uniquely identifying the node this <see cr... |
40e54fe98465ef3b8feae3f4dd2c433c1856c795 | C# | SuhasParameshwara/Day2-Exercise | /NinthSymbolCheck.cs | 3.84375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NinthSymbolCheck
{
class Program
{
static void Main(string[] args)
{
try
{
Console.WriteLine("Enter the character(If it's a lett... |
f3f301797d7d892759586a4f28517b8b5a5a17d2 | C# | knnorbi/osztokszama | /osztokszama/Program.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace osztokszama
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Írj be egy számot!");
int szam = int.Parse(Console.ReadLine()... |
ce62965984929331cfa1390fd908fc8565b61c4a | C# | Zexuz/Steam-Betting | /Betting.Repository/Impl/ItemBetQueries.cs | 2.765625 | 3 | using System.Collections.Generic;
using Betting.Models.Models;
using Betting.Repository.Interfaces;
namespace Betting.Repository.Impl
{
public class ItemBetQueries : IItemBetQueries
{
public SqlQuery InsertRangeAsync(List<DatabaseModel.ItemBetted> itemBets)
{
var listOfSqlValues = n... |
97fa465f6f4b42c8b345350141757371cf6f33dd | C# | huseynhe/ITS | /ITS.DAL/Repositories/MachineRepository.cs | 2.53125 | 3 | using ITS.DAL.DTO;
using ITS.DAL.Model;
using ITS.DAL.Objects;
using ITS.UTILITY;
using ITS.UTILITY.Custom;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ITS.DAL.Repositories
{
public class MachineReposito... |
cf088770d73b7643bba855557b581c4be01faf64 | C# | sebastian-soler/POC-Microservice | /MSCustomers/Business/CustomerService.cs | 3.3125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using MSCustomers.Model;
using MSCustomers.Repository;
namespace MSCustomers.Business
{
public class CustomerService : ICustomerService
{
private readonly ICustomerRepository _customerRepository;
public CustomerService(ICustom... |
8549541895f63b3ce1d1959ccc6b58ff56c18cc5 | C# | JHaugland/WetAffairs | /UnityScripts/Camera/ZoomLevel.cs | 2.640625 | 3 | using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
using System;
[Serializable, StructLayout(LayoutKind.Sequential)]
public class ZoomLevel
{
[SerializeField]
private float _Y = 30000;
[SerializeField]
private float _MoveSpeed = 10;
public float Y { get { return _Y... |
cf0174d14920ef23bbabb72526b7d03c872b2c8e | C# | RTICWDT/evaluation-engine-console | /EvaluationEngineConsole/FileHandler.cs | 2.921875 | 3 | // -----------------------------------------------------------------------
// <copyright file="FileHandler.cs" company="MPR INC">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
namespace EvaluationEngineConsole
{
using System;
using S... |
9e2c8f5b3b8b7a5ea1291c9792030929497510f1 | C# | ongzhixian/Emptool.Cryptography | /Emptool.Cryptography/Extensions/StringExtensions.cs | 2.890625 | 3 | using System;
using System.Text;
// ZX: Developing it under Emptool.Cryptography for now
// To migrate it to Emptool
namespace Emptool.Cryptography
{
public static class StringExtensions
{
private static System.Security.Cryptography.SHA1 sha1 = System.Security.Cryptography.SHA1.Create();
... |
506dbcc4975e09f030ebd228744a82e9fb24e7cc | C# | T1Easyware/Soheil | /Soheil/Soheil/VisualTreeHelper.cs | 3.15625 | 3 | using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
namespace Soheil
{
public static class VisualTreeHelper
{
/// <summary>
/// Get visual tree children of a type
/// </summary>
/// <typeparam name="T">Visual tree children type</typeparam>
///... |
ca0bab1fe6b4f9c19819ba45a2061b6f40973905 | C# | StormShadow86/dotnet-passbook | /Passbook.Generator/JsonTemplateProvider.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Passbook.Generator.Fields;
namespace Passbook.Generator
{
public class ... |
7cc53b8a9771e1273259d36da4338f0cae6ab0db | C# | vvselischev/Knights-And-Castles | /Assets/Scripts/GameLogic/BlockBoardStorage.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Assets.Scripts
{
/// <summary>
/// Implementation of multiblocked board.
/// Blocked board is represented as a two-dimensional array.
/// Each block is an instance of a SingleBoardStorage.
/// One block ... |
4100804e46eef59905b185412f0464420e82c357 | C# | TygoB-B5/ArcadeGames | /Assets/Platformer/Scripts/Player/PlayerSpeed.cs | 2.703125 | 3 | using UnityEngine;
public class PlayerSpeed : MonoBehaviour
{
public float defaultSpeed { get; private set; } = 15;
public float speedDistance { get; private set; }
private float _speed;
public float speed
{
get { return _speed; }
set { _speed = Mathf.Clamp(value, -defaultSpeed, de... |
a7f19a9bc826496bbacaa780e326c8d6cf8f00fd | C# | joelawm/dotnet-assign5 | /Chess/Chess/Form1.cs | 2.859375 | 3 | /*
* Name: Joseph Meyer; zid: z1788150
* Partner: Huajian Huang; zid: z1869893
*
* CSCI 473 - Assignment 5
* Function: This program is to emulate the 3D Chess board game in 2D! Sure we loose a dimesnion, but you can play it anywhere!
*
*/
using System;
using System.Collections.Generic;
using System.Drawing;
u... |
579f14a7c9517308348adb7d7851c1eb06e4abab | C# | fbarresi/fjj | /fjj/Services/DbService.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using fjj.Enums;
using fjj.Interfaces;
using fjj.Models;
using LiteDB;
namespace fjj.Services
{
public class DbService : IDbService, IDisposable
{
private readonly LiteDatabas... |
66002368169963c1c7b8c8676f3b9b2809c639a2 | C# | YHZX2013/exchange_diff | /mscorlib/System/Runtime/CompilerServices/DecimalConstantAttribute.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
[ComVisible(true)]
[__DynamicallyInvokable]
[Serializable]
... |
2d39f325e179398f31361d6d3e5d69e5c1874763 | C# | UltramarineDev/PadawansTasks | /BasicC-coding-task13/BasicC-coding-task13/BasicC-coding-task13/URLManipulate.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BasicC_coding_task13
{
public class URLManipulate
{
public string AddOrChangeUrlParameter(string url, string keyValueParameter)
{
if (url.IndexOf('=') == -1... |
551890b18fa1199e1d701808f5a947dffbb8e0a3 | C# | ShomreiTorah/Billing | /Events/Auctions/AuctionItem.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using ShomreiTorah.Data;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using ShomreiTorah.Common;
namespace ShomreiTorah.Billing.Events.Auctions {
... |
8c99f5e35073ee4dbc918c1d97ef5848caf20870 | C# | Ivolekov/SoftUni_3.0 | /01.C#_Fundamentals/02.C#-OOP/03. CSharp-OOP-Basics-Static-Members/Exercise/StaticMembers/02.UniqueStudentNames/Program.cs | 3.53125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace _02.UniqueStudentNames
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
... |
ab2db2b629c5c7a26fe4839e249c03efd1b7cc05 | C# | JavierSplvd/unity-humanoid-controller | /Samurai/Battle/Data/CharacterDataFactory.cs | 2.796875 | 3 | namespace Numian
{
public class CharacterDataFactory
{
public static CharacterData GetData(Numian.CharacterPreset preset)
{
CharacterData data = null;
if (preset.Equals(CharacterPreset.EnemySamurai))
{
data = new CharacterDataBuilder()
... |
997e5645af3fab25852c46f90f27c5c9e1cbf169 | C# | arthur-extra/csharp-example | /CSharpCalculator/CSharpCalculator/UserInterface.cs | 3.6875 | 4 | using System;
namespace CSharpCalculator
{
class UserInterface
{
private ICalculator calculator;
public UserInterface(ICalculator calculator)
{
this.calculator = calculator;
}
public void demo()
{
int sum = calculator.add(2, 2);
... |
c294d06c1027cd121c0b569ff980164991afefd4 | C# | tokarskaa/3DGraphics | /3DGraphics/MeshLoader.cs | 2.84375 | 3 | using SharpDX;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using SharpDX.Mathematics.Interop;
namespace _3DGraphics
{
static public class MeshLoader
{
public static async Task<Scene> LoadJSON... |
4183d8d2865baa80c0ed18f206d4c7d1801a1f93 | C# | yurist1/Homework | /App/디자인패턴/StrategyPattern/Program.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StrategyPattern
{
class Program
{
static void Main(string[] args)
{
//Context context;
//// Three contexts following different strategies
... |
f2ca19c8255034e881a55f7efe6d66bc9c42f70e | C# | kimboox44/StoreManagement | /StoreManagement/StoreManagement.Data/GeneralHelper/MapToListHelper.cs | 3.109375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace StoreManagement.Data.GeneralHelper
{
public class MapToListHelper
{
public static List<T> Da... |
7c060e93a8b3e30c98dbf4f8842d22c3b7f9eaa8 | C# | MillerMark/MrAnnouncerBot | /DndCore/Effects/PlaceholderEffect.cs | 2.578125 | 3 | using System;
using System.Linq;
namespace DndCore
{
public class PlaceholderEffect : Effect
{
public string Name;
public PlaceholderType PlaceholderType;
public PlaceholderEffect()
{
effectKind = EffectKind.Placeholder;
}
public PlaceholderEffect(string name, PlaceholderType type) : this()
{
... |
f48915abe7045b0bf057f291d67e27ab25edf825 | C# | codaza/HealthChecks | /src/TvShop.DatabaseService/HealthChecks/DatabaseHealthCheck.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Diagnostics.HealthChecks;
namespace TvShop.DatabaseService.HealthChecks
{
public class DatabaseHealthCheck : IHealthCheck
{
public async Task<HealthCheckR... |
253d39b63771423d94b90e7ff144e49f7fba3046 | C# | lanchorena7/vs2017_Developer_0719 | /Cap02/slnApp/AppData.Access/CustomerDA.cs | 2.765625 | 3 | using AppEntities.Base;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AppData.Access
{
class CustomerDA:BaseDA
{
public int GetCount()
{
int result = 0;
... |
136a127d758c3e7d1ea121895e56f40b88d06fad | C# | ric-04/JamsAndJams | /JazzCats/MusicianREPO.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JazzCatsREPO
{
public class MusicianREPO
{
private readonly List<Musician> musicianDatabase = new List<Musician>();
// Create
public void AddMusicianToList(Mus... |
a818921b355ad4a6803b89552ed627a5ab9ab098 | C# | Traeger-GmbH/opcuanet-samples | /cs/Scenarios/Client.GenericEvents/Program.cs | 2.78125 | 3 | // Copyright (c) Traeger Industry Components GmbH. All Rights Reserved.
namespace GenericEvents
{
using System;
using System.Collections.Generic;
using System.Linq;
using Opc.UaFx;
using Opc.UaFx.Client;
public class Program
{
public static void Main()
{
OpcEv... |
0ebfa57b85923db75a34027d8024e21a1e883bf4 | C# | FHICT-S-Siem/S2-SiemLucassen-Chessinator | /Implementatie/Chessinator/Chessinator.Presentation/Authorization/CustomAuthenticationStateProvider.cs | 2.6875 | 3 | using System.Security.Claims;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Blazored.SessionStorage;
using Chessinator.Application.Dtos;
using Microsoft.AspNetCore.Components.Authorization;
namespace Chessinator.Presentation.Authorization
{
public class CustomAuthenticat... |
40bab41e01aa471a6294d68d223382dff77188ed | C# | Esther2013/Pandas.NET | /src/PandasNET/DataFrame.cs | 2.734375 | 3 | using NumSharp;
using System;
using System.Collections.Generic;
using System.Text;
namespace PandasNET
{
/// <summary>
/// Two-dimensional size-mutable, potentially heterogeneous tabular data structure with labeled axes (rows and columns).
/// https://pandas.pydata.org/pandas-docs/stable/generated/pandas.... |
9c9e3f8106420fdac9a324c01931b7e2462ec11f | C# | DavidHoerster/PhillyCodeCamp2016 | /RoundRobinWordCounter/RoundRobinWordCounter/Actors/CountAggregator.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Akka.Actor;
using RoundRobinWordCounter.Messages;
using RoundRobinWordCounter.Writers;
namespace RoundRobinWordCounter.Actors
{
public class CountAggregator : ReceiveActor
{
public... |
bb5e770b4f3bc4d6132354e4f50ad11ccab0c9c4 | C# | MarcelloMello2/DxgiScreenCapture | /DxgiScreenCapture/ScreenCapture.cs | 2.53125 | 3 | using SharpDX;
using SharpDX.Direct2D1;
using System;
using System.Collections.Concurrent;
using System.Drawing;
using System.Threading;
namespace DxgiScreenCapture
{
public class CapturedEventArgs : EventArgs
{
readonly DataStream _dataStream;
public DataStream Data => _dataStream;
Sh... |
630ecaf395e5481229101420dca49386cab513ae | C# | bramdemoor/SignalR-JetpackDemo | /signalr--omega-race/SignalRGame/Classes/Game.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using SignalRGame.Classes.Connections;
namespace SignalRGame.Classes.GameElements
{
public class Game
{
private static Game instance;
public static Game Instance
{
... |
6cf324d78c6533b085f6b68f0f3ff6d843bb95a3 | C# | tungnm/lbdi3 | /ModelLayer/User.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace C2C.ModelLayer
{
public enum UserType {Advisor, Employer};
public class User
{
public User(string salutation, string firstName, string lastName, string email, string add, string phone, UserType type)
... |
ae4fc9bf8ae512a762cc0a50777825823d345757 | C# | DevelopmentSpace/TDP-TPFinal-2016-Grupo8 | /TPFinal/TPFinal/DTO/CampaignDTO.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using TPFinal.DTO.Infrastructure;
using TPFinal.Domain;
namespace TPFinal.DTO
{
public class CampaignDTO
{
////BCC/ BEGIN CUSTOM CODE SECTION
////... |
7fe1dfbbed9e8000cb3ceeaf4bdc1a4b2323d23b | C# | SalZaki/AlphaTravel | /Alpha.Travel.Application/Common/Queries/BaseGetPreviewQueryExtensions.cs | 2.625 | 3 | //namespace Alpha.Travel.Application.Common.Queries
//{
// using System;
// using System.Linq;
// public static class BaseGetPreviewQueryExtensions
// {
// public static bool HasPrevious(this BaseGetPreviewQuery queryParameters)
// {
// return (queryParameters.PageNumber > 1);
// ... |
2ea036e5d7b43ca6317eaf4b8e5656b568e54990 | C# | frotveit/ProblemSolving | /AdventOfCode/2017/AdventOfCode2017Day10.cs | 3.46875 | 3 | using System;
using System.Collections.Generic;
namespace AdventOfCode._2017
{
public class AdventOfCode2017Day10
{
public static int Solve(int size, List<int> input)
{
var numbers = new NumberList(size);
foreach (var length in input)
{
if (... |
07bd4c2b155e085aebd62038cefc552158b81fd9 | C# | MagnusPoppe/TrollsAndGods | /Assets/Scripts/Multiplayer/CombatEvent.cs | 3.046875 | 3 | using UnityEngine;
namespace Multiplayer
{
/// <summary>
/// A Combat event is a specialized abstract event specified to
/// reincarnate a battle.
/// </summary>
public abstract class CombatEvent : Event
{
private GraphicalBattlefield gb;
/// <summary>
/// Initialize... |
85464f9a8c904fa8048fca2dec53bc9744b0ed84 | C# | juandanielgaleano/MetodosEstaticos | /Clase1/Clase1/Program.cs | 3.609375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Clase1
{
class Program
{
static void Main(string[] args)
{
int numero;
string auxiliar;
in... |
8c079a4fe21ca4872d1a06ee60da82eb966d8bbd | C# | Melsvik/SpaceBattlez | /Templates/CSharp/GameElements.cs | 2.59375 | 3 | using System.Collections.Generic;
namespace SpaceBattlez.CSharp
{
public class GameElements
{
public class Bot
{
public int Id { get; set; }
public string Name { get; set; }
}
public class Position
{
public int X { get; set; }
public int Y { get; set; }
}
public class Planet
{
publi... |
5842b313bcef4dd55ca45fcec8ea867f22902efd | C# | enterth3r4in/CSharpInClass4416 | /CSharpInClass4416/Form1.cs | 2.609375 | 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 CSharpInClass4416
{
public partial class Form1 : Form
{
Dice diceOne = new Dic... |
8d144b2024b0ba8e7b5a42d679f64ff12da8826e | C# | ronbrogan/AllocTracker | /AllocTracker.Tool/Commands/LaunchCommand.cs | 2.84375 | 3 | using CommandLine;
using System;
using System.IO;
using System.Threading.Tasks;
namespace AllocTracker.Tool.Commands
{
[Verb("launch")]
public class LaunchCommand
{
[Option('t', "target", HelpText = "The process to launch", Required = true)]
public string Executable { get; set; } = null!;
... |
c55c9936a84e5186556e6b92f758ef517f7dab1e | C# | JanBalke420/MusikApp | /MusicRepresentation.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MusikApp
{
[Serializable]
class MusicLibrary
{
private List<Track> Tracks = new List<Track>();
public MusicLibrary()
{
}
... |
94f59368cfd4c385bceddbf6334d990f6cfa71b1 | C# | brianvs18/Taller_3_POO | /Taller_3_POO/Services/ClienteServices.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Taller_3_POO
{
class ClienteServices
{
private List<Cliente> listadoClientes = new List<Cliente>();
public void AgregarCliente(Cliente clientes)
{
listadoClientes.Add(clientes);
}
... |
9b7717af701368d01afbc56b3fb4f7bdce813510 | C# | shendongnian/download4 | /first_version_download2/78592-5069061-10783354-2.cs | 3.6875 | 4 | public class Animal
{
public Animal()
{
// Don't do this in the constructor
// Speak();
}
public virtual void Speak()
{
Console.WriteLine("Animal speak");
}
}
public class Dog : Animal
{
private StringBuilder... |