text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using MoreLinq;
using System.Linq;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace GraphDisplay
{
public class EvolutionMgr
{
public int popSize { get; set; }
private int evolvePopSize;
public int iteratio... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using ZXing.Net.Mobile.Forms;
namespace App1
{
// Learn more about making cus... |
using System.Windows.Controls;
namespace Demo.HelloEventAggregator
{
/// <summary>
/// Interaction logic for PublisherView.xaml
/// </summary>
public partial class PublisherView : UserControl
{
public PublisherView()
{
InitializeComponent();
}
}
}
|
using Assets.Modules.Utility;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory("Camera")]
public class SetCameraToFollowPlayer : FsmStateAction
{
// QuestVM vm;
public override void OnEnter()
{
... |
using LearningEnglishWeb.Areas.Training.Models.CollectWord;
using LearningEnglishWeb.Areas.Training.Models.Shared;
using LearningEnglishWeb.Areas.Training.ViewModels.ChooseTranslate;
using LearningEnglishWeb.Areas.Training.ViewModels.CollectWord;
namespace LearningEnglishWeb.Areas.Training.ViewModels.Abstractions
{
... |
using System;
using System.Collections.Generic;
namespace DeckOfCard
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Welcome to Deck of Cards Problem");
ShuffleCard shuffleCard = new ShuffleCard();
shuffleCard.ShufflingAndDistributing(... |
using System;
using System.Collections.Generic;
using System.Web;
/// <summary>
/// 公文紧急程度
/// </summary>
public enum EArchiveUrgency
{
普通 = 0,
急件 = 1,
特急 = 2
}
/// <summary>
/// 风险处置等级
/// </summary>
public enum EArchiveRiskLevel
{
一级 = 1,
二级 = 2,
三级 = 3
} |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
using System;
using System.Threading.Tasks;
using Domain.Entities;
using Common.Repository;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Common.SensorListenerAPI;
using Microsoft.Extensions.Logging;
// For more information on enabling Web API for emp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MOSC
{
class ServiceController
{
static System.ServiceProcess.ServiceController service = new System.ServiceProcess.ServiceController("ServiceVPT");
public static bool... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Utility;
using Model.DataEntity;
using Uxnet.Web.Module.Common;
using System.Linq.Expressions;
namespace eIVOGo.Module.EIVO
{
public partial class InvoiceItemSellerGrou... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Toy
{
class Toy
{
public string Manufacturer { get; set; }
public string Name { get; set; }
public double Price { get; set; }
private string Notes;
public Toy()
{
Manufa... |
using System;
using Android.Widget;
using Android.Animation;
using Android.Views.Animations;
using Android.Views;
namespace Ts.Core
{
public class Tag : Java.Lang.Object
{
public string key;
public Object value;
}
public static partial class ExpandAnimation
{
private static... |
using homework_2.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace homework_2.Validation
{
public class ExamTitle: ValidationAttribute
{
private int _maxLength;
public ExamTitle(int ma... |
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 WindowsFormsApp1
{
public partial class frmSignupHelp : Form
{
p... |
using Newtonsoft.Json;
using QuestomAssets.AssetsChanger;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace QuestomAssets
{
/// <summary>
/// Keeps track of the status of mods relative to committed changes to the asset files
/// </summary>
internal class M... |
// SemanticActions.cs
// Author:
// Stephen Shaw <sshaw@decriptor.com>
// Copyright (c) 2011 sshaw
using System;
using System.Collections.Generic;
using Compiler.Parser;
using Compiler.Symbols;
namespace Compiler.Semantics
{
public class SemanticActions
{
readonly Stack<Operator> _opStack;
readonly Stac... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using API.Data;
using API.Entities;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace API.Controllers
{
public class OrdersController : BaseApiController
{
private readonly DataContext _conte... |
using bank_account_ddd_studies.domain.query;
namespace bank_account_ddd_studies.domain.queryHandler
{
public interface IQueryHandler
{
public string Operation { get; }
T Search<T>(IQuery query);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Animations;
public class AnimTest : MonoBehaviour {
public Animator ac;
private int ani = 0;
// Use this for initialization
void Start () {
StartCoroutine(SwitchAnim());
}
// Update is called once ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BankClassLib
{
public class OverdraftException : Exception
{
public OverdraftException(string str) : base(str)
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using WS_PosData_PMKT.Models.Base;
namespace WS_PosData_PMKT.Models.Object
{
[DataContract]
public class DetailEventsPromo
{
[DataMember]
public List<NoVisitMotive> List... |
using Dashboard.API.Application.Persistence.Repositories;
using Dashboard.API.Domain.Models;
using Dashboard.API.Persistence.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Dashboard.API.Persistence.Repositories
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using TouchScript;
public class ftlTouch
{
private int _id;
private int _pointId;
private float _time;
private Dictionary<int, List<ftlTouch>> _dictionary;
private int _numberOfSamplePoints = 3;
private Vector2 _screenPosition;
pr... |
using System;
using FinanceBot.Models.CommandsException;
using FinanceBot.Views.Update;
namespace FinanceBot.Models.CommandsExceptions
{
public class CategoryNotFoundException : CommandExeption
{
public CategoryNotFoundException(string categoryName)
{
base.BadCommand = string
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FaceBookQuestions
{
public class FaceBookQuestions
{
/*
* http://www.geeksforgeeks.org/forums/topic/facebook-interview-question-for-software-engineerdeveloper-about-al... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiMongoDb.Models
{
public class SinhVienDatabaseSettings : ISinhVienDatabaseSettings
{
public string SinhVienCollectionName { get; set; }
public string ConnectionString { get; set; }
... |
namespace GoogleARCore.HelloAR
{
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
using GoogleARCore;
using UnityEngine.UI;
public class HelloARController : MonoBehaviour
{
public Text camPoseText;
//public Text testText;
public GameO... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Animator))]
public class Enemy : MonoBehaviour
{
[SerializeField] private float _speed;
[SerializeField] private Transform _platformDetection;
private Animator _enemyAnimator;
private bool _platfo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Classes
{
public class A
{
public A()
{
Id = Guid.NewGuid();
}
public virtual Guid Id { get; set; }
public virtual string Name { get... |
using System.Configuration;
using System.Data;
using DapperExtensions.Sql;
using KRF.Common;
using KRF.Core;
using MySql.Data.MySqlClient;
namespace KRF.Persistence
{
public class DataAccessFactory : IDataAccessFactory
{
private readonly SecretsReader sReader_;
public DataAccessFactory()
... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Li... |
using UnityEngine;
using UnityEngine.UI;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System.Collections;
public enum GameState
{
Menu, Loading, NewPlay, ResumePlay, Lose, Win
}
public class GameManager : MonoBehaviour
{
public static GameState gameState;
public Maze mazePrefab;
public Player pl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SlipRoad : Road
{
public Road RoadA, RoadB1, RoadB2;
public bool ToggleRotate;
public GameObject ToggleSprite, RoadSprite;
public Sprite[] RoadSprites;
private void Start(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using OPC.Common;
using OPC.Data.Interface;
using OPC.Data;
using System.Runtime.InteropServices;
namespace AndonSCADA
{
class PC_Access
{
public String ServerProgID = "OPC.SimaticNet";//OPC服务... |
using Common.ViewModels;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace DesktopApp.Services
{
class AuthService : IAuthService
{
private string _signUpEndpoint = "https://localhost:43744/api/users... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using HelperLibrary.Models;
using Microsoft.AspNetCore.Mvc;
using ConnectLibrary.Service;
// For more information on enabling Web API for empty projects, visit htt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security.Claims;
using System.Threading;
using System.Web.Http;
namespace sfAPIService.Controllers
{
public class CDSApiController : ApiController
{
protected class CDSTokenProperti... |
using MediatR;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
// ReSharper disable once CheckNamespace
namespace OmniSharp.Extensions.DebugAdapter.Protocol
{
namespace Events
{
[Parallel]
[Method(EventNames.Initialized, Direction.ServerToClient)]
[Ge... |
namespace GabberPCL
{
public static class Config
{
public static string WEB_URL = "https://gabber.audio";
public static string API_ENDPOINT = "https://api.gabber.audio";
public static string DATABASE_NAME = "gabber.db3";
}
} |
using UnityEngine;
using System.Collections;
public class TutorialMainMenu : MonoBehaviour {
private float gopherIntroductionWaitTime = 5f; // in seconds
private float gopherObjectListExplainationWaitTime = 5f; // in seconds
private float gopherCameraButtonExplainationWaitTime = 4f; // in seconds
//private flo... |
namespace _15.MelrahShake
{
using System;
public class Startup
{
public static void Main(string[] args)
{
var text = Console.ReadLine();
var pattern = Console.ReadLine();
while (true)
{
var firstIndex = text.IndexOf(pattern);... |
using QuestomAssets.BeatSaber;
using QuestomAssets.Models;
using System;
using System.Collections.Generic;
using System.Text;
using QuestomAssets.AssetsChanger;
using static QuestomAssets.MusicConfigCache;
using System.Linq;
namespace QuestomAssets.AssetOps
{
public class AddNewSongToPlaylistOp : AssetOp
{
... |
namespace KRF.Core.Entities.ValueList
{
public class Country : ValueList
{
/// <summary>
/// Holds the Country ID information.
/// </summary>
public int ID { get; set; }
/// <summary>
/// Holds the Country Name information.
/// </summary>
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyList
{
class Program
{
static void Main(string[] args)
{
var numbers = new List<int>() {1,2,3,4,5}; ///using System.Collections.Generic; lisada ülesse, ku... |
using MonkeyCache.FileStore;
using Newtonsoft.Json;
using Plugin.Connectivity;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace Tindero.Api
{
public abstract class BaseCachedApiService
{
public const string BaseApiUrl = "https://reqres.in/api/";
private readonly Laz... |
using System.IO.Ports;
using System.Threading;
namespace VirtualSwitch
{
public class SwitchMcu:ISwitch
{
private bool[,] _switchArrays;
private string _visaAddress;
private int _responseTime;
private SerialPort _serialPort;
/// <summary>
/// 构造函数
... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.Linq;
using System.Text;
using NuGet.Frameworks;
using Xunit;
namespace NuGet.Packaging.Test
{
public class NuspecRe... |
using ECommerce.Models;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ECommerce.Tools
{
public class LoginService : ILoginService
{
private bool isConnected;
public bool IsConnected => isConnected;
... |
/*
* 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.
*
* What is the sum of the digits of the number 2^1000?
*/
#r "System.Numerics"
using System.Numerics;
var sum = BigInteger.Pow(new BigInteger(2), 1000).ToString().Select(x => char.GetNumericValue(x)).Sum();
Console.WriteLine(sum);
|
using LogicBuilder.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Contoso.Forms.Parameters.Common
{
public class ValidatorDescriptionParameters
{
public ValidatorDescriptionParameters()
{
}
public ValidatorDescriptio... |
using System;
namespace elevators
{
public class Building
{
public string name {get; set;}
public int noOfFloors {get; set;}
public int noOfElevators {get; set;}
public Building() {
name = "Trump Tower One";
noOfFloors = 11;
noOfElevators = ... |
using FatCat.Nes.OpCodes.Branching;
using JetBrains.Annotations;
namespace FatCat.Nes.Tests.OpCodes.Branching
{
[UsedImplicitly]
public class BranchIfPositiveTests : BranchTests
{
protected override string ExpectedName => "BPL";
protected override CpuFlag Flag => CpuFlag.Negative;
protected override bool Fl... |
namespace EfCore.Shaman
{
/// <summary>
/// Makes modification on ShamanOptions. Can be used for batch changes on ShamanOptions
/// </summary>
public interface IShamanOptionModificationService : IShamanService
{
#region Instance Methods
void ModifyShamanOptions(ShamanOptions op... |
using System.Collections.Generic;
namespace FileSearch
{
public interface ISearchMethod : IBaseSearchMethod
{
IList<IExtendedFileInfo> LoadAndFilter(IFilterStack filterStack);
IList<IExtendedFileInfo> LoadAndFilter(IFilterStack filterStack, SearchArgs searchArgs);
}
} |
using System;
using LubyClocker.CrossCuting.Shared.Common;
using MediatR;
namespace LubyClocker.Application.BoundedContexts.Projects.Commands.Delete
{
public class DeleteProjectCommand : BasicCommand<bool>
{
}
} |
using ComputerBuilderClasses.Contracts;
namespace ComputerBuilderClasses.SystemComponents
{
public class Cpu32Bit : BaseCpu, ICentralProcessingUnit
{
private const int Bit32Size = 500;
public Cpu32Bit(byte numberOfCores)
: base(numberOfCores, Bit32Size)
{
}
}
} |
namespace Count_Occurrences_of_Larger_Numbers_in_Array
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class CountOccurrencesOfLargerNumbersInArray
{
public static void Main(string[] args)
{
... |
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tasks;
using Microsoft.Xna.Framework.Graphics;
namespace AtarashiiMono.Framework.XNA
{
public abstract class AmTilesheet
{
public readonly Texture2D texture;
protected AmTilesheet(Texture2D texture)
{
this.texture = texture;
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ServiceDesk.Api.Services.BackgroundTasks
{
public interface ILicenseCheckerService
{
public void LicenseCheck();
}
}
|
using ScribblersPad.Objects;
using ScribblersSharp;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnitySaveGame;
/// <summary>
/// Scribble.rs Pad data namespace
/// </summary>
namespace ScribblersPad.Data
{
/// <summary>
/// A class that describes save game data
/// </summary>
... |
using System;
using Estaticos.Classes;
namespace Estaticos
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Conversão");
Console.WriteLine("Você quer converter de real para dolar ou de dolar para real? DIgite 1 para a primeira e 2 para a segunda op... |
namespace GeometricCalculators
{
public abstract class ShapeCalculator
{
public abstract string Name { get; }
public abstract double Area();
}
}
|
using System.Collections.Generic;
using System.Linq;
using ApiPomar.Models;
namespace ApiPomar.Repositorio
{
public class ArvoreRepository : IArvoreRepository
{
private readonly ArvoresDbContext _contexto;
public ArvoreRepository(ArvoresDbContext ctx)
{
_contexto = ctx;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace oopsconcepts
{
// Attribute
//Attributes allow you to add declareative information to your program.
//this information can be queried at runtime using reflection.
//there are several Pre-De... |
namespace E04_BinarySearch
{
using System;
public class BinarySearch
{
public static void Main(string[] args)
{
// Write a program, that reads from the console an
// array of N integers and an integer K, sorts the
// array and using the method Array.Bi... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace Project_CelineGardier_2NMCT2.model
{
class Band
{
public Band() { }
public Band(Band b... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
using UnityEngine.Rendering;
public class Lua_UnityEngine_Rendering_CommandBuffer : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
CommandBuffer o = new CommandBuffer();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace br.com.weblayer.logistica.core.Model
{
public class CenarioEntrega
{
public virt... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Unity_Dialogue
{
[CreateAssetMenu(fileName = "DialogueTree", menuName =
"ScriptableObjects/Dialogue Tree")]
public class DialogueTreeObject : ScriptableObject
{
public string npcName;
public string defaultS... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class ResultsController : MonoBehaviour {
Randomizer x;
public Text score, wins, verdict, examScore, classGrade;
private int wins2;
// Use this for initialization
void Start () {
x = GameObject.FindGameObjectWithTag ("Randomizer").GetComp... |
using Newtonsoft.Json;
using NUnit.Framework;
using Set.Api.Models;
using SetApi.Models;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Set.ApiTests
{
class PostValidSetTests
{
[Test]
public async Task TestPost... |
using System.Text.Json.Serialization;
namespace ZenHub.Models
{
public class IssueDetails
{
[JsonPropertyName("issue_number")]
public int IssueNumber { get; set; }
[JsonPropertyName("is_epic")]
public bool IsEpic { get; set; }
[JsonPropertyName("repo_id")]
pub... |
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Http;
using BankAccounts.Models;
using System.Linq;
using System;
namespace BankAccounts.Models
{
public class BankAccountsContext : DbContext
{
public BankAccountsContext(DbContextOptions options) : ba... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.PowerShell.EditorServices.Utility;
namespace Microsoft.PowerShell.EditorServi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace APIEcommerce.Responses
{
public class ProdutoResponse
{
public string IdProduto { get; set; }
public string Nome { get; set; }
public string Descricao { get; set; }
public... |
using Alarmy.Common;
using Alarmy.Core;
using Alarmy.Tests.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Alarmy.Tests.Core
{
[TestClass]
public class CSVImporterTests
{
pri... |
using AutoMapper;
using Amazon.Suporte.ViewModel;
using Amazon.Suporte.Model;
namespace Amazon.Suporte.Profiles
{
public class ProblemProfile : Profile
{
public ProblemProfile()
{
CreateMap<ProblemRequest,Problem>();
CreateMap<Problem, ProblemResponse>();
}
}... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BrakeBarController : MonoBehaviour {
float maxRotation = 129;
float currentRotation = 0;
private Player player;
// Update is called once per frame
void Update() {
float offset = 0;
... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class MaxMinCelciusScript : MonoBehaviour {
public bool knowsWeather;
private WeatherAPI weather;
Text tempText;
// Use this for initialization
// Use this for initialization
void Start () {
knowsWeather = false;
tempText = GameObject... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace FlexLabs.Glimpse.Linq2Sql
{
public class PluginTextWriter : TextWriter
{
private static PluginTextWriter _instance;
private static readonly object _instanceLock = new object();
... |
using UnityEngine;
using System.Collections;
using Infated.Tools;
using System.Collections.Generic;
namespace Infated.CoreEngine
{
public class SplashCheck : MonoBehaviour
{
public bool splashEnabled = false;
public List<Collider2D> splashList = new List<Collider2D>();
public int S... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Chess.Pieces
{
public class Pawn : Piece
{
public Pawn(Color color, int x, int y) : base(color, x, y)
{
}
protected override IEnumerable<(int X, int Y)> GetPossibleMovements(Board board)
... |
using System.Collections.Generic;
namespace Converter.UI.Settings
{
/// <summary>
/// A preference category is a set of IPreference objects that is related.
/// Each PreferenceCategory matches a <category> tag in Configuration.xml, and gets turned into a tab in the converter UI.
/// </summary>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MISA.Core.Interfaces
{
public interface IBaseRepository<T>
{
/// <summary>
/// Lấy toàn bộ dữ liệu của bảng trong database
/// </summary>
/// <returns>D... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CareerCup150.Chapter9_SortingSearch
{
public class _09_06_FindIn2DArray
{
public int FindIn2DArray(int[,] input, int value)
{
return 0;
}
}
}
|
namespace ClassInheritExercise
{
public interface IProfesor
{
int NumProfesor { get; set; }
Asignatura ProfeDe { get; set; }
string titulo { get; set; }
bool AprobarCosas();
void DarClasesDeCosas();
bool SuspenderCosas(IAlumno jc, bool yaMeReireYo);
}
} |
using System;
using System.Linq;
namespace _13._TriFunction
{
class TriFunction
{
static void Main(string[] args)
{
int targetASCII = int.Parse(Console.ReadLine());
string[] inputNames = Console.ReadLine().Split();
Action<string> Print = name =>... |
using HCL.Academy.Model;
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using HCLAcademy.Util;
using Microsoft.ApplicationInsights;
using System.Diagnostics;
namespace HCLAcademy.Controllers
{
public class SearchController : Controller
{
private static List<Result> lstResult;
... |
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 FlappyBird
{
public partial class Form1 : Form
{
... |
using System;
using System.Threading.Tasks;
using LannisterAPI.Models;
using Microsoft.AspNetCore.Mvc;
namespace LannisterAPI.Controllers
{
[Produces("application/json")]
public class TrackingController : Controller
{
[HttpGet]
[Route("trackings")]
[ProducesResponseType(typeof(TrackingList), 200)]
... |
using HedgeHog;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace IBApi {
public static class Mixin {
}
public partial class Contract {
private string HashKey =>... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using System;
using System.Diagnostics;
namespace EnhancedEditor
{
/// <summary>
/// Base class to derive all custom method att... |
using UnityEngine;
public class StopPlay : MonoBehaviour {
public Manager manager;
// Use this for initialization
void Start () {
manager.StopPlayerControlls(true);
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using ... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using System.Text.RegularExpressions;
using Whale.Shared.Models;
using System.Linq;
using Whale.Shared.Services;
using Whale.Shared.Exceptions;
using Whale.Shared.Models.User;
using System.Security.Cla... |
using System.Collections;
using System.Collections.Generic;
using AorBaseUtility;
public class ErlByteKit
{
public static ErlType simpleAnalyse(ByteBuffer data)
{
int position = data.position;
int tag = data.readByte();
data.position = position;
if (tag == ErlByte.TAG)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... |
using RGB.NET.Core;
using System;
namespace RGB.NET.Devices.CorsairLink
{
/// <inheritdoc />
/// <summary>
/// Represents a generic information for a Corsair Link-<see cref="T:RGB.NET.Core.IRGBDevice" />.
/// </summary>
public class CorsairLinkRGBDeviceInfo : IRGBDeviceInfo
{
// we cou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.