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 |
|---|---|---|---|---|---|---|
7b0e83246782abade28db362d56761961aadd6cf | C# | ChavaBerman/Try106 | /client-winForm/Client-WinForm/ForgotPassword.cs | 2.6875 | 3 | using Client_WinForm.Requests;
using System;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace Client_WinForm
{
public partial class ForgotPassword : Form
{
/// <summary>
/// Senf email with link to change the password case forget it.
/// </summary>
pu... |
44fde4f298ea1b2b670f18a05f44fa941a564848 | C# | ischoolinc/JHBehavior | /JHBehavior/JHSchool.Behavior/StudentExtendControls/BehaviorNewItemControls/SummarySetupObj.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using FISCA.DSAUtil;
namespace JHSchool.Behavior.StudentExtendControls
{
class SummarySetupObj
{
private XmlElement _xml;
private XmlElement AttendanceXmlElement;
public SummarySetu... |
a0c145f0f8ecf6c72a0101e3e63fdff249b0bfe2 | C# | SravaniDurga123/ecart | /07-01-2020/Program5.cs | 3.734375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assignment2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("enter n which should be odd");
int n = int.Parse(Console.Read... |
5c798b5281073974eef390403e298114f91cb243 | C# | hglam99/Nhom12 | /bai4/AppQuanlyKho_PM1/AppQuanlyKho_PM1/DAO/UnitDAO.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AppQuanlyKho_PM1.DTO;
namespace AppQuanlyKho_PM1.DAO
{
public class UnitDAO
{
private static UnitDAO instance;
public static UnitDAO Instance
... |
de981fdc057952596bf3feec4f05f87be8b3ca7d | C# | shuetam/Constructor | /WpfApplication1/WpfApplication1/Wood.cs | 2.9375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfApplication1
{
class Wood : IMaterial
{
private string _class;
private double _density;
private double _fle_strength;
private double _sh... |
8b72407e742e472e62ece578e351d2ce94fcf15b | C# | Mihir611/Briefcase | /My-Briefcase/Decrypt.xaml.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.IO;
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.Windo... |
1cdb4c12d6ca50c61bfbc08d526671b894e8d8f6 | C# | CtripHackthon/TravelOnline | /TravelOnline/DataModel/Comment.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DataModel
{
public class Comment
{
/*
GetTravelComments 获取某一游记关联的评论信息
Comments getCommentsByDiaryID()
*/
public static List<comment> getCommentsByDiaryID(int diaryID)
{
... |
85295699bce3b09d368c697d001bf12ce560aed9 | C# | FRP7/DesignPatterns | /IteratorPattern/AnimalCollection.cs | 3.765625 | 4 | using System;
using System.Collections;
using System.Collections.Generic;
namespace IteratorPattern
{
/// <summary>
/// Classe de agregação.
/// Representa a coleção de animais.
/// </summary>
class AnimalCollection : IAnimalCollection
{
// Lista de animais.
private List<Object... |
a90589693116cd3895cc071e69ae0000d148493b | C# | HackerZhenya/algorithms-lab2 | /ast/parser/Expression.cs | 2.609375 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using algorithms_lab2.runner;
using algorithms_lab2.utils;
namespace algorithms_lab2.ast.parser
{
public class Expression : IEnumerable<Token>
{
public Token[] Tokens { get; }
public... |
c42063ca32ac946d805f5feef8ee7c246c7e9626 | C# | baretata/CSharpPartOne | /06.Loops/Trailing zeros/Program.cs | 3.78125 | 4 | using System;
class TrailingZeroes
{
static void Main()
{
Console.WriteLine("Counting trailing zeros in N!.");
Console.Write("Enter N: ");
int n = int.Parse(Console.ReadLine());
int sum = 0;
for (int i = 5; i <= n; i *= 5)
{
sum = sum + (n/i);
... |
3c33ba353f2ac943f784d2dfd61cb59c61635256 | C# | Abdulrhman5/StreetOfThings | /src/Gateways/MobileApiGateway/Services/UserService.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using static AuthorizationService.Grpc.UsersGrpc;
using AuthorizationService.Grpc;
using CommonLibrary;
namespace MobileApiGateway.Services
{
public class UserService
{
private UsersGrpc.UsersGrpcClient _g... |
fd07c5d687797ec9e4fb61116750ac99cd0bb0c7 | C# | hDoubleE/csharp-problems | /Arrays & Strings/ransomNote.cs | 3.765625 | 4 | // Ransom Note: Given two arrays of strings a ransom note and a magazine,
// check if ransom note can be created using words in magazine.
// Runtime: O(n+m), Space Complexity: O(n).
class Solution {
static void checkMagazine(string[] magazine, string[] note) {
// Check edge case, magazine has fewer words ... |
d36f234e503478ac2ba4629a9fc6646a7c8bcf80 | C# | SYN-RahulGhugre/DataLake | /DataLakeSharedLibrary/Subscriber/DataLakeSubscriber.cs | 2.640625 | 3 | using DataLakeSharedLibrary.Interface;
using Microsoft.Azure;
using Microsoft.ServiceBus.Messaging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataLakeSharedLibrary.Subscriber
{
public class DataLakeSubscriber : IDataLakeSubscriber
... |
5b8c3075bd77b15b67d16b6ef10e52cb97c7172c | C# | Vieruz/Smywar | /Assets/Scripts/Item.cs | 2.59375 | 3 | using System;
using UnityEngine;
public class Item : MonoBehaviour
{
public ItemData data;
public float dropRate;
public Sprite image;
public void Take()
{
// Animation de prendre
Destroy(gameObject);
}
public void Use(PlayerController p)
{
switch (data.type)
... |
d52b4f874543ab94aaf32e6b3305b02bc5140370 | C# | biobankinguk/biobankinguk | /app/Directory/Services/Directory/Contracts/IContentPageService.cs | 2.65625 | 3 | using System.Collections.Generic;
using System.Threading.Tasks;
using Biobanks.Data.Entities;
namespace Biobanks.Directory.Services.Directory.Contracts
{
public interface IContentPageService
{
/// <summary>
/// Create a new content page
/// </summary>
/// <param name="title">Ti... |
463003f609bc9271fd1276b2274dda9a1bf38bc6 | C# | Kameroon/MediaPerfSolutionV2 | /MediaPerf.Framework.Repositories/Exceptions/RepositoryException.cs | 2.546875 | 3 | using System;
using System.Runtime.Serialization;
namespace MediaPerf.Framework.Repositories.Exceptions
{
/// <summary>
/// Exception levée depuis le dépôt
/// </summary>
/// <seealso cref="System.Exception" />
[Serializable]
public class RepositoryException : Exception
{
#reg... |
b26a4063fe61f2f16778981df0743bfb23a05a98 | C# | LeisurelyYang/design-pattern | /src/Decorator/Program.cs | 2.578125 | 3 | using System;
using Decorator.Basic;
using System.Text;
using Decorator.Demo2;
namespace Decorator
{
class Program
{
static void Main(string[] args)
{
Console.OutputEncoding = Encoding.UTF8;
//ConcreteComponent c = new ConcreteComponent();
//ConcreteDecorato... |
5306423b1567404fa394ff9ba01758adaa27df50 | C# | AndreiCretu23/WPF | /Quantum.Controls/Misc/VisualTraverser/VisualTraverser.cs | 2.640625 | 3 | using Quantum.Utils;
using System;
using System.Windows;
using System.Windows.Media;
namespace Quantum.Controls
{
public class VisualTraverser : IVisualTraverser
{
public void Traverse(DependencyObject root, Func<DependencyObject, VisualTraverseBehavior> filter, Action<DependencyObject> targetAction)
... |
d319e4035f1dd6252516cc0c70afbc8aa7add15f | C# | vladtf/SQLDataConnection | /SQlDataConnection/HomeDataAcces.xaml.cs | 2.578125 | 3 | 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;... |
95770330375ad162b88f11466cc12cd4da3cbc27 | C# | aginsbur/MiniWindowsProj | /BL/Bus.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
using System.ComponentModel;
namespace BO
{
public class Bus: INotifyPropertyChanged,IComparable
{
private int licenseNum;
private DateTime startdate;//... |
a132431ff213d531d4bef39315bdf8d974845cd8 | C# | getanilat/IOSwithSwift | /IOSwithSwift/Controllers/GameController.cs | 2.59375 | 3 | #region Header Info
//-----------------------------------------------------------------------
// <copyright file="BusinessBase.cs" company="Excel Soft India Pvt. Ltd.">
// Copyright (c) Excel Soft India Pvt. Ltd. All rights reserved. Website: http://www.excelindia.com.
// </copyright>
// <summary>This is the class fo... |
9474c989e004f456bde5d379b6f1b980840e6be2 | C# | cityjoy/MyEngineFrameWork | /Engine.Infrastructure/Utils/StringUtils.cs | 3.203125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Engine.Infrastructure.Utils
{
public class StringUtils
{
/// <summary>
/// 年级中文
/// </summary>
/// <param name="grade"></param>
//... |
27d639010c652e364052fff934fed2c5257eb728 | C# | cfinnegan12/OccupancyTracker | /OccupancyData/Models/Computer.cs | 2.859375 | 3 | using System.ComponentModel.DataAnnotations;
namespace OccupancyData.Models
{
public class Computer
{
//Computer's Id
[Required]
public int Id { get; set; }
//Computer's name
[Required]
public string Machine_Name { get; set; }
//Wether the computer is... |
b2887aea21d7986ea5a1fd213db439ce30935a71 | C# | sunche/FCMessaging | /FCMessaging/src/Message.cs | 2.90625 | 3 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace UTurista.FCMessaging
{
public class Message
{
[JsonProperty("name")]
public string Name { get; }
[JsonProperty("data")]
public Dictionary<... |
b99ce9e0922d0a05fca289263635b672b3265afb | C# | YHiniger/ManagedX.Content | /code/Design/IContentPluginManager.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
namespace ManagedX.Content.Design
{
/// <summary>Defines methods to properly implement a content plug-in service.</summary>
public interface IContentPluginManager : IEnumerable<Type>
{
/// <summary>Returns an array of content plug-ins for the sp... |
42107bace5a2b3c9b5d025ee6f9e531037eb5415 | C# | joncloud/https | /tests/https.Tests/HttpsResult.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Https.Tests
{
public class HttpsResult : IDisposable
{
public int ExitCode { get; }
public MemoryStream StdOut { get; }
public MemoryStream StdErr { get; }
public string Status { get; ... |
022053c97326b85ec82c962da85d0e62678a8c31 | C# | botanicodes/ph-onion-demo | /src/PriorityHealth.Core/Domain/Model/Users/User.cs | 2.625 | 3 | //-----------------------------------------------------------------------
// <copyright file="User.cs" company="Spectrum Health">
// Copyright (c) 2014 All Rights Reserved
// <author>Joe Rivard</author>
// </copyright>
//-----------------------------------------------------------------------
namespace Core.Do... |
db9da43dd79c49e0d46d5f53df51a10d67edc23b | C# | Curtis33210/Overworld | /Assets/Scripts/Objects/World/World.cs | 3.140625 | 3 | using UnityEngine;
using System.Collections.Generic;
using System.Collections;
using System;
public class World
{
private Tile[][] _tiles;
private EventManager _eventManager;
public World(int width, int height) {
if (width <= 0 || height <= 0)
throw new ArgumentException("Map width o... |
fac20239d0005b78a8550e023eee24f44db15455 | C# | Vincentcallaerts/IfStatementOefeningen | /Oefening 3/Program.cs | 3.375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Oefening_3
{
class Program
{
static void Main(string[] args)
{
int getal1;
Console.Write("Geef een getal in: ");
getal1 = Convert.T... |
503dfc0795a5c2c4b943449ebabcbbbef37d14ff | C# | kolyamba938/ParrotWingsApp | /ParrotWingsApp.Data/DataLayer/ParrotWingsDataProvider.cs | 2.609375 | 3 | using Microsoft.EntityFrameworkCore;
using ParrotWingsApp.Data.Model;
using System;
using System.Collections.Generic;
using System.Text;
namespace ParrotWingsApp.Data.DataLayer
{
internal class ParrotWingsDataProvider : IDisposable
{
private readonly ParrotWingsContext _context;
public Parrot... |
aad0b9fb84d637db53c9ef538cdd9c42ddd0c40e | C# | Manawolf-Gaming/Unity_C-_Gender_Dysphoria_Project | /Assets/My Assets/Scripts/AIStatePattern.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class AIStatePattern : MonoBehaviour
{
private NavMeshAgent agent;
private State currentState;
private void Start()
{
agent = gameObject.GetComponent<NavMeshAgent>();
SetState(... |
15e3c2b015ac18056e31716ccfb919626124f2cc | C# | shendongnian/download4 | /code2/322733-6799681-71633678-2.cs | 3.609375 | 4 | public static string RemoveControlCharacters(string inString)
{
if (inString == null) return null;
StringBuilder newString = new StringBuilder();
char ch;
for (int i = 0; i < inString.Length; i++)
{
ch = inString[i];
if (!char.IsControl(ch))
... |
84325db67f5e2a8f11b5f0f5c5598186b9519b64 | C# | justinroyer/SkyfallApp | /SpyfallApp.Data/SpyfallApp.Data/Models/SpyfallGame.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SpyfallApp.Data.Models.Enum;
using SpyfallApp.Data.Models.GameStates;
namespace SpyfallApp.Data.Models
{
public class SpyfallGame
{
public Guid GameID { get; set; }
public DateTime DateStarted { get; se... |
07f2d335ea784f6c5f25d45d6672b634b2aa596d | C# | ahristoff/OOP-Advanced | /3_Iterators_and_Comparators/EXERCISES/EXERCISES/4_Froggy/Lake.cs | 3.484375 | 3 | using System.Collections;
using System.Collections.Generic;
namespace _4_Froggy
{
public class Lake : IEnumerable<int>
{
private List<int> list;
public Lake(IList<int> list)
{
this.list = new List<int>(list);
}
public IEnumerator<int> GetEnumerator()
... |
39606c4f315ba72d3c690cf47400b54d0f48d2e7 | C# | vrmthdrth/dotnet-epam | /04-BasicCoding/ConcatenateStringsTask/Concatenate.cs | 4.21875 | 4 | namespace ConcatenateStringsTask
{
using System;
/// <summary>
/// Contains methods to concatenate strings.
/// </summary>
public class Concatenate
{
/// <summary>
/// Method that concatenates two latin strings and removes repeating letters(symbols).
/// </summary>
... |
27c0e3a2e04225207c44e034c7ac049c7b94b047 | C# | jevgenits/WPPerfLab | /WPPerfLab/WPPerfLab.Samples/ThreadSamples/ThreadSamplesView.xaml.cs | 2.78125 | 3 | using System;
using System.Diagnostics;
using System.Threading;
using System.Windows;
using Microsoft.Phone.Controls;
using WPPerfLab.Profiling;
namespace WPPerfLab.Samples.ThreadSamples
{
public partial class ThreadSamplesView : PhoneApplicationPage
{
public ThreadSamplesView()
{
... |
e38ad148a412e6561226221a6ea4f4ddb83eb83c | C# | Zerstorer23/Hamangho-Chat_Relay | /Gallery/Driver.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace DCAPI
{
public class Driver
{
private Mutex mutex = new Mutex();
Thread writeThread;
Random rand;
string userId;
strin... |
eadd3520b44f048c275ff661e01b2ac57e9a7f67 | C# | JosephKigin/Armis | /Armis.Services/ModelExtensions/PartExtensions/UnitOfMeasureExtensions.cs | 2.5625 | 3 | using Armis.BusinessModels.PartModels;
using Armis.Data.DatabaseContext.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Armis.DataLogic.ModelExtensions.PartExtensions
{
public static class UnitOfMeasureExtensions
{
public static UnitOfMeasureModel ToModel(this Un... |
1643834086948fe1e9766d495db707811730d1d7 | C# | gODeaLoAple/Kontur.IES.Test | /Second/CryptoHelpers/CryptoHelper.cs | 2.890625 | 3 | using SlowCryptoLib;
using System;
using System.Linq;
namespace CryptoHelpers
{
public class CryptoHelper : ICryptoHelper
{
private readonly IStore _store;
private readonly CachedEnumerable<FastParamSearchWrapper> _cache;
public CryptoHelper(IStore store)
{
_store ... |
5f8a07631cebc2b3a8fc2bbae636167578403716 | C# | TheXDS/MCART | /src/Lib/MCART.Mvvm/Types/Base/NotifyPropertyChanged.cs | 2.546875 | 3 | /*
NotifyPropertyChanged.cs
This file is part of Morgan's CLR Advanced Runtime (MCART)
Author(s):
César Andrés Morgan <xds_xps_ivx@hotmail.com>
Released under the MIT License (MIT)
Copyright © 2011 - 2023 César Andrés Morgan
Permission is hereby granted, free of charge, to any person obtaining a copy of
this ... |
f723244a6613d139bd41dfb8d2ad490d9aab7904 | C# | jerrinvarghese/ASPProject | /ProjectASP/PublicPages/SignUp.aspx.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ProjectASP
{
public partial class SignUp : System.Web.UI.Page
{
SqlConnection con;
SqlCommand cmd... |
a7e2d17a14f58e938743b793e1a6ef8d6cae0f90 | C# | SylvainLiu/leetcode | /Top/338 比特位计数.linq | 3.359375 | 3 | <Query Kind="Program" />
void Main()
{
CountBits(5).Dump();
}
public int[] CountBits(int num)
{
var res = new int[num + 1];
res[0] = 0;
if (num == 0) return res;
var cur = 1;
var count = 1;
while(cur <= num)
{
for (var i = 1; i <= count && cur <= num ; i++, cur++)
{
res[cur] = res[cur - count] + 1;
... |
911c34b28e074123fa733dc3055e43a05b926ca1 | C# | TostasMiistas/Ex4_Bernardo_santos | /Assets/EnemyBehav.cs | 2.5625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyBehav : MonoBehaviour
{
private Vector3 destination;
public float distance;
public float speed;
private void Awake()
{
destination = new Vector3(transform.localPosition.x + distance, transform.... |
772f73079a634840955d8245ffed3df7d0f1f63a | C# | OpenLocalizationTestOrg/ECMA2YamlTestRepo2 | /fulldocset/add/codesnippet/CSharp/m-system.drawing.colortr_1_1.cs | 2.953125 | 3 | public void ToHtml_Example(PaintEventArgs e)
{
// Create an instance of a Color structure.
Color myColor = Color.Red;
// Translate myColor to an HTML color.
string htmlColor = ColorTranslator.ToHtml(myColor);
... |
6e338584ff78bfea49a67e0723c1eaa0486fd86a | C# | dotnet/runtime | /src/libraries/System.Memory/tests/ReadOnlySpan/SequenceCompareTo.T.cs | 2.796875 | 3 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.SpanTests
{
public static partial class ReadOnlySpanTests
{
[Fact]
public static void OnSequenceCompareToOfEqualSpansMakeSureEv... |
0f1e6492602080f29fd940e090bcf29270584894 | C# | monta990/libAccesoBD | /libAccesoBD/Icrud.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace libAccesoBD
{
/// <summary>
/// Interface de conexión multiple
/// </summary>
public interface Icrud
{
/// <summary>
/// Conecta a BD
/// </summary>... |
aa24dde25acd113c71f2c382468ee9d53dc9808a | C# | NikitaEhlers/UnityRogueLikeTutorial | /Assets/Scripts/Enemy.cs | 2.625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MovingObject
{
public int playerDamamge;
private Animator animator;
private Transform target;
private bool skipMove;
// Use this for initialization
protected override void Start () {
... |
08071498b919bf2fc144c41da2ef010f20a812cf | C# | Wulfram3/wulfram3 | /Assets/kolmich/KGFCore/KGFLogic/scripts/KGFLogicAnalyzer.cs | 3 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// KGF logic analyzer.
/// </summary>
public class KGFLogicAnalyzer
{
public class KGFLogicOperand
{
public string itsOperandName = string.Empty;
private bool? itsValue = null;
public List<KGFLogicOperand> itsListOfOp... |
d8022890dd3e357a662c2824c32b519f1fe7fed3 | C# | IvanDragolov01/C-Sharp-OPP-Basics | /Inheritance/05.MordorsCruelPlan/Factories/FoodFactory.cs | 2.96875 | 3 | namespace _05.MordorsCruelPlan
{
public class FoodFactory
{
public static Foods.Food GetFood(string foodName)
{
switch (foodName.ToLower())
{
case "apple":
return new Foods.Apple(1);
case "cram":
return new Foods.Cram(2);
case "honeycake":
return new Foods.HoneyCake(5);
case ... |
8a35da6414e6582c525755d645da54651a674430 | C# | CABgames/ProjectileMobileGame | /Assets/Scripts/Parallax.cs | 2.84375 | 3 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///Parallax.cs
///Developed by Charlie Bullock
///This class tracks the cameras position and adjusts itself with a variable offset
//////////////////////////////////////////////////////////... |
0dc3463540ff56852e177b04977b7d3a67aee31c | C# | Kedreals/MicrosoftGameJam2015AwesomeHurray | /AtomicSheeps/AtomicSheeps/Core/Rectangle.cs | 3.015625 | 3 | namespace AtomicSheeps.Core
{
/// <summary>
/// a class just for a logical Rectangle
/// </summary>
struct Rectangle
{
public Vec2f Position { get; set; }
public Vec2f Size { get; set; }
public Rectangle(Vec2f pos, Vec2f size)
{
Position = pos;
... |
db6f9882ef91042dee2fa8186468dce486ac3e89 | C# | praused/Ch14Ex03_UsingDynamicTypes | /Ch14Ex03_UsingDynamicTypes/Program.cs | 3.5 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CSharp.RuntimeBinder;//this namespace contains RuntimeBinderException
namespace Ch14Ex03_UsingDynamicTypes
{
class myClass1
{
public int Add(dynamic var1, dynamic var2)/... |
59903e02ee32088205c38e924e196f5dce135f36 | C# | printf2007/CSharpPractice | /BookSourceCode/WCF编程权威指南/第3章/Example_15/MyApp/Program.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ServiceModel;
namespace MyApp
{
class Program
{
static void Main(string[] args)
{
ServiceHost host = new ServiceHost(typeof(MyService), new Uri("http://l... |
de6829c0d9cfd14e777b8fe8d81b771d1c0b0707 | C# | zanderlof/GMTK-2020-game-jam | /GMTK 2020 game jam/Assets/ZDMScripts/AIPathfinding.cs | 2.6875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AIPathfinding : MonoBehaviour
{
public float moveSpeed;
public PathNode targetLocation;
public PathNode currentLocation;
public List<PathNode> steps;
// Start is called before the first frame update
vo... |
9e70803246ea023c275a9aa41b8807f96edbdb09 | C# | Ackara/Diffa | /src/Diffa/ApprovedFolderAttribute.cs | 2.875 | 3 | using System;
namespace Acklann.Diffa
{
/// <summary>
/// Specifies the sub-folder in which an approved-file should be saved, when applied to a test-method, test-class or the assembly.
/// </summary>
/// <seealso cref="System.Attribute" />
[AttributeUsage((AttributeTargets.Assembly | AttributeTarg... |
d6a845d49454c31e7caa0e8d5ea811109cec008e | C# | altlands/scivacancies | /src/SciVacancies.WebApp/Engine/QueryStringExtensions.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using Microsoft.AspNet.Http;
using System.Linq;
using SciVacancies.WebApp.Engine;
using Microsoft.AspNet.WebUtilities;
namespace SciVacancies.WebApp
{
/// <summary>
/// расширение позволяет модифицировать строку запроса
/// </summary>
public static class... |
2e41a245a952daf00b3290500e4bfcbff822cda3 | C# | diegomat87/DegadisMIO | /Degadis/ERF.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Degadis
{
class ERF
{
public double Erf (double xxx)
{
double half = 0.5;
Gamma gamma = new Gamma();
Incgamma incgamma = new Incgamm... |
00f19bb14d315182dd1e63686957f82f2a36ddab | C# | PRJ419/Back-end | /Database/Database.UnitTest/CustomerRepositoryTest.cs | 2.734375 | 3 | using System;
using System.Linq;
using Database.Entities;
using Database.Repository_Implementations;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
using NUnit.Framework;
namespace Database.UnitTest
{
[TestFixture]
public class CustomerRepositoryTest
{
private CustomerRepository... |
69c32c17750a7c052da856f1d7e9ed1d14c7dd47 | C# | djkoberstein/GameName1 | /GameName1/UpgradeField.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameName1
{
public class UpgradeField
{
private int m_Value;
public int Value { get { return m_Value; } set { m_Value = value; } }
public string Name;
... |
a6d14b73a1ed4045ce7e13fc69c66891253f52e2 | C# | CellPhoneYeah/GlobalDoctorInventoryManager | /Common/DALUtility/DALConfig.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
namespace CommonUtility
{
public class DALConfig
{
private static DALConfig _instance = new DALConfig();
private string _connectionStr;
/// <summary>
/// 在Instanc... |
82763469871fe51d99d847b9dbcb122f7e0407cd | C# | frank-zhouzl/Common | /.Net Core/Soure/Os.NETCore/Os.NETCore/Cache/CacheManager.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Os.NETCore.Cache
{
public sealed class CacheManager
{
#region [ Fileds ]
/// <summary>
/// Total seconds of one day.
/// </summary>
public st... |
bdc1f74d3cc77e5322292dc2a69b6b3715b0eff3 | C# | isabella232/nunit3-tdnet-adapter | /src/NUnitTDNet.Expected/ExpectAttribute.cs | 2.53125 | 3 | namespace NUnitTDNet.Expected
{
using System;
using TestDriven.Framework;
public class ExpectAttribute : Attribute
{
public bool Namespace
{
get; set;
}
}
public class ExpectTestRunAttribute : ExpectAttribute
{
public ExpectTestRunAttribute(Test... |
4bb01a5216b267554ad780f27d57026214f4e768 | C# | KamilaProchera/TestsToMineSweeper | /MinesweeperLibrary/LoadABoard.cs | 3.109375 | 3 | using MinesweeperLibrary.FillInBoard;
using System;
using System.Collections.Generic;
using System.Text;
namespace MinesweeperLibrary
{
public class LoadABoard : ILoadABoard
{
public char[,] board;
int grid;
private readonly IFillInBoardWith0 _fillInBoardWith0;
private readonl... |
b77ee56b88004b12f21e4054494ba03c8c34d334 | C# | tdickon/Summer_Projects_2017 | /RPG_Game/Engine/monster.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Engine
{
public class monster
{
//Private Member Variables
private string _monst_name;
//Public Constructors
public string monst_n... |
16553b0dcb45b41cb89deb09149c85b1164f2144 | C# | cash2one/devfx | /trunk/BaseFx/Config/DotNetConfig/ConfigurationElementCollectionBase.cs | 2.53125 | 3 | /* Copyright(c) 2005-2011 R2@DevFx.NET, License(LGPL) */
using System.Configuration;
namespace HTB.DevFx.Config.DotNetConfig
{
/// <summary>
/// 基础的配置元素集合(抽象),继承自 <seealso cref="ConfigurationElementCollection"/>
/// </summary>
public abstract class ConfigurationElementCollectionBase : ConfigurationEleme... |
4c2a02a50497f8078e878850726de98bcc8a7a9e | C# | mmbelkiman/XNA-Monogame-Sat-System | /SatSystem/RotatedRectangle.cs | 2.75 | 3 | /**
* Class created to work together with Monogame,
* is a simple implementation of a rectangle with rotation and collision
* using SAT (Separating Axis Theorem))
*
* Feel free to change what you need, if you have ideas for improvement, contact and share =]
*
*
* Created by:
* Mauricio Terra (@mauriciomt... |
9c2b9e60c316f422742340a33fb2d856fd2cf40c | C# | chebert2/Prog1 | /prog1/Special/Cond.cs | 3.484375 | 3 | // Cond -- Parse tree node strategy for printing the special form cond
using System;
namespace Tree
{
public class Cond : Special
{
// TODO: Add any fields needed.
public int IndentationInt;
public string IndentationString;
// TODO: Add an appropriate constructor.
publ... |
df0bdda60ae5f121e95a2bbc3560ce1c6f32265c | C# | jespernorman/SocialNetworkApi | /socialnetworkapi/Repositorys/UserRepository.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using Dapper;
using Microsoft.Data.Sqlite;
using SocialNetworkApi.Models;
namespace SocialNetworkApi.Repositorys
{
public class UserRepository
{
private string DBPath { get; set; }
public UserRepository(string dbPath)
... |
ecce62a61bfe90ddb828673078fd7318a55d1f72 | C# | AnomalousMedical/Engine | /OgrePlugin/Wrapper/SceneObjects/MovableObject.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using Engine.Attributes;
using Engine;
namespace OgrePlugin
{
/// <summary>
/// Enum of possible movement types.
/// </summary>
public enum MovableTypes : uint
... |
d655d9b2d4f479a51a89c7b04e499c9a1ffcf214 | C# | hoangtrungcs/NganHangDeThi | /Source/Common/.svn/text-base/Logs.cs.svn-base | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common
{
public static class Logs
{
public static void WriteLog(string log)
{
string path = "Log.txt";
if (!File.Exists(path))... |
f3d0a169ac471b94faca1d15391f946bf16eee8a | C# | carra78/Advanced-Programming | /CA3CalculatorC/CA3CalculatorC/Calculator.cs | 3.5625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CA3CalculatorC
{
public class Calculator
{
//Variables
private static Dictionary<string, string> myFunctions = new Dictionary<string, string>()
{
{ "+","Add" },
{ "-","Subtract"... |
5dc3174a3432417f773bf774f9a13b9231b0a0f7 | C# | zokma/live-sounds | /LiveSoundsSolution/LiveSounds/Api/ZokmaApi.cs | 2.625 | 3 | using LiveSounds.Audio;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
namespace LiveSounds.Api
{
/// <su... |
887710e7bc82d8466bba89626effe6080cd1e14c | C# | curogames/Kaguya | /Assets/Utage/Scripts/GameLib/Effect/MotionPlayType.cs | 2.578125 | 3 | // UTAGE: Unity Text Adventure Game Engine (c) Ryohei Tokimura
using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
namespace Utage
{
/// <summary>
/// モーションの再生タイプ
/// </summary>
public enum MotionPlayType
{
Default, //... |
d601d52fa2f4b8d2bf74e9f5e58c4aa36ef8960f | C# | kds-snyder/12-MyFirstHFT | /MyFirstHFT/Program.cs | 3.46875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyFirstHFT.Classes;
namespace MyFirstHFT
{
class Program
{
const int TIMERDURATION = 5000; // Set timer to 5 seconds (5000 milliseconds)
static void Main(string[] args)
... |
d20069d19d5c439e43d641db27d2257ae9201c48 | C# | Paul-GolfingScribe/tgc-viewer | /TGC.Examples/Collision/EjemploMoveThirdPerson.cs | 2.53125 | 3 | using Microsoft.DirectX.Direct3D;
using Microsoft.DirectX.DirectInput;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using TGC.Core.Collision;
using TGC.Core.Direct3D;
using TGC.Core.Geometry;
using TGC.Core.Mathematica;
using TGC.Core.SkeletalAnimation;
using TGC.Core.Textures;
using TGC.... |
c6300df7fd14287468c89b45a4af417bd7082409 | C# | muhammadyaseen/CarShare | /CarShare.Domain/Concrete/SQLUserRepository.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Sql;
using System.Threading.Tasks;
using CarShare.Domain.Abstract;
using CarShare.Domain.Entities;
using System.Data.SqlClient;
using System.Data;
namespace CarShare.Domain.Concrete
{
public class SQLUserReposi... |
93feabadec91d22ca23c740f48d81ad1f6a615ce | C# | urfour/ShadowHunters | /Project/ShadowHunters_Client/Assets/src/Kernel/Players/view/PlayerView.cs | 2.515625 | 3 | using Assets.Noyau.Players.controller;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Assets.Noyau.Players.view
{
public static class PlayerView
{
private static GPlayer gPlayer;
/// <summary>
... |
29c1fcbdda3b45980a107fefbe74b65b0c6c908c | C# | qdraw/starsky | /starsky/starsky.foundation.database/Helpers/DoubleModelBinder.cs | 2.828125 | 3 | using System;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace starsky.foundation.database.Helpers;
public class DoubleBinderProvider : IModelBinderProvider
{
public IModelBinder? GetBinder(ModelBinderProviderContext context)
{
if (context == null)
... |
321afa312f469469e2f62ee48ea96601761afbc7 | C# | Chlorine-trifluoride/HomeAssignment1 | /Menu/MenuBuilder.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Net.NetworkInformation;
using System.Text;
namespace HomeworkApp
{
class MenuBuilder
{
private string title;
private int selection = 0;
private List<MenuItem> tempItemList = new List<MenuItem>();
public void AddTitle... |
a59ffbccba0c9613f7871c94f211a3a48bfb8d5b | C# | JTOne123/MinimumAsyncBridge | /src/Specific/UniRx.AsyncBridge/AsyncSubjectAwaiter.cs | 2.75 | 3 | using System;
using System.Runtime.CompilerServices;
namespace UniRx.AsyncBridge
{
public struct AsyncSubjectAwaiter<TResult> : INotifyCompletion
{
private readonly AsyncSubject<TResult> _subject;
internal AsyncSubjectAwaiter(AsyncSubject<TResult> subject)
{
_su... |
19d1b21c2307c68db16cb690718a83eb1cf8ab3a | C# | rodrigofurlaneti/api.TDD.DDD | /src/Api.Service.Test/Action/User/HowToRunningDelete.cs | 2.515625 | 3 | using System;
using System.Threading.Tasks;
using Api.Domain.Interfaces.Services.User;
using Moq;
using Xunit;
namespace Api.Service.Test.Action.User
{
public class HowToRunningDelete : UserTest
{
private IUserService _serviceUser;
private Mock<IUserService> _serviceMook;
[Fact(DisplayNa... |
f15c0f7a456099dc9921874ec92ee71d5e64ca19 | C# | korabqarri/vehiclemanagment | /FleetManagment.DAL/Infrastructure/DataConnection.cs | 2.6875 | 3 | using System;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
namespace FleetManagment.DAL.Infrastructure
{
public class DataConnection
{
public string ConnectionString => ConfigurationManager.ConnectionStrings["db"].ConnectionString;
#region DataConnection
... |
ad08b4f768c71e8a57105393a5664f34a1986c3a | C# | wilsonneto-dev/HackerRank2_TwoElementsAddUpToK | /src/csharp/Program.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
namespace csharp
{
class Program
{
static void Main(string[] args)
{
List<int> numbers = new List<int>() { 1, 2, 3, 4, 5, 6 };
}
}
}
|
28e6bad35a3bf06ad0478f38576468bf6bd7e3bf | C# | SanderBuruma/EverythingInOne | /PersonalWebsite/Controllers/CodebreakerController.cs | 2.921875 | 3 | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using PersonalWebsite.Enumerables;
namespace PersonalWebsite.Controllers
{
public class CodebreakerController : BaseController
{
private static List<CodebreakerCode> _codes =... |
385af28d70b6fb36eb1333f4bdf145cd1cbfd3d0 | C# | amankthn/LaundryManagementSystemWebApp | /MVCLayer/Models/CustomerUpdate.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using MVCLayer.CustomValidation;
namespace MVCLayer.Models
{
public class CustomerUpdate
{
public CustomerUpdate()
{
this.Accounts = new HashSet<Account>... |
5abe65f639fe61ceb2f828f7e504e2b5f9124610 | C# | ansem571/GameLibrary | /GameLibrary/Models/Point2D.cs | 3.578125 | 4 | using GameLibrary.Interfaces;
namespace GameLibrary.Models
{
public class Point2D : IPoint
{
public float X { get; set; }
public float Y { get; set; }
public Point2D(IPoint point)
{
X = point.X;
Y = point.Y;
}
public Point2D(float x, fl... |
407da7ff2fbd916bea79f482c4e15b9480b9103c | C# | CoderEasonLin/TDD_Homework_201509 | /day1Tests/AccountingTests.cs | 2.8125 | 3 | using System.Collections.Generic;
using day1;
using ExpectedObjects;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
namespace day1Tests
{
[TestClass]
public class AccountingTests
{
private IOrderDao _OrderDao;
private void SetupDataDao(int dataCount)
{
... |
38805b504b9ba64aae56fb8429f15688d02e054a | C# | Pingimingi22/VR-Group-Project | /Assets/Scripts/Player/PlayerManager.cs | 2.8125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerManager : MonoBehaviour
{
public int m_maxPlayerHealth = 100;
public int m_playerHealth = 100;
// Start is called before the first frame update
void Start()
{
}
// Update is calle... |
0377689e6656c18d41d30669d14d02dd926a210e | C# | Hareis/My.App.Order | /My.App.Config/DataBase/DBConfigs.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace My.App.Config.DataBase
{
/// <summary>
/// 数据库配置类
/// </summary>
public class DBConfigs
{
/// <summary>
/// 间隔为10分钟
/// </summary>
private static System.Timers.Timer Encr... |
9763fd415a47ede121e62567b7f35a133844ad79 | C# | vncloudsco/Discord | /NuGet/PackageSource.cs | 2.78125 | 3 | namespace NuGet
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
[DataContract]
internal class PackageSource : IEquatable<PackageSource>
{
private readonly int _hashCode;
public Pac... |
4e9171f53b81b977b46aef5809a424bb74ca0eb3 | C# | abhinavuflex/UflexAPI | /Sample/Northwind.Entities/Models/Mapping/tblMasterLanguageMap.cs | 2.578125 | 3 | using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace Northwind.Entities.Models.Mapping
{
public class tblMasterLanguageMap : EntityTypeConfiguration<tblMasterLanguage>
{
public tblMasterLanguageMap() : this("dbo") { }
public ... |
5e2b79cb4d856a12aaaff9dabfe1efb2f2a8f69d | C# | shendongnian/download4 | /code8/1514675-41718610-175573371-8.cs | 2.9375 | 3 | byte messageType = (1 << 3); // assume that 0000 1000 would be XML
byte[] message = Encoding.ASCII.GetBytes(xml);
byte[] length = BitConverter.GetBytes(message.Length);
byte[] buffer = new byte[sizeof(int) + message.Length + 1];
buffer[0] = messageType;
for(int i = 0; i <... |
28f28a3d6886682c61295695473dba8a957d54fb | C# | DataJuggler/DataTier.Net | /DataTier.Net/Client/Xml/Writers/MethodsWriter.cs | 2.78125 | 3 |
#region using statements
using DataTierClient.Objects;
using ObjectLibrary.BusinessObjects;
using DataJuggler.Core.UltimateHelper;
using System;
using System.Collections.Generic;
using XmlMirror.Runtime.Objects;
using XmlMirror.Runtime.Util;
using System.Text;
#endregion
namespace DataTierClient.Xml.Writers
{
... |
8cb7dad2ad81c2202c1bd6ad45f88b4cc6c0732c | C# | dinnerTime/sandbox | /Assets/scripts/ShapeFactory.cs | 3.046875 | 3 | using UnityEngine;
using System.Collections;
public static class ShapeFactory
{
public static Vector3[] UnitRegular(Vector3 center, int sides, float radius)
{
Vector3[] vertices = new Vector3[sides];
float radian = (Mathf.PI*2f)/(float)sides;
for(int i = 0; i < vertices.Length; i++)
{
Vector3 unit = V... |
35d61cd85d35ad158497c6beaf6da336bf019df6 | C# | CaesarHuang/DesignPattern | /MyProject/vs2012/DesignPattern/DesignPattern/StrategyDL/CashReturn.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesignPattern.StrategyDL
{
public class CashReturn : ICashResultInterface
{
private double _full = 300;
private double _return = 100;
public double GetCashResu... |
ce46edd881d4bb9f3d456872eed908fcc0821f99 | C# | Ruzzie/IOTSensorData | /Source/SensorDataApi/Ruzzie.SensorData.Web/DynamicDictionaryHelpers.cs | 2.671875 | 3 | using System.Dynamic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Ruzzie.SensorData.Web
{
public static class DynamicDictionaryHelpers
{
public static dynamic CreateDynamicValueAsDynamicDictionaryWhenTypeIsConvertible(dynamic valueToSet)
{
if (valueToSet is Expando... |
6a226945535103952f172c6ba947ed3fb3d56645 | C# | mpopiol/putcoin | /PutCoin/Models/Transaction.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using NLog;
namespace PutCoin.Model
{
public class Transaction : ICloneable
{
public Guid Id { get; set; }
public IEnumerable<Guid> OriginTransactionIds { get; set; }
public IEnumerable<Transacti... |
dd7a030b04cb1ab7e9306f0457a075c0b09ac176 | C# | TomRyder/RollWithIt | /RollWithIt/Infrastructure/Upgrade.cs | 2.828125 | 3 | using System;
namespace RollWithIt.Infrastructure
{
public class Upgrade
{
public Upgrade(Guid id, string name, int order, string sql)
{
Id = id;
Name = name;
Order = order;
Sql = sql;
}
public Upgrade(string id, string name, int ... |
9687fb05f3c5748d59d21522ef6c6a9e3e65cdb2 | C# | JoshuaStorm/BlizzardCSharp | /Games/WoW/GuildPerk.cs | 2.6875 | 3 | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlizzardCSharp.Games.WoW
{
public class GuildPerk
{
public class Perk
{
public int ID { get; internal set; }
public... |
5925255b90df36557125b89e7a8c679f69cbc613 | C# | d0niek/HESOYAM-Production | /HESOYAM_Production/App/Models/Opponent.cs | 2.53125 | 3 | using App;
using App.Collisions;
using HESOYAM_Production;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
namespace App.Models
{
abstract class Opponent : Character, IInteractiveObject
{
public float speed;
public float d... |