text
stringlengths
13
6.01M
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved * * 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 * * Unles...
using PICSimulator.Helper; namespace PICSimulator.Model.Commands { // <summary> // The contents of the W register are // added to the eight bit literal 'k' and the // result is placed in the W register . // </summary> class PICCommand_ADDLW : PICCommand { public const string COMMANDCODE = "11 111x kkkk kkkk"...
using Microsoft.VisualStudio.TestTools.UnitTesting; using NSubstitute; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using Assert = NUnit.Framework.Assert; namespace SWT_20_ATM.Test.Unit { [TestClass] public class UnitTestATM { private ATM uut; p...
 public enum LevelObjectType { DestroyableWall = 1, IndestructibleWall = 2, BombPowerUp = 3, FirePowerUp = 4, LobbyReadyPoint = 5, SpawnPoint = 6 }
namespace E08_PrimeNumberCheck { using System; public class PrimeNumberCheck { public static void Main(string[] args) { // Write an expression that checks if given positive integer number n // (n = 100) is prime (i.e. it is divisible without remainder only to itsel...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using ActiveUp.Net.Mail; using GmailImap; using GmailImap.Implementation; using MimeKit; using NUnit.Framework; using MimePart = ActiveUp.Net....
using System; using System.Collections.Generic; using System.Linq; using System.Web; //实体类与数据库的表相对应,实体类信息或许会比数据库多 /// <summary> /// UserInfo 的摘要说明 /// </summary> public class UserInfo { public string username; public string password; }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class ForceFieldMesh : MonoBehaviour { GameObject[] objects; // subobjects to be manipulated Mesh[] original; // meshes before maniulation SimplexNoise noise; public GameObject centerDum...
/* Task 1. Write a program that tests the behavior of the CalculateSurface() * method for different shapes (Circle, Rectangle, Triangle) stored in an array. */ using System; using System.Collections.Generic; using ShapesLibrary; class ShapesTest { static void Main() { Shape[] shapesList = new Shap...
using System; using MySql.Data.MySqlClient; using System.Windows.Forms; namespace The_Shop { public partial class ProductForm : Form { public ProductForm() { InitializeComponent(); try { RefreshList(); } catch ...
using Microsoft.IdentityModel.Tokens; namespace SkillsGardenApi.Security { public class TokenIdentityValidationParameters : TokenValidationParameters { public TokenIdentityValidationParameters(string Issuer, string Audience, SymmetricSecurityKey SecurityKey) { RequireSignedTokens = true; ...
using System; using System.Linq; using System.Collections; using System.Collections.Generic; namespace Yasl { public interface ISerializer { void SerializeConstructor(ref object value, ISerializationWriter writer); void SerializeContents(ref object value, ISerializationWriter writer); v...
using UnityEngine; using UnityEngine.UI; using System; /** * Represents a single item in a database's sprite cache. Contains a sprite and a key (usually the filename or path) to refer to it by * Also keeps track of the size (in bytes) of the item */ public class CacheItem { public Sprite sprite; public string k...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; [RequireComponent(typeof(NavMeshAgent))] // 스크립트를 적용했을때, NavMeshAgent를 자동으로 적용시켜줍니다. public class Bots : MonoBehaviour { public float Random_X; //X축의 위치를 무작위합니다. public float Random_Z; //Z축의 위치를 무작위합니다. ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public class Score : MonoBehaviour { #region Public & Serialized Members public GameObject m_player; #endregion #region Private & Protected Members private int score; ...
using System; using System.Collections.Generic; using UnityEngine; using System.Linq; public class StartUpCommand : Controller { public override void Execute(object data) { //注册模型 RegisterModel(new M_Bag()); //注册视图 RegisterView(GameObject.Find("Bag").GetComponent<V_Bag>()); ...
namespace PlatformRacing3.Common.Exceptions; public class XmlSerializerCompatibleException : Exception { }
using System; using System.Data.OleDb; using System.IO; using System.Xml; using exportXml.Validari; namespace exportXml.Exporturi { public class CAP5a { public static bool make_CAP5axml(string strIdRol) { try { string strGosp = strIdRol.Substring(0, strId...
using System; using System.Collections.Generic; using System.Text; namespace WPFCore.Models { public class Option { public string name { get; set; } public float price { get; set; } public Restaurant restaurantid { get; set; } } }
using Extension; using System; using System.Collections.Generic; using UnityEngine; using Zenject; namespace Lonely { public abstract class FSM<TState> : IInitializable, ITickable, IDisposable where TState : State { #region Explicit Interface void IInitializable.Initialize() {...
//----------------------------------------------------------------------- // <copyright file="Variable.cs" company="None"> // Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace TQVaultAE.Domain.En...
/* * Copyright 2019 Samsung Electronics Co., Ltd. All rights reserved. * * Licensed under the Flora License, Version 1.1 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://floralicense.org/license * * Unless required by appli...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using treatment.Models; namespace treatment.Controllers { public class DeseaseController : Controller { private CommunityDBContext d...
using System; using Aqueduct.SitecoreLib.Examples.SampleApplication.Business.StructureMap; using StructureMap; namespace Aqueduct.SitecoreLib.Examples.SampleApplication.Web { public class Global : System.Web.HttpApplication { protected void Application_Start(object sender, EventArgs ...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using Microsoft.AspNet.Identity.Owin; using MinimalOwinWebApiSelfHost.Models; namespace MinimalOwinWebApiSelfHost.Controllers { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SinavSistemi.Entity { public class KonuEntity { public int konuID { get; set; } public string konuAdi { get; set; } } }
using System; using System.ComponentModel.DataAnnotations; namespace Chefs_and_Dishes.Models { public class Dish { [Key] public int DishId { get; set; } [Required(ErrorMessage = "Please enter dish name!")] [MaxLength(45)] [Display(Name = "Dish Name:")] public str...
namespace Castle.MonoRail.ViewComponents.TestSite.Controllers { using System; using System.Collections.Generic; using Castle.MonoRail.Framework; using Castle.MonoRail.Framework.ViewComponents; [Layout("default")] public class DualListController : SmartDispatcherController { public vo...
using System; using System.Drawing; using System.Drawing.Printing; using System.Runtime.InteropServices; using System.Windows.Forms; namespace HelperFramework.WinForms { /// <summary> /// DataGridView RichTextBox Column /// </summary> public class DataGridViewRichTextBoxColumn : DataGridViewColumn { /// <summar...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Polly; using Polly.Registry; namespace Im.Access.GraphPortal.Data { public class ChaosPolicyStore : IChaosPolicyStore { private readonly O...
using System; namespace BeginningConsoleApp1 { class Program { const String gay = "truly gay"; static void Main(string[] args) { Console.WriteLine("Hey there, type your age! I wanna know!"); int age = Convert.ToInt32(Console.ReadLine()); ...
using Microsoft.Practices.Unity; using bringpro.Data; using bringpro.Web.Classes.Tasks.HangFire; using bringpro.Web.Domain; using bringpro.Web.Models.Requests; using bringpro.Web.Services.Interfaces; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using...
using System.Xml.Serialization; namespace MonoGame.Extended.Tiled.Serialization { public struct TiledMapTileContent { [XmlAttribute(AttributeName = "gid")] public uint GlobalIdentifier; } }
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; namespace SiDualMode.InputAdapter.YahooFinanceAdapter { /// <summary> /// Payload type for the generator adapters. /// </summary> public class YahooDataEvent { private const string BASE_URL = "http://quer...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TTT { class Board { public static String Draw(String[] pieces) { return ("[ " + pieces[7] + " ][ " + pieces[8] + " ][ " + pieces[9] + " ]\n" + ...
namespace Aqueduct.Presentation { public interface IAbstractView { bool IsFirstViewing { get; } } }
namespace Fairmas.PickupTracking.Shared.Models { /// <summary> /// This model represents options that can be used in service requests to define which figures are requested from /// the data backend service. If the properties are not explicitly set in requests, the appropriate figures will /// not be ...
using System; using System.Collections.Generic; using System.Linq; using ZeroFormatter.Internal; using ZeroFormatter.Segments; #if !UNITY using System.Reflection; using System.Reflection.Emit; #endif namespace ZeroFormatter.Formatters { // Layout: [int byteSize][lastIndex][indexOffset:int...][t format...], byteS...
/* * 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.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using Peppy.Socket.Manager; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace Peppy.Socket { public class SocketManager : ISocketManag...
namespace NDDDSample.Domain.Model.Locations { #region Usings using Infrastructure.Validations; using Shared; #endregion /// <summary> /// A location is our model is stops on a journey, such as cargo ///origin or destination, or carrier movement endpoints. /// /// It is uniquely...
using Checkout.Payment.Identity.Domain.Interfaces; using Checkout.Payment.Identity.Domain.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Checkout.Payment.Identity.Data.Repositories { public class ApiKeyRepository : IApiKeyRepository { ...
using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using BPiaoBao.DomesticTicket.Domain.Models.Insurance; namespace BPiaoBao.DomesticTicket.EFRepository.InsurancesMap { public class InsuranceConfigMap:EntityTypeConfiguration<Insurance...
namespace Microsoft.DataStudio.UxService.Contracts { public enum DiagnosticsEventType { LogEvent, UsageEvent } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace API_FlashSales.Objects { public class Product { public int ID; public int IDTipo; public int IDUnidad; public string Nombre; public decimal Precio; public string Usern...
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.Management; using System.Diagnostics; using System.Runtime.InteropServices; using Microsoft....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; using System.Data; using System.Configuration; using CapaEntidades; namespace CapaDatos { public class D_Presentacion { //Instancia de la cadena de coneccio...
// ----------------------------------------------------------------------- // <copyright file="Constants.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root // for license information. // </copyright> ...
using System; using UnityEngine; using KSP.IO; namespace CameraFocusChanger { [KSPAddon(KSPAddon.Startup.Flight, false)] public class CameraFocusChanger : MonoBehaviour { FlightCamera flightCamera; float pivotTranslateSharpness; Transform targetTransform; UnityEngine.KeyCod...
using AbstractFactoryPattern.Models; namespace AbstractFactoryPattern { internal class ChineseCabbage : Vegetable { } }
using SQLite; namespace CapstoneTravelApp.DatabaseTables { public interface ITravelApp_db { SQLiteConnection GetConnection(); } }
using Client.UIControllers; using Domen; 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 Client.Forms { public partial class FrmAddJacinaL...
using RestSharp.Serializers; namespace Jira.NET.Models { public class JiraUserAuthentication { public JiraUserAuthentication(string userName, string password) { UserName = userName; Password = password; } [SerializeAs(Name = "username")] public ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace cocoapuffs { class CotophaConst { public string name; public int referenceCount; public List<int> references = new List<int>(); } }
using UnityEngine; using System.Collections; using System.IO; using UnityEngine.UI; /** * Script for the message that appears below the input field on the main menu * If something is wrong with path in the field, this will apepar and explain the problem * Also disables the launch button if there is an error */ pu...
using UnityEngine; [CreateAssetMenu(fileName = "DebugObject", menuName = "Objects/Debug Object")] public class DebugObject : ScriptableObject, ICall { [SerializeField] private string value; public string Value { private get { return value; } set { this.value = value; } } ...
using System.Drawing; using Top_Down_shooter.Scripts.Components; using Top_Down_shooter.Scripts.Source; using Top_Down_shooter.Scripts.UI; namespace Top_Down_shooter.Scripts.GameObjects { class Player : Character { public Gun Gun { get; set; } public override int Health { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArticleSubmitTool.Shared.Helpers { public static class JSONSerializer { public static string Serialize(object data) { return Newtonsoft.Json.JsonConvert.Se...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Dynamic; using System.Web; using System.Web.ModelBinding; using System.Web.UI; using System.Web.UI.WebControls; using YoutubePlaylists.Data.Models; using YoutubePlaylists.Data.Repositories; namespace YoutubePlaylists.WebForms.Admin.P...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering.PostProcessing; using extOSC; public class DelayEffect : MonoBehaviour { public Material materialDrunk; void OnRenderImage(RenderTexture source, RenderTexture destination) { Graphics.Bl...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Diligent.API.Dtos { public class UserDto { public UserDto() { Tasks = new HashSet<TaskDto>(); } public int Id { get; set; } [Required] [StringLength(254)] ...
using System.Threading; using System.Threading.Tasks; namespace OmniSharp.Extensions.DebugAdapter.Protocol.Server { /// <summary> /// Gives your class or handler an opportunity to interact with /// the <see cref="IDebugAdapterServer" /> after the connection has been established. /// </summary> pub...
namespace Standard { using System; internal enum SHCONTF { CHECKING_FOR_CHILDREN = 0x10, ENABLE_ASYNC = 0x8000, FASTITEMS = 0x2000, FLATLIST = 0x4000, FOLDERS = 0x20, INCLUDEHIDDEN = 0x80, INIT_ON_FIRST_NEXT = 0x100, NAVIGATION_ENUM = 0x1000,...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Net; namespace bank_server { class Writing { Database db; public KeyPress presser; public Writing() { presse...
namespace TPLinCSharpSample { using System; using System.Collections.Generic; using System.Threading.Tasks; class Program { public static readonly List<string> AllShirtNames = new List<string> { "Levis", "Roadster", "KGF", "Rowdy" ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using EnglishHubRepository; using Microsoft.Extensions.Options; using EnglishHubApi.Models; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using MongoDB.B...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Security.Cryptography; using System.Text; namespace Server.Base.Helper { public static class TimeHelper { private static readonly long epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)....
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Main : MonoBehaviour { public float staticSphereRadius; public float dynamicSphereRadiusMin; public float dynamicSphereRadiusMax; public Transform[] staticSpheres; public Vector3 minSpace; publi...
using System.Collections; using System.Collections.Generic; using UnityEngine; //using NaughtyAttributes; public class AttractorHazard : MonoBehaviour { // Configurable Parameters [SerializeField] float gravityStrength = 450.0f; [SerializeField] float pulseFrequency = 1.0f; // State Variable float pulseStrength...
using System; using System.Collections.Generic; using System.Linq; using System.Net; namespace Swiddler.NetworkSniffer { class IPFragmentReassembly { public RawPacket ReassembledPacket { get; private set; } public readonly DateTime TimestampUtc = DateTime.UtcNow; readonly List<IPFragm...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; using Task1; namespace ConsoleApplication { class XMLBookService:IBookService { private readonly string _filePath; public XMLBookService(...
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MonoGame.Extended.NuclexGui.Input; using MonoGame.Extended.NuclexGui.Visuals; using MonoGame.Extended.NuclexGui.Visuals.Flat; using GameEventHandler = System.EventHandler<System.EventArgs>; namespace MonoGame.Extended.NuclexGui...
using System.Collections.Generic; namespace RipplerES.CommandHandler { public interface ISerializer { IAggregateEvent<T> Deserialize<T>(AggregateEventData aggregateEventData); AggregateEventData Serialize<T>(IAggregateEvent<T> @event, Dictionary<string, string> metaData); } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using SKT.WMS.WMSBasicfile.BLL; using SKT.WMS.WMSBasicfile.Model; using SKT.WMS.Web.AjaxServices.Vendor; namespace SKT.MES.Web.WMSBasicfile { public partial class WMSVendorEdi...
using System.ComponentModel.DataAnnotations; namespace Poker.Enums { public enum Suit { [Display(Name = "h")] Hearts, [Display(Name = "d")] Diamonds, [Display(Name = "s")] Spades, [Display(Name = "c")] Clovers } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using LibSelection; namespace RgxC.Translators { public class SimpleASTranslator2 : ASTranslator { #region regexes /// <summary> ///...
using System.Linq; using System.Text; namespace XCI_Organizer { public static class NACP { public class NACP_String { public byte[] Data; public byte Check; public string GameName; public string GameAuthor; public NACP_String(byte[] d...
using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; //using System.Threading.Tasks; using Xunit; namespace WebInv.Server.Test { public class UnitTest102 { private readonly TestServer server; private readonly HttpClient client; //public UnitTest1...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace lab1 { static class Operation { public static double Area(Conoid ob) => ob.Height / 3 * (Math.Sqrt(ob.RadDown * ob.RadUp)); public static bool InBox(this Conoid ob, int ...
using CQRS_Read_Infra.Persistence.Pessoa; using System; using System.Collections.Generic; using System.Text; namespace CQRS_Read_Infra.Persistence { public interface IContexto { IPessoaRepository Pessoa { get; set; } } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Sockets; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Threading; using Adaptive.Aeron; using Adaptive.Aeron.LogBuffer; using Adaptive.Agrona; using Adaptive.Agrona.Concurrent; us...
using Assets.Scripts.RobinsonCrusoe_Game.Cards; using Assets.Scripts.RobinsonCrusoe_Game.Cards.DiscoveryTokens; using Assets.Scripts.RobinsonCrusoe_Game.Cards.DiscoveryTokens.Collection; using System.Collections; using System.Collections.Generic; using UnityEngine; public class DiscoveryToken_Stash : MonoBehaviour { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GunController : MonoBehaviour { public bool isFiring = false; public BulletController bullet; public float timeBetweenShot; private float shotCounter; private GameObject player; public Transform[] f...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MapToggleManager : MonoBehaviour { bool isMapActive = false; [SerializeField]GameObject worldMap; public void toggleMap(){ if (isMapActive){ isMapActive = false; worldMap.SetActive...
using UnityEngine; using System.Collections; using uAdventure.Core; namespace uAdventure.Editor { public class SelectLineAudioPathTool : SelectResourceTool { protected const string AUDIO_STR = "audio"; protected ConversationLine line; protected static AssetInformation[]...
using UnityEngine; using System.Collections; public class BlackOrbitBehavior : MonoBehaviour { void OnTriggerEnter(Collider collider) { switch(collider.gameObject.name) { case "BlackOrbit": Destroy (this.gameObject); break; } } }
using System.Collections.Generic; using System.Linq; using NGrams.Profiles; namespace NGrams.DistanceCalculation { /// <summary> /// Базовый класс для функций расстояния. содержит расширения для определения ближайшего соседа из нескольких вариантов /// </summary> public abstract class DistanceBase:IDi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Easy4net.CustomAttributes; namespace HealthCloud.DBModel { [Table(Name = "T_TemplateDetail")] public class VTemplateDetail : TTemplateDetail { [Column(Name = "ActionImages")] public string ActionImag...
/// /// Generated by Sybase AFX Compiler with templateJ /// Compiler version - 2.2.6.482 /// mbs - false /// using System; using System.Reflection; namespace MMSCAN { public class MBO_TMC_FIELDS_LOC : Sybase.Persistence.ILocalBusinessObject, Sybase.Reflection.IClassWithMetaData { #reg...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FireTrail : MonoBehaviour { public GameObject scorchFire; public float timeBtwSpawn = 0.5f; private float startTimeBtwSpawn; // Update is called once per frame void Update() { if (startTimeBtwS...
using AutoMapper; using Enrollment.Common.Utils; using Enrollment.Parameters.Expansions; using Enrollment.Parameters.Expressions; using LogicBuilder.Attributes; using LogicBuilder.EntityFrameworkCore.SqlServer.Repositories; using LogicBuilder.Expressions.Utils.ExpressionBuilder; using System; using System.Linq; using ...
namespace ConfigurationNetCore2.Configuration { public class KafkaConfiguration { public string Server { get; set; } public string Port { get; set; } public string Environment { get; set; } } }
using AuthProject.Models; using AuthProject.ViewModels; using Microsoft.EntityFrameworkCore; using System; using System.Security.Cryptography; using System.Threading.Tasks; namespace AuthProject.Services { public interface IUserService { Task<UserViewModel> CreateAsync(UserCreateModel model); ...
using System; using System.IO; namespace DriveInfoExample { class Program { static void Main(string[] args) { DriveInfo[] allDrives = DriveInfo.GetDrives(); foreach (DriveInfo d in allDrives) { Console.WriteLine($"Drive {d.Name}"); ...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using greenlife1.DAL; namespace greenlife1.BLL { public class DoctorManager { private DoctorGetaway doctorGetaway = new DoctorGetaway();...
using System.ComponentModel; using System.Runtime.CompilerServices; namespace Logic.Models { public class GrassCell : INotifyPropertyChanged { private int _neededAliveNeighborsTurnsToGrow; public Params Params { get; private set; } public int NeededAliveNeighborsTurnsToGrow {...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class IKTargetScript : MonoBehaviour { public GameObject enemy; public EnemyScript enemyScript; // Start is called before the first frame update void Start() { enemy = GameObject.Find("Enemy");...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using LibraryProjectMvc.Models.Entity; namespace LibraryProjectMvc.Models.Classes { public class Class1 { public IEnumerable<Books> bookValue { get; set; } public IEnumerable<Abouts> aboutValue { get; set; } ...
using System; using System.Collections.Generic; using System.Text; namespace Aeropuerto { class Vuelo { public int Id { get; set; } public DateTime Fecha { get; set; } public int IdAvion { get; set; } public int IdPiloto { get; set; } public Avion Avion { get; set; } ...
using System; namespace HelperFramework.DataType { // <summary> // Number Helper // </summary> // <remarks> // There is no identiefier for all numeric datatypes. // Using the using-shortcut allows us to copy &amp; paste the code below for all numeric datatypes. // Downside is that we need to copy &amp; paste ...