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 |
|---|---|---|---|---|---|---|
b9b3017af89b5680c0abc37c24db93ed03b5693c | C# | radhakrishnan-sphata/FlightBoard | /ClassLibrary1/Security/BasicSecurity.cs | 2.828125 | 3 |
using FlightBoard.Core.Services;
using System;
using System.Security.Cryptography;
using System.Text;
namespace FlightBoard.Core.Security
{
public class BasicSecurity
{
public static string key = "fb$123";
public static string Encrypt(string data)
{
try
{
... |
ddae950bc69c6ca9e59b157c957c9f8fb56254fd | C# | akilhoffer/Reactor | /Reactor/Configuration/IConfigurationStore.cs | 2.96875 | 3 | namespace Reactor.Configuration
{
public interface IConfigurationStore
{
/// <summary>
/// Stores the configuration value at the specified key.
/// </summary>
/// <param name="key">The key.</param>
/// <param name="value">The value.</param>
void StoreConfiguratio... |
8b161879ceeffbf9430d4fed2a40f9579ebb20ac | C# | jahin44/ASP_DOT_NET | /Console/CSharp-Features/Threads/Program.cs | 3.53125 | 4 | using System;
using System.Threading;
namespace Threads
{
class Program
{
static void Main(string[] args)
{
var program = new Program();
var Thread1 = new Thread(program.PrintNumbers1);
var Thread2 = new Thread(new ThreadStart(PrintNumbers2));
Th... |
c158a337a36120f46214c35fbb0b6cc603dedd78 | C# | Bushische/LeetCodeTests | /Medium/Problem_0062.cs | 3.4375 | 3 | using System;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Specialized;
namespace LeetCodeTests
{
public abstract class Problem_0062
{
/*
A robot is located at the top-left corner of a m x n grid(marked 'Start' in the diagram below).
The robot can only move either down or r... |
20016b65008cc1aec8422fbfb8bf446689bfa5b3 | C# | horseyhorsey/RetroDb | /src/Data/RetroDb.DataSqlite/Context/RetroDbContext.cs | 2.609375 | 3 | using Microsoft.EntityFrameworkCore;
using RetroDb.Data;
using System;
using System.IO;
namespace RetroDb.DataSqlite
{
public class RetroDbContext : DbContext
{
public DbSet<Developer> Developers { get; set; }
public DbSet<Emulator> Emulators { get; set; }
public DbSet<Game> Games { ge... |
b5582c46b572d6c80b1437c64415aaca1dfa2d19 | C# | thaotrant/SeleniumWebdriver | /ComponentHelper/ButtonHelper.cs | 2.71875 | 3 | using OpenQA.Selenium;
namespace SeleniumWebdriver.ComponentHelper
{
public class ButtonHelper
{
private static IWebElement element;
public static bool IsButtonEnabled(By locator)
{
element = GenericHelpers.GetElement(locator);
return element.Enabled;
}
... |
671bd9ab8e60ae6cf6849c1b4c58c6f171e0a89b | C# | PavelArbuzovKgd/2Lesson | /2Lesson/Task3.cs | 3.109375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2Lesson
{
class Task3
{
int c = 0;
public int CalcRec(int a, int b)
{
for (int i = 0; i < 2; i++)
{ ... |
4aedfe0e04f63ff9c89d2494d5a95e4d2b129713 | C# | InaGlushkova/CookBook | /CookBook/ViewModel/RegisterViewModel.cs | 2.734375 | 3 | using CookBook.Helpers;
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.Media.Imaging;
namespace CookBook.ViewModel
{
class RegisterViewModel : ViewModelBase
{
... |
dfd9b512830cd0415ca202701ff291a68ece278b | C# | martinkrivanek/Cajovna | /branches/src/Cajovna/Cajovna/Models/PolozkaMenu.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Cajovna.Models
{
public class PolozkaMenu
{
public int polozkaMenuID { get; set; }
public double price_sell { get; set; }
[Require... |
ab231c1244e0993ff6c6846d17fc601879e4bec9 | C# | shendongnian/download4 | /first_version_download2/127810-9080512-20564444-2.cs | 3.109375 | 3 | public static class DatabaseManager
{
//set connection string for SQL Server Express Edition
static string connString = @"Data Source=LOCALHOST\SQLEXPRESS;Initial Catalog=DocumentStore;Integrated Security=True;Pooling=False";
//method to save document to datab... |
0ed85c9aa95eb6db27f5ed92e66cf036c3ed8947 | C# | squidblinkgames/reverie-server | /Reverie/Cache/WorldCache.cs | 2.765625 | 3 | namespace Reverie.Cache
{
using System;
using System.Collections.Generic;
using PrimitiveEngine;
public static class WorldCache
{
private readonly static Dictionary<EntityWorld, ReverieState> cache;
#region Constructors
static WorldCache()
{
cache = new Dictionary<EntityWorld, ReverieState>();
}
... |
57d918cb65a7e19716cdc42fec69cebf67d725d3 | C# | Mohammad-Ali-romani/convid-19 | /WebApplication1/DBHnadler.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
namespace WebApplication1
{
public class DBHnadler
{
employee emp;
public DBHnadler()
{
}
public DBHnadler(employee emp)
{
this.emp = emp;
... |
c5ea21b49e8845d141e64ba6e56417af83bb56db | C# | banksemi/Gachon-Village | /GachonServer/MainServer/Network/NetworkMessageList.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NetworkLibrary;
using Newtonsoft.Json.Linq;
namespace MainServer
{
/// <summary>
/// 이 클래스는 소켓에 메세지를 캡슐화를 한것처럼 쉽게 전송할 수 있도록 지원합니다.
/// </summary>
static class NetworkMessageList
... |
2ca42b87e63cf92db90d6a6925e1a812535f6079 | C# | AleOshiro/taller-vi | /TrabajosPracticos/TrabajosPracticos/Circulo.cs | 3.265625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrabajosPracticos
{
class Circulo : Interface
{
private double radio, area, perimetro, pi = Math.PI;
public Circulo(double radio)
{
this.radio = ra... |
3e06e238052ad75ee57c881d5cad9b158f8677b2 | C# | MuhammaHamza/Visual-Programming | /mathematicalfunc/Program.cs | 3.359375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mathematicalfunc
{
class Program
{
public static void func1()
{
int num = 0;
int power = 0;
Console.WriteLine("enter n... |
a58f189375a9c90d5902fae9a323d07d0ecceeaa | C# | hujgup/DiscordApi | /Echo.Utils/IReadOnlyDictionaryExtensions.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace Echo.Utils {
// ReSharper disable once InconsistentNaming
public static class IReadOnlyDictionaryExtensions {
public static bool ContainsValue<TKey, TValue>(th... |
0a7f2de7588926580f6b82eb7ed25eb35855d276 | C# | borealwinter/simpl | /SIMPL_DAL/Enums/EnumExtension.cs | 3.53125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
namespace SIMPL.DAL.Enums
{
public static class EnumExtension
{
/// <summary>
/// Contains Enum Type and dictionary containing enum value and it's string value.
/// </summary>
private static readonly IDictionary... |
68806c9094d47b68afe180a6291bcea4cdc1afe0 | C# | matiascc/TP4 | /Ej2_Test/MatematicaTest.cs | 2.90625 | 3 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ej2;
namespace Ej2_Test
{
[TestClass]
public class MatematicaTest
{
[TestMethod]
public void TestDividir1()
{
double mDividendo = 50;
double mDivisor = 10;
double mResultado... |
c04677a8e6fb9b7a134ef72c816e2a0994673b60 | C# | ForestFox1997/Programming | /Наследование и полиморфизм/Form_Width.cs | 2.53125 | 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 static Наследование_и_полиморфизм.Application_logic;
namespace Наследование_и_полиморфизм
{
pu... |
c3c8ea749d5be743a10aaa6ee0d43bb56298fb1a | C# | Lambert-M/MakeMyQuiz | /Assets/Data/RoundData.cs | 2.640625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class RoundData {
//manche 1 , blindtest ...
public string Type { get; set; }
public bool IsBuzzRound { get; set; }
public List<TopicData> Topics { get; set; }
public RoundData(string type, L... |
3bfe2ef683108d1a604e2db2468786a615574411 | C# | Rowen0331/Weather.Coding.Challenge | /Coding.Challenge/Weather.Coding.Challenge/ConsoleWriter.cs | 3.265625 | 3 | using System;
using System.Linq;
using Weather.Coding.Challenge.Services.Model;
namespace Weather.Coding.Challenge
{
public static class ConsoleWriter
{
public static void ExitApplication()
{
Console.WriteLine("Press any key to exit application..");
Console.ReadLine();
... |
acad8dfaa844a1e033187dc4f0abd777eef6180d | C# | bopopescu/Coding-Dojo-assignments | /netCore/Entity_Framework/exam_2/Models/ErrorViewModel.cs | 2.90625 | 3 | using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
/*
dotnet ef database update
dotnet ef migrations add -name
commands for migrating and updating database!
*/
namespace login_registration.M... |
e8faba3b46464ddb0c84e5654299a0e42b09177e | C# | PaulZero/OctopusApi | /OctopusApi.Client/Responses/GetConsumptionResult.cs | 2.8125 | 3 | using OctopusApi.Consumption;
using System;
using System.Linq;
namespace OctopusApi.Client.Responses
{
public class GetConsumptionResult
{
public bool HasItems => Items.Length > 0;
public ConsumptionUnit Unit { get; set; }
public ConsumptionItem[] Items
{
get => _... |
8b1b65500607962a4a566057842304ad3eb14ed4 | C# | anarki2600/lessons3 | /lesson3.1/Program.cs | 3.828125 | 4 | using System;
namespace lesson3._1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Введите размер матрицы");
int matrix = int.Parse(Console.ReadLine()); /* Число из string преобразовываем в int и создаем переменную matrix
... |
fbacf84c4ce2fe1f2b7ebff56b786ef5e93bac8f | C# | abaranauskas/Object-Oriented-Programming-Fundamentals-in-C-Sharp | /acme.Common.Test/StringHandlerTest.cs | 2.5625 | 3 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Acme.Common;
namespace acme.Common.Test
{
[TestClass]
public class StringHandlerTest
{
[TestMethod]
public void InsertSpacesTestValid()
{
string source = " SonicScrewdriver";
... |
c319daa590410555467375a1cf56f2a04813cf9b | C# | SwastikDevendra/VirtualizingUniformGrid | /VirtualizingUniformGrid/CollectionToBind.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace VirtualizingUniformGrid
{
public class CollectionToBind : INotifyPropertyChanged
... |
973cae32c437c04ba9a9581745477d216514a95b | C# | adrielleAm/PortalCorreios | /Portal Correios BackEnd/PortalCorreios.Business/EncomendaBusiness.cs | 2.578125 | 3 | using Microsoft.AspNetCore.Http;
using PortalCorreios.Domain.Dto;
using PortalCorreios.Interface.Business;
using PortalCorreios.Utils.BusinessException;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PortalCorreios.Business
{
public class EncomendaB... |
2bd125deb5dcaa45594a1f5db14c678362a3cda4 | C# | RicardinhoFilho/CSharp-Varied-Examples | /Exemplos _Variados/AdicionandoExtesõesAClasseListGenerica/ListExtensoens.cs | 3.375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdicionandoExtesõesAClasseListGenerica
{
public static class ListExtensoens
{
/// <summary>
/// Método genérico "T" que facilita a ad~ção de itens em nossa lista
... |
c8a495f40fca9a5bc5aec2ca74000fac8d531fe2 | C# | JulianVolodia/wincompose | /src/composer/Log.cs | 2.59375 | 3 | //
// WinCompose — a compose key for Windows — http://wincompose.info/
//
// Copyright © 2013—2018 Sam Hocevar <sam@hocevar.net>
// 2014—2015 Benjamin Litzelmann
//
// This program is free software. It comes without any warranty, to
// the extent permitted by applicable law. You can redistribute it
//... |
85d01066ce7b6e0d5c9b8fcdf8e7a24ae94724eb | C# | ayushkumarsinha/Zilon_Roguelike | /Zilon.Core/Zilon.Core/Scoring/IPlayerEventLogService.cs | 2.53125 | 3 | using Zilon.Core.Tactics;
namespace Zilon.Core.Scoring
{
/// <summary>
/// Сервис для логирования событий, связанных с персонажем игрока
/// </summary>
public interface IPlayerEventLogService
{
/// <summary>
/// Зафиксировать событие.
/// </summary>
/// <param name=... |
799c3f9d12315e1279973bf44c7fd37d02bed577 | C# | Boydbueno/Hondenstreken | /HondenStreken/HondenStreken/Classes/Graphics/Overlay/Cursor.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace HondenStreken
{
class Cursor : MouseGameElement
{
#region Constructors
/// <summary>
... |
d70986ed048dba150bd3a63d184eccbca69d1521 | C# | DotNet-projects-UCaldas/Proyecto_Software_II_BlastCode_2021_01 | /Aplicacion/AppCore/AccesoDatos/DAOs/MesaDAO.cs | 2.640625 | 3 | using AccesoDatos.Interfaces;
using AccesoDatos.Modelos;
using AccesoDatos.Repositorios;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AccesoDatos.DAOs
{
/// <summary>
/// Clase Data Access Object para gestionar la Clase MesaModel... |
eb37b35f44c1764ea95d9ad089bbf6007b62b07a | C# | rakeshdangar/DataStructure | /MatrixRectangleCoOrdinates.cs | 3.90625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class MatrixRectangleCoOrdinates
{
// Imagine we have an image. We’ll represent this image as a simple 2D array where every pixel is a 1 or a 0.... |
292be94b0d8f9551673039a6aae5700605e9e2ab | C# | MissPeperr/Heist | /LockSpecialist.cs | 3.078125 | 3 | using System;
namespace adams_exercise
{
public class LockSpecialist : IRobber
{
public string Name { get; set; }
public int SkillLevel { get; set; }
public int PercentageCut { get; set; }
public void PerformSkill(Bank Bank)
{
Console.WriteLine($... |
381e8bab1e5c1ae28788d4303768c74f9eb93cdb | C# | abjerner/Skybrud.Social.BitBucket | /src/Skybrud.Social.BitBucket/Models/Users/BitBucketUserLinkCollection.cs | 2.53125 | 3 | using Newtonsoft.Json.Linq;
namespace Skybrud.Social.BitBucket.Models.Users {
/// <summary>
/// Class representing the <code>links</code> object/collection of a BitBucket user.
/// </summary>
public class BitBucketUserLinkCollection : BitBucketLinkCollection {
#region Properties
... |
27c9c98028eb008bd31f8a70b6e233751160061f | C# | rajeshwarn/racer | /51Racer/ADBHelper.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _51Racer
{
class ADBHelper
{
private string exePath;
private static object lockHelper = new object();
private static ADBHelper instance = null;
private ADBHelper(string exePath)
... |
baf0022b9853be245aab737024686dcd44429ad2 | C# | auth0-blog/xamarin-todo | /Todo/Repositories/MemoryDataRepository.cs | 3.453125 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Todo.Models;
using Xamarin.Forms;
using System.Linq;
namespace Todo.Repositories
{
/// <summary>
/// A data repository that marshals Todo items between the app and the API
/// </summar... |
53c711b29d9ac5778cfdbef2b5555394c76ec271 | C# | Nelson-Chacon/Ventas | /Ventas_Proyecto/BL.Ventas/NiñosBL.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BL.Ventas
{
public class NiñosBL
{
Contexto _contexto;
public BindingList<Niños> ListaProdNiños { get; set; }
... |
a31978e31c75ab023f580425a0d2021f1fbb5690 | C# | LeonmDK3/Mary | /Lib/InSimDotNet/Packets/FlagType.cs | 2.515625 | 3 |
namespace InSimDotNet.Packets
{
/// <summary>
/// Represents the <see cref="IS_FLG"/> Flag.
/// </summary>
public enum FlagType
{
/// <summary>
/// No flag shown.
/// </summary>
None,
/// <summary>
/// Blue flag (car being lapped).
/// </sum... |
be9f44765e03730933b61bb5158738918cbdf127 | C# | dimitriosweb/api-net-core | /CityInfo/CityInfo.API/CitiesDataStore.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CityInfo.API.Models;
namespace CityInfo.API
{
public class CitiesDataStore
{
public static CitiesDataStore Current { get; } = new CitiesDataStore();
public List<CityDto> Cities { get; set; }
... |
49798f4443e9e3553ecc98a4f96bfbcecb4d0025 | C# | chrissar/MechFactorXXL | /Blayne/Assets/Scripts/AI/Commands/ChangeFireTeamFormationCommand.cs | 2.515625 | 3 | using System;
using UnityEngine;
public class ChangeFireTeamFormationCommand : Command
{
public FireTeamFormation mFireTeamFormation;
public ChangeFireTeamFormationCommand ()
{
mFireTeamFormation = FireTeamFormation.WEDGE;
}
public ChangeFireTeamFormationCommand (FireTeamFormation formation)
{
mFireTeam... |
b80d0be863af25acd98acd6318b231847804997e | C# | wangzhiqing999/my-csharp-sample | /P0202_DefaultAdapter/Adapter/Normal.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace P0202_DefaultAdapter.Adapter
{
public class Normal : DefaultAdapter
{
/// <summary>
/// 电话面试.
/// </summary>
public override void Test1()
{
Console.WriteLine("对于... |
66a163e4d26e7b9dbc7301d88b7858b353351f2c | C# | moslem-hadi/Webtina.UI.FileShop | /Webtina.UI.Models/Dto/Exceptions/BadRequestException.cs | 2.5625 | 3 | using System;
namespace Webtina.UI.Models
{
/// <summary>
/// درخواست اشتباه
/// </summary>
public class BadRequestException : AppException
{
public BadRequestException()
: base(ApiResultStatusCode.BadRequest)
{
}
public BadRequestException(string messa... |
01b3e68647a6c8cee195d551c8780358e7850517 | C# | r2d2m/ProceduralMapGeneration | /Assets/Scripts/TextureGenerator.cs | 3.265625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class TextureGenerator
{
public static Texture2D TextureFromColours(Color[] colourMap, int width, int height)
{
Texture2D texture = new Texture2D(width, height);
texture.SetPixels(colourMap);
... |
a04650c027cff5558452b69733c7acecf73c05a3 | C# | marklxie/my_firstCSharp | /SqlServerCSharpLib/SQLServer.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Microsoft.Data.SqlClient;
namespace SqlServerCSharpLib {
public class SQLServer {
public SqlConnection SqlConnection = null;
public List<Student> ExecuteQuery(string sql) {
var cmd = new SqlCommand(sql, SqlConnection)... |
9161c6aec1b3c1b73f257a9f21646b22484a0061 | C# | haimadrian/OOP-DotNet | /HW/C21 Ex03 HaimAdrian _ YakirSaadia _/Ex03.GarageLogic/Api/Vehicle/Tire.cs | 2.96875 | 3 | using Ex03.GarageLogic.Api.Exceptions;
using Ex03.GarageLogic.Api.Utils;
namespace Ex03.GarageLogic.Api.Vehicle
{
// Use a class and not struct cause we would like to support updating air pressure without being immutable.
// Otherwise we would have to expose an ITire interface which would then box the struct ... |
7812dbf7db875c7a637e19ce2011fc8c560cad32 | C# | com03240/Trading | /src/LionFire.Trading/Accounts/Positions.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LionFire.Trading
{
public class Positions : List<Position>, IPositions
{
public event Action<PositionClosedEventArgs> Closed;
public event Action<PositionOpenedEventArgs> Opened;
... |
6b7e357c3033724caa5726947541e38475d46e4d | C# | dungnguyentien0409/competitive-programming | /C#/435. Non-overlapping Intervals.cs | 3.09375 | 3 | /*
* Link: https://leetcode.com/problems/non-overlapping-intervals/
* Author: Dung Nguyen Tien (Chris)
*/
public class Solution {
public int EraseOverlapIntervals(int[][] intervals) {
if (intervals.Length <= 1) return 0;
Array.Sort(intervals, delegate(int[] a, int[] b) {
retu... |
92bc07f5a744789f4a7e6fda76c2d330f2fc36d5 | C# | conslab/snek | /snek..cs | 3.15625 | 3 | using System;
using System.Threading;
namespace snek
{
class Program
{
public static char movement = 'r';
public static int x = 5;
public static int y = 5;
public static int length = 5;
public static int[,] a = new int[256, 2];
public static int bx;
publ... |
db2552aa17b5deee1d704b97a15297fe3f397852 | C# | shendongnian/download4 | /first_version_download2/91346-6074739-13146824-4.cs | 2.953125 | 3 | private Dictionary<string, int> votes; // initialized in constructor
private void AddVotes(string peep, int votes)
{
if (this.votes.ContainsKey(peep)
{
this.votes[peep] += votes;
}
else
{
this.votes[peep] = votes;
}
}
|
b71220570aa3ba4c9c3dd71d20a29b8ac8eee8b1 | C# | FlorianRappl/YAMP | /YAMP.Core/Expressions/Elementary/EmptyExpression.cs | 2.890625 | 3 | namespace YAMP
{
using System;
using System.Collections.Generic;
/// <summary>
/// The empty expression - just a dummy!
/// </summary>
sealed class EmptyExpression : Expression
{
#region ctor
public EmptyExpression()
{
}
#endregion
#region... |
8fe82c047cc84e714ec267a0f163b70e5ece3f26 | C# | VinceJH/HangManGame | /HangManGame/Form1.cs | 2.671875 | 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 HangManGame
{
public partial class Form1 : Form
{
public string[] wordsList;
... |
f451dadf43d5c272e0170b3d10403b989f495ed7 | C# | Mushu1988/smallProjects | /C#/Calculator/Calculator/MainWindow.xaml.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
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.W... |
8e6973a876d1e83adc52a6d56e46f2a3f037e96b | C# | icnocop/cuite | /src/CUITe/Controls/HtmlControls/HtmlTable.cs | 2.71875 | 3 | using CUITe.SearchConfigurations;
using mshtml;
using Microsoft.VisualStudio.TestTools.UITesting;
using CUITControls = Microsoft.VisualStudio.TestTools.UITesting.HtmlControls;
namespace CUITe.Controls.HtmlControls
{
/// <summary>
/// Represents a table control for Web page user interface (UI) testing.
///... |
d5314d47cb0758143e8244700d9afc1d9f8366a6 | C# | alephist/edabit-coding-challenges | /CSharp/ShowLettersOnly.cs | 3.703125 | 4 | using System.Linq;
namespace CSharp
{
// Write a function that removes any non-letters from a string, returning a well-known film title.
// https://edabit.com/challenge/moqcQ563NukBBbKDL
public static class ShowLettersOnly
{
public static string LettersOnly(string str)
{
var... |
574590ae23b4491a6cff759c099408714ce0cf76 | C# | fccoul/QC-2018 | /PREM/save/PREM/PL_Prem/PL_Prem_iut/Attributs/AjaxRequestAttribute.cs | 2.6875 | 3 | using System.Web.Mvc;
namespace RAMQ.PRE.PL_Prem_iut.Attributs
{
/// <summary>
/// Permet de limiter l'accès a une action seulement si elle est appelé depuis une requête Ajax
/// </summary>
/// <remarks>
/// Auteur : Kévin Follier <br/>
/// Date : 2015-09-16
/// </remarks>
public... |
9be5269e901db8a71a6d71b83d0659fa57440bf3 | C# | nilson-coder/Aula7_manipulacao | /EX/Program.cs | 2.765625 | 3 | using System;
using Spire.Doc;
using Spire.Doc.Documents;
namespace EX
{
class Program
{
static void Main(string[] args)
{
#region Documento
Document exemploDoc = new Document();
#endregion
#region seção no Documento
Section ... |
f14164cb4c1e5bc7fc08377d462712e7c5bf0a73 | C# | TonyMajorDev/DeChargerRepo | /Science/MassSpectrometry/Extensions.cs | 3.03125 | 3 | //-----------------------------------------------------------------------
// Copyright 2018 Eli Lilly and Company
//
// 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... |
90ad83a1c2274e70a41db0a862be65dd2c223de8 | C# | Drockio/livemusicfriend | /LiveMusicFriend/Helpers/Utility.cs | 3.109375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LiveMusicFriend.Helpers
{
public static class Utility
{
public static DateTime? GetDate(string DateString)
{
DateTime dt;
if (DateTime.TryParse(DateString, out dt))
... |
4ce20980ebad4191abe24ad67c912c2618b6f0b7 | C# | nickh671/IT-507-OOP | /Week5/Hertozg_6_5/Form1.cs | 3.03125 | 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 Hertozg_6_5
{
public partial class Form1 : Form
{
//hourly rate for labor
... |
d5f13a451c4cd3a011f664d3c55d9795a70cca07 | C# | ZOHIRE/switche_statement_chalenge | /switche_statement_chalenge/Program.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace switche_statement_chalenge
{
class Program
{
static void Main(string[] args)
{
string mysmartphon = "samsung";
switch (mysmartphon)
... |
d4dc232f3991ec493f8afa3d5ae6d8a3431c9ed7 | C# | eviternity/Apps4KidsWebApp | /Apps4KidsWeb/Apps4KidsWeb.Persistence/Connection.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Data.Entity.Core.EntityClient;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Apps4KidsWeb.Persistence
{
/// <summary>
/// The class connection
/// </summary>
public class Connectio... |
0bfca7df4d58c3e3a2f2231812a0a29750a12350 | C# | terencetcf/Tt.App.Development.Starter | /tests/Tt.App.UnitTests/Services/ProductServiceTests.cs | 2.5625 | 3 | using FluentAssertions;
using Moq;
using NUnit.Framework;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Tt.App.Data;
using Tt.App.Data.Repositories;
using Tt.App.Services;
namespace Tt.App.UnitTests.Services
{
public class ProductServiceTests
{
private IProductService sut;
... |
c449b5d30c3778853e8c11af43c1b9a5a5901637 | C# | geniuszxy/Counter | /Counter/Library/Counter4.cs | 3.015625 | 3 | using System;
using System.Runtime.InteropServices;
using System.Threading;
namespace Counter
{
sealed class Counter4 : Counter
{
private volatile int _v;
public override int Size
{
get { return 4; }
}
unsafe public override bool GetNextNumbers(byte[] output, int count, int offset)
... |
e0278b66801e689e6cd460ac6abda0d138394813 | C# | KudrinAV/SimpleLibrary | /WindowsFormsApplication1/Books.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Xml.Serialization;
namespace WindowsFormsApplication1
{
[Serializable()]
public class Book
{
public List<string> AuthorsList;
... |
24ea44e680e7b9fdc5b82c8afc7d049c95a2929e | C# | net-radio/net-radio | /NetRadio.Devices.G33Ddc/Signal/G3XDdcDdc1StreamProvider.cs | 2.5625 | 3 | using System;
using NetRadio.Signal;
namespace NetRadio.Devices.G3XDdc.Signal
{
public class G3XDdcDdc1StreamProvider:IAudioProvider
{
public event EventHandler<ChunkArgs> DataChunkRecieved;
private readonly Ddc1 _ddc1;
public bool SeperateIq { get; private set; }
public int... |
951beb6634003e4d4ee31c69ff0ce5ff4a8fe444 | C# | qq157796573/Test | /HomeworkTwo.Comm/ExtentsMethonds/ExtentMethond.cs | 2.734375 | 3 | using HomeworkTwo.Comm.AttributeExtents;
using HomeworkTwo.Comm.AttributeExtents.Validata;
using HomeworkTwo.Comm.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace HomeworkTwo.Com... |
096a37cd9aeba65b6e8352c7ecff2344e390627b | C# | VladymyrB/CS-Sem2 | /Lab7/Program.cs | 3.203125 | 3 | using System;
using System.IO;
namespace Lab7
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(FileManager.GetMaxHierarchyDirectories(@"C:\Users\38095\Desktop\dut\CS Rep\lab7"));
}
}
public class FileManager
{
public ... |
e93d578edde9d244ed179124204cda4cadb4a965 | C# | wanweihua/ScreenShare-2 | /ScreenShare/Capture.cs | 2.875 | 3 | using System;
using System.Drawing;
using System.Windows.Forms;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using OpenCvSharp;
namespace ScreenShare
{
using Timer = System.Timers.Timer;
using Size = System.Drawing.Size;
/// <summa... |
09bfd39601452a8b2b0c76ad26740d1cded1ad99 | C# | BlueSunGaming/DungeonAlpha | /Assets/RPGAIO/Scripts/Core/Characters/VitalHandling/CombatCalculator.cs | 2.765625 | 3 | namespace LogicSpawn.RPGMaker.Core
{
public class CombatCalculator
{
private static readonly CombatCalculator MyInstance = new CombatCalculator();
private const int MaxEvadeRange = 1000;
private const float MaxEvadeBonus = 0.25f;
private const float BaseAccuracy = 0.60f;... |
a2dd713438bb1c9b698072c87604e01b7c6db2bd | C# | tmilar/encuentrame | /Web/NailsSupports/Nails.Tests/Persistence/NHibernate/TestModel/Country.cs | 2.734375 | 3 | using System.Collections.Generic;
using System.Linq;
using NailsFramework.Persistence;
using NailsFramework.Tests.Persistence.Common;
namespace NailsFramework.Tests.Persistence.NHibernate.TestModel
{
public class Country : Model<Country>, ICountry<City>
{
public Country()
{
Cities =... |
e7f0ad88f4de9381ee0a974bc074d893ce2fd308 | C# | ProjectSharing/JQCore | /JQCore/Serialization/DefaultBinarySerializer.cs | 2.75 | 3 | using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Threading.Tasks;
namespace JQCore.Serialization
{
/// <summary>
/// Copyright (C) 2017 yjq 版权所有。
/// 类名:DefaultBinarySerializer.cs
/// 类属性:公共类(非静态)
/// 类功能描述:DefaultBinarySerializer
/// 创建标识:yjq 2017/9/4 22:11:... |
7739afd8ac536434674f989c3a439c3886d59527 | C# | chenboyi081/CsharpBase | /S205 属性/C02Demo/Car.cs | 3.265625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace C02Demo
{
class Car
{
// 轮子数量 颜色 价格 型号 座位数量 字段,
public int wheelNum;
public string color;
public decimal price;
public string model;
public int seatNum;
publi... |
a3ad338ed1a81f5d002447807dc44df7e8f1a919 | C# | snovader/Lean | /Algorithm.CSharp/Dev/RCNet/Neural/Data/PatternBundle.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using RCNet.Extensions;
namespace RCNet.Neural.Data
{
/// <summary>
/// Bundle of pattern and desired output vector
/// </summary>
[Serializable]
public class PatternBundle
{
//Attributes
/// <summary>
/// Collection of in... |
a922b0ab45786a9ac65396fba3873bbf0eb65279 | C# | Thrapis/DataBaseCourseWork | /MobileOperatorApplication/Data/DataGeneration.cs | 2.578125 | 3 | using MobileOperatorApplication.Model;
using MobileOperatorApplication.Oracle;
using MobileOperatorApplication.Repository;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MobileOperatorApplication.Data
{
public static clas... |
00f515a85e878f62e3217f4bd8f32978b7c2ff57 | C# | RoyMartinez/convertirJSONaObjetos | /ConvertirJSONaObjetos/movie.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConvertirJSONaObjetos
{
class movie
{
private string name;
private DateTime releaseDate;
private string[] genres;
public string Name { get => name; set... |
417ec2d0b59379e9cf32deeaca6d397f26ca30f9 | C# | knudsjef/CodeSamplesForEmployment | /Shape.cs | 2.953125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* This is an abstract class for a game my friends and I were developing. There were different shapes that all had different abilities
* and this was the base class for the all of the shapes.
*/
namespace Assets.Scripts.Shapes
{
... |
3d4b6d6c80100221c57f69a9e9c1a8db275f860a | C# | masty123/ParallelBro | /Assets/MenuAnimationController.cs | 2.59375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MenuAnimationController : MonoBehaviour
{
private Animator boyAnimator;
private Animator girlAnimator;
private int actualTime;
private int timeBeforeBoyGlitch;
private int timeBeforeGirlGlitch;
/... |
83ece1f3eb89b4ac4b5131bc9567797a0c64fa6f | C# | areyes986/Lab6-7-OopPrincipals | /OopPrincipals/OopPrincipals/Classes/Turtle.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using OopPrincipals.Interfaces;
namespace OopPrincipals.Classes
{
/// <summary>
/// This is a concrete class that is derived from the reptile class and implements the IAttackPrey interface
/// All the methods return a string specific to th... |
a7048d0718ff26a7dc5737c4481d41dd3af0d8d0 | C# | AlanWills/Robbi | /Assets/Celeste/Log/HudLog.cs | 2.671875 | 3 | using Celeste.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
namespace Celeste.Log
{
[AddComponentMenu("Celeste/Log/Hud Log")]
public class HudLog : Singleton<HudLog>
{
private cl... |
2a13ce47353aaaabe37b41727c71871cddff17a7 | C# | RoboticPrism/ProjectDeepMine | /Assets/Scripts/Tasks/MinerTasks/DeconstructTask.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeconstructTask : MinerTask {
// returns true if the current task is feasible
public override bool TaskAvailable()
{
BuildingBase targetBuilding = target.GetComponent<BuildingBase>();
// can't sche... |
28992eb2f0728eaa3f0d46d320dfed5d5cf30e99 | C# | RylandB/CS495-Capstone-Puma | /CS495-Capstone-Puma/DataStructure/BoundingBoxes/BoundingBoxIdentifier.cs | 2.859375 | 3 | using System.Dynamic;
namespace CS495_Capstone_Puma.DataStructure.BoundingBoxes
{
public class BoundingBoxIdentifier
{
public int[] Coord = new int[4];
public string Label { get; set; }
public string Id { get; set; }
public BoundingBoxIdentifier(int x, int y, int wi... |
1f678367f30f053f907e574318cae37a4043536c | C# | Scriptopathe/clank-language | /Clank/Generation/Languages/YumlLangage.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Clank.Core.Model.Language;
namespace Clank.Core.Generation.Languages
{
/// <summary>
/// Représente un langage de programmation.
/// Cette classe prend en charge la traduction du code d'un arbre abstrait
/// ve... |
313ca1c901e80c8d07919ef98cd1a0a20c148112 | C# | CLAHRCWessex/DistanceFunctions | /DistanceFunctions/CentroidDistanceGenerator.cs | 3.171875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Drawing;
namespace DistanceFunctions
{
public class CentroidDistanceGenerator
{
protected IDistanceCalculator calculator;
public CentroidDistanceGenerator(IDistanceCalculator... |
f1c7b6d102c82d5de22e05b0d23b2de8f095103f | C# | azurite-dev/azurite | /src/Azurite.Console/ShowCommand.cs | 2.84375 | 3 | using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using Spectre.Cli;
using static Azurite.Console.PrintHelpers;
namespace Azurite.Console
{
public class ShowCommand : CommandBase<ShowCommand.ShowCommandSettings>
{
public class ShowCommandSettings : CommandSettings {
... |
15e34bc7c877c0915bbee34c423544e70be8810e | C# | rramesh1/sallikasu | /SallikasuServices/Models/GetDestinationModel.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SallikasuServices.Models
{
public class GetDestinationModel
{
nasthaEntities DB { get; set; }
public GetDestinationModel()
{
DB = new nasthaEntities();
}
public L... |
594556090a6a654e5adadcccb9dbef0b118e6113 | C# | Srul1k/priority-changer | /app/ppc/Program.cs | 2.6875 | 3 | using ppc.Commands;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
namespace ppc
{
static class Program
{
public static readonly string Name = Process.GetCurrentProcess().ProcessName;
static void Main(string[] args)
{
... |
8448ecdf4323db0bbead485e419edee809856ba2 | C# | MotorGenerator/Dentist-1 | /Зубы/Backup/Classes/InsertЛьготьнаяКатегория.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.OleDb;
namespace Стамотология.Classes
{
/// <summary>
/// Добавляет данные
/// </summary>
class InsertЛьготьнаяКатегория:ICommand
{
private string _льготнаяКатегория;
public I... |
9bd0c1c7e7df484913031e8f922c57559daaf043 | C# | Fman72/TabModellerMVC | /TabModellerMVC/TextualBarsView.cs | 3.171875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace TabModellerMVC
{
public partial class TextualBarsForm : Form, ITabModellerView
{
public ... |
0ff94776c5835108e41d59fedb2a43f84fd626b7 | C# | derin161/CSE3902Game | /Super Metroidvania 3Million/CrossPlatformDesktopProject/Libraries/Collision/Collision Handler/ProjectileEnemyCollision.cs | 2.5625 | 3 | using SuperMetroidvania5Million.Libraries.Sprite.Projectiles;
using SuperMetroidvania5Million.Libraries.Sprite.EnemySprites;
using SuperMetroidvania5Million.Libraries.Command;
using SuperMetroidvania5Million.Libraries.Audio;
namespace SuperMetroidvania5Million.Libraries.Collision
{
//Author: Nyigel Spann and Will... |
06c735e7482c675955521bf21f134e1feec2daab | C# | joshjcarrier/OpenAnt.NET | /OpenAnt.NET/OpenAnt/Entity/Decorator/Collision/CollisionBaseEntity.cs | 3.03125 | 3 | namespace OpenAnt.Entity.Decorator.Collision
{
using Microsoft.Xna.Framework;
/// <summary>
/// Registers common collision logistics.
/// </summary>
public abstract class CollisionBaseEntity : GameEntityDecorator
{
/// <summary>
/// Initializes a new instance of the <... |
6d615fdf6ca9f4b33c916d0f2350b4f40adea32c | C# | RosenUrkov/TelerikAcademyHomeworks | /C# Fundamentals/Arrays/Frequent Number/Program.cs | 3.65625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Frequent_Number
{
class Program
{
static void Main(string[] args)
{
int number = int.Parse(Console.ReadLine());
List<int> listOfNumbers = new Li... |
43c8fc045b1ffd7c089d4e10af7e5a7829381d3a | C# | tboogh/Cassowary.Forms | /Cassowary.Forms.UnitTest/UnitTest1.cs | 2.546875 | 3 | using Cassoway.Forms.Layout;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Xamarin.Forms;
namespace Cassowary.Forms.UnitTest
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
var layout = new CassowaryLayout();
var vi... |
ce3b09e5dd0008a23c39125f9bbaa18eadcff3f1 | C# | alfman99/ABP2-Escritorio | /Proyecto2/BD/ORM_HORARIS_INSTALACIONS.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Data.Entity.Core;
using System.Data.Entity.Infrastructure;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Proyecto2.BD
{
class ORM_HORARIS_INSTALACIONS
{
public static List<HORARIS_... |
91622179fade51609b234cc9bb7180add6d5456a | C# | ahazan/FE21 | /SEICRY_FE_UYU_9/Objetos/CFEItems.cs | 2.84375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace SEICRY_FE_UYU_9.Objetos
{
/// <summary>
/// Representa la estructura de cada item (producto o servicio) de un CFE
/// </summary>
[Serializable]
public class CFEItems
... |
adc0bc0d11ee79153fd8ec7a77a99086dde1641e | C# | Romazes/TEAM.international-EntityFrameworkCore | /Model/Table Per Concrete Class Inheritance/Place.cs | 2.8125 | 3 | using System.ComponentModel.DataAnnotations;
namespace Model.Table_Per_Concrete_Class_Inheritance
{
public abstract class Place : BaseEntity
{
[Required(ErrorMessage = "The Name is required.")]
[MaxLength(50)]
public string Name { get; set; }
[Required(ErrorMessage = "The Addr... |
c872d7e2e6785d6ed3424472fa92da597bc904b9 | C# | hvuSyslogic/IronCastle | /src/BouncyCastle.PKIX/mime/MimeParserListener.cs | 2.578125 | 3 | namespace org.bouncycastle.mime
{
/// <summary>
/// Base interface for a MIME parser listener.
/// </summary>
public interface MimeParserListener
{
/// <summary>
/// Create an appropriate context object for the MIME object represented by headers.
/// </summary>
/// <param name="parserContext"> context ob... |
cf899133bba665801f7eb5f500852749d72e1aa1 | C# | ahmed-abdelrazek/BulkExportToModernExcel | /ExcelBulkExport/ViewModels/MainWindowViewModel.cs | 2.703125 | 3 | using ExcelBulkExport.Core;
using Ookii.Dialogs.Wpf;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
namespace ExcelBulkExport.ViewModels
{
public class MainWindow... |
6848ccac64002bf22de2c4d94c0a61e9fcf66c4e | C# | Rabbid76/c_sharp_raytrace_examples | /WpfViewModelModule/Utility/RangeLimit.cs | 3.375 | 3 | using System;
// [Where can I find the “clamp” function in .NET?](https://stackoverflow.com/questions/2683442/where-can-i-find-the-clamp-function-in-net)
// [How to force a number to be in a range in C#?](https://stackoverflow.com/questions/3176602/how-to-force-a-number-to-be-in-a-range-in-c)
namespace WpfViewModelM... |
e79a1d30e758d66be17f8a95efe76c0de837910c | C# | Mediocrates10/HumberWork | /2D Tank Game/Assets/Scripts/PlayerController.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(PlayerMotor))]
public class PlayerController : MonoBehaviour
{
[SerializeField]
private float speed = 2f;
[SerializeField]
private float turnSensitivity = 3f;
private PlayerMotor motor;
Vec... |