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 |
|---|---|---|---|---|---|---|
3f75c08e1760420b0a81c785d1e560536d8fe315 | C# | prukpruk/SQLite | /SQLiteApp/SQLiteApp/MainWindow.xaml.cs | 2.609375 | 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;... |
9d0f67ccd6db065ee70264303c6fba566a420078 | C# | NuGet/NuGet.Client | /src/NuGet.Core/NuGet.CommandLine.XPlat/Commands/PackageReferenceCommands/ListPackage/FrameworkPackages.cs | 2.515625 | 3 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
namespace NuGet.CommandLine.XPlat
{
/// <summary>
/// A class to simplify holding all of the in... |
ec2cab9361ece9db4a0274222dd8f663d9988894 | C# | Noobrega/Processo-Seletivo-do-Programa-de-Forma-o-FCamara | /Exe6.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FCamara_Proc_Seletivo
{
public class Exe6
{
private double Comprimento, Largura;
public void setLados(double _comprimento, double _largura)
{
Comprimento = _comprim... |
e10c35c549fb118594330656ee6669a268c62dd8 | C# | robson-gilli/d2d | /Door2DoorWebApp/TestPages/OutputPage.aspx.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Door2DoorCore.Types.Door2DoorResponse;
using Newtonsoft.Json;
namespace Door2DoorWebApp
{
public partial class OutputPage : System.Web.UI.Page
{
protected vo... |
526ccbe4ad9965201ca97a7b56619b22e71c253b | C# | msolimans/RPG | /RPG.BLL/Weapons/Sword.cs | 2.640625 | 3 | using RPG.BLL.Items;
namespace RPG.BLL.Weapons
{
public class Sword: Weapon, IWeapon
{
const int DAMAGEEFFECT = 10;
public Sword(int id, string name) : base(id, name)
{
DamageEffectPoints = DAMAGEEFFECT;
}
//each weapon will affect diffe... |
3b431a21dff02fc0a4a88279b5b8510f734de0c7 | C# | AlibekovMurad5202/Computational-Methods | /labs/SLAE_Solver/SLAESolvingMethod.cs | 3.1875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SLAE_Solver
{
abstract class SLAESolvingMethod
{
public abstract double[] Solve(double[,] matrix, double[] b);
public static bool IsDiagonalityDominance(ref double[,] matrix)
{
... |
e55145accde06978d3397ee3e799a2418ff7a50c | C# | yijunyu/demo | /datasets/corefx-1.0.4/src/System.ComponentModel.Annotations/tests/PhoneAttributeTests.cs | 2.78125 | 3 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.ComponentModel.DataAnnotations
{
public class PhoneAttributeTests
{
p... |
f7684ce7637779e426840ced1defa924121db03a | C# | nttrdb/Reusable | /Reusable.Flawless.Tests/ResultTest.cs | 2.65625 | 3 | using System;
using System.Linq;
using System.Windows;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Reusable;
namespace Reusable.Tests
{
[TestClass]
public class ResultTest
{
[TestMethod]
public void AsEnumerable_Collection_Casted()
{
var nums = new[] { 1, ... |
1b982ba0f175cae7de140d5828c0f3614bdae68d | C# | montgomerysamantha/Infix-Prefix-Postfix-Conversion | /Project4/ExpressionTree.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KansasStateUniversity.TreeViewer2;
using System.Windows.Forms;
namespace Project4
{
public class ExpressionTree<T> : ITree, IColorizer where T : IComparable<T>
{
... |
1584c478c040c451a0ba40e78d01cb4626060d91 | C# | cjonasl/Leander | /Solutions/Nr2/ConsoleApp1/Nr1/R17.cs | 2.96875 | 3 | using System;
using System.Text;
namespace Leander.Nr1
{
public static class R17
{
public static void Execute()
{
string[] v;
int i, workDay;
string fileNameShort, year, month, day, str;
ArrayList arrayList, dayDate, numberOfBytes;
St... |
d51ef04d79167556b847d47a585ef384d4b8e452 | C# | TenderTicante/Speedwagon | /Speedwagon/Models/Datos.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Speedwagon.Models
{
public class Datos
{
[Required(ErrorMessage = "El siguiente dato es requerido")]
public string nombre { get; set; }
[Required... |
30562d30750dc9d8e8f4e0cea4c5e367e95607c0 | C# | andersonnichele/ProgramandoEmCSharp | /ProgramandoEmCSharp/Multithreading_and_asynchronous_processing/Exemplos/UtilizandoTasks/TaskContinueWith.cs | 3.875 | 4 | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Multithreading_and_asynchronous_processing.Exemplos.UtilizandoTasks
{
public class TaskContinueWith
{
public TaskContinueWith()
{
/*Instância do tipo Task criada terá um retorno do tipo int*/
... |
725ad885a08040298bd3e4866991a86b99ce4e6a | C# | MarcoMeter/obstacle-tower-source | /Assets/ObstacleTower/Scripts/FloorGeneration/MissionGraph/Recipe.cs | 3.421875 | 3 | using System.Collections.Generic;
using System.IO;
namespace ObstacleTowerGeneration.MissionGraph
{
/// <summary>
/// A class for the action of applying the patterns any number of times
/// </summary>
class Recipe
{
/// the current pattern to be applied
public string action { set; g... |
482a4b6e3b167d97f826f0fc76dd712fd7c39860 | C# | goekboet/meets | /timeutil/Program.cs | 2.5625 | 3 | using System;
using System.Linq;
namespace timeutil
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("timezone");
Console.WriteLine(string.Join(
Environment.NewLine,
from z in TimeZoneInfo.GetSyst... |
a8aee2c255cc9cc8a0954e92232b162525e0bfbe | C# | AntyMew/RogueEssence | /RogueEssence/LevelGen/Spawning/BulkSpawner.cs | 2.6875 | 3 | using RogueElements;
using System;
using System.Collections.Generic;
namespace RogueEssence.LevelGen
{
[Serializable]
public class BulkSpawner<TGenContext, TSpawnable> : IStepSpawner<TGenContext, TSpawnable>
where TGenContext : IGenContext
where TSpawnable : ISpawnable
{
public Li... |
a1fcb01fbc5861e6f3b2de5303e1cfbd5fc2be0b | C# | milesizzo/engine2d | /GameEngine/Templates/GameObjectTemplate.cs | 2.671875 | 3 | using CommonLibrary.Serializing;
using GameEngine.GameObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameEngine.Templates
{
public abstract class GameObjectTemplate : ITemplate
{
private string name;
prote... |
e8313b8640941e39acbdc26af8fe2d20a1b379eb | C# | shendongnian/download4 | /code1/41784-40620889-131644641-8.cs | 2.578125 | 3 | [HttpGet]
public ActionResult contactinformation()
{
//try cast to model
var m = new Models.ContactInformation();
if (TempData["contact"] is Models.ContactInformation) m = (Models.ContactInformation)TempData["contact"];
//restore model... |
efc51c91d140f203b7cbb6ffc5ce82a0dbf084e9 | C# | seto77/ReciPro | /Crystallography/Spline.cs | 3.21875 | 3 | using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Double;
using System;
using System.Collections.Generic;
namespace Crystallography
{
public class Spline2nd
{
public List<double> A, B;
public List<PointD> Pt;
public Spline2nd(List<PointD> pt)
{
... |
2c9efd629b1ec0b57199ce1fcdb43975a92a7194 | C# | hheimbuerger/yaxgl | /src/dotnet/yaxgl/YaxglLibrary/Container/WindowManager.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Xml;
namespace de.yaxgl
{
public class WindowManager
{
IList<Window> windows = null;
private static WindowManager instance = null;
private static bool initialized = fa... |
b1fd3f9140bbece13922b6f2d4c2fd6ac1a6e723 | C# | pashchuk/OS-Labs | /lab2/OS2/source/MemoryManagedUnit.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OS2.source
{
class MemoryManagedUnit
{
private int cursor;
public int Cursor
{
get
{
if (cursor == PhysicPageCount)
cursor = 0;
return cursor;
}
set
{
if (value == PhysicPageCount)
... |
ad43303d9e7e225e8989325d30baca7340eb26cc | C# | JaderDias/wallpaper-downloader | /Wallpaper/WallpaperTest/FileExtensionsTest.cs | 2.625 | 3 | using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Wallpaper;
namespace TestWallpaperDelete
{
/// <summary>
///This is a test class for FileExtensionsTest and is intended
///to contain all FileExtensionsTest Unit Tests
///</summary>
[TestClass()]
pu... |
c01955414bda20b694a32c53e7e2aa74f7a3077e | C# | millroy28/GC-MVC-Countries-Lab | /GC MVC Countries/CountryController.cs | 3.140625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Text;
namespace GC_MVC_Countries
{
class CountryController
{
public List<Country> CountryDb = new List<Country>();
public CountryController()
{
List<ConsoleColor> CanCol = new ... |
ad427c24129a6cba996f3361d78c9679fb90ecea | C# | shendongnian/download4 | /first_version_download2/6096-14531529-35016081-2.cs | 3.21875 | 3 | public class DynamicArray<Type>
{
private Type[] internalArray;
public DynamicArray()
{
internalArray = new Type[0];
}
public int Length
{
get
{
return internalArray.Length;
}
set
... |
f4cefd2b4692eb98fe6729d35f97ca0541907ec6 | C# | dileepbalakrishnan/TPL | /Fundamentals/MutexDemo/BankAccount.cs | 3.4375 | 3 | using System.Threading;
namespace MutexDemo
{
public class BankAccount
{
private readonly Mutex _mtx = new Mutex();
public int Balance { get; set; }
public void Deposit(int amount)
{
var lockTaken = false;
try
{
... |
dd6aa4a8fd6062b723fdd9acff1e027e68d9514f | C# | gkirgizov/coil | /3 semester/hw4/ClickTool/ClickTool.cs | 2.59375 | 3 | using System.Windows.Forms;
namespace hw4 {
/// <summary>
/// Incapsulates specific for IGlyphLogic behavior.
/// </summary>
public abstract class ClickTool {
public virtual IAction MouseDown(MouseEventArgs e) => defaultReturning;
public virtual IAction MouseMove(MouseEventArgs e) =>... |
c62d722d43a491fda1dbcb34722b01c13f91d1d0 | C# | dosvidos/Kappa | /Kappa.Core/Recycling/Dynamic/DynamicRecycleFactory.cs | 2.6875 | 3 | using System;
using System.Runtime.CompilerServices;
using Eco.Recycling;
using Kappa.Core.Recycling.Dynamic.Attributes;
using Kappa.Core.Reflection.Emit;
using Kappa.Core.System;
namespace Kappa.Core.Recycling.Dynamic
{
/// <summary>
/// Represents a factory that produces <see cref="IRecyclable"/> object... |
dbf0f65afc7aaa599b0413173082daa0faed09db | C# | AntonioSmith/255-2021-Outbreak | /Assets/_Szczesniak/Scripts/HealthScript.cs | 2.59375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Szczesniak {
public class HealthScript : MonoBehaviour {
public float health { get; private set; }
public float maxHealth = 100;
void Start() {
health = maxHealth;
}
... |
9c5cce11826bb0dc15e8e8e5af64590c8dd243d8 | C# | TheDammedGamer/DiscogsPS | /src/lib/DiscogsPS.Lib/SearchPage.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace DiscogsPS.Lib
{
public class SearchPage
{
public Paging Pagination { get; set; }
public List<object> Results { get; set; }
private SearchPage()
... |
d20a422ab2321d7cb6743151ad7711faddd37022 | C# | novocob/TelerikAcademy | /C# Part1/03.OperatorsAndExpresions/06.PointWithinCircle/PointWithinCircle.cs | 4.46875 | 4 | /* Write an expression that checks if
given point (x, y) is within a circle K(O, 5). */
using System;
class PointWithinCircle
{
static void Main()
{
Console.Write("Enter x: ");
double x = double.Parse(Console.ReadLine());
Console.Write("Enter y: ");
double y = double.Pa... |
afcaa7d1a197dae2fd2cbf7ed0e4511232c95242 | C# | radzevich/Shapes | /Shapes/View/InputParser.cs | 3.109375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Shapes.Exceptions;
using Shapes.Shapes;
using Shapes.View.Models;
namespace Shapes.View
{
public static class InputParser
{
private const string UserInputPattern = @"(?<command>\w+)\s+(?<args... |
f1c812c3e60b1096e845706626021eed3b346ae9 | C# | monarchBacilluscoli/CSharpTest | /delegate_test/AdvancedInvocationListTest.cs | 3.375 | 3 | using System;
namespace delegate_test
{
// GetInvocationList用于委托链不够健壮的情况,需要多个返回值的情况
public class AdvancedInvocationListTest
{
public static void AdvancedInvocationTest()
{
// construct a delegate chain
Func<string> f1 = new Func<string>(new Tracks().Status)... |
2d127a84fb538168182a5427097c7e8446f9ec2a | C# | jordansjones/DsPerformanceTesting | /DsPerformanceTesting/Benchmarks/BaseMeasurer.cs | 2.53125 | 3 | using System;
using DsPerformanceTesting.Classes;
namespace DsPerformanceTesting.Benchmarks
{
public abstract class BaseMeasurer : IBenchmarkMeasurer
{
protected const int TimeLimit = 3 * 60 * 1000;
protected readonly ICache _cache;
protected readonly IBenchmark _benchmark;
... |
5ca5288b5c3e41c3f3c22a79696db7f5ea474ec9 | C# | dotmos/uGameFramework | /Unity/Assets/GameFramework/Extensions/CopyProperties.cs | 3.359375 | 3 | using System;
using System.Linq;
using System.Reflection;
/// <summary>
/// A static class for reflection type functions
/// </summary>
public static partial class Reflection
{
/// <summary>
/// Extension for 'Object' that copies the properties to a destination object.
/// </summary>
/// <param name="s... |
21c259497ccadc473d9c1ac69f1cdd02563c8a15 | C# | Snow-Nee/BaseLayer | /Source/BaseLayer/ApplicationBaseBase/HebianGu.ObjectBase.ObjectHelper/ObjectExtention/EnumerableHelper.cs | 3.375 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Linq
{
public static class EnumerableHelper
{
/// <summary> 改进的Aggerate扩展(示例代码,实际使用请添加空值检查) </summary>
public s... |
c25141db8013fe645e23faa2e8937ad2ff40554f | C# | Guntereno/AdventOfCode | /Advent/Program.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Advent
{
class Program
{
static void Main(string[] args)
{
Solution[] solutions = new Solution[]
{
DayOne.GetSolution(),
DayTwo.GetSolution(),
DayThree... |
180b86dc91a66693167d9b9217f388d45bc83022 | C# | kukech/ITVDNEssentialTasks | /Lesson001/Task3/Program.cs | 3.640625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Task3.Classes;
namespace Task3
{
/*Создать класс Book. Создать классы Title, Author и Content, каждый из которых должен содержать
одно строковое поле и метод void Show().
Реализуйте возмож... |
b5bfb01cef67c558c3bcf0b760f6426e052b7bb8 | C# | shendongnian/download4 | /code2/250641-5008838-10645617-14.cs | 3.3125 | 3 | public abstract class VertexBase
{
internal Vertex ToVertex()
{
// your logic here
}
}
public static class OpenGL
{
public static void WrappedFunction(VertexBase[] vertices)
{
Vertex[] outVertices = new Vertex[vertices.Length];
... |
8b2e5bb780eb4e28f1e8668549edd4dcdebc12e0 | C# | LukasPurnoch/Menu | /Menu/Menu/Program.cs | 3.609375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace Console_Menu
{
class Program
{
static void Main(string[] args)
{
Console.CursorVisible = false; //Removes the bliking line
drawMenu(new string[] {
"Hell... |
e229a0ba5e4aa4c40a3b1b56756fcd513edf6353 | C# | JohnLambe/JLCSUtils | /JLCSUtils/JLUtils/TypeConversion/Converters.cs | 3.171875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JohnLambe.Util.TypeConversion
{
/// <summary>
/// Uses System.Convert.
/// Converts most types to most types.
/// Can't convert to a nullable type nor an Enum.
/// </summar... |
f988f3c7566f932c0316bc141b6e713c0b06a1fc | C# | Msalazar1/Lab-2.2-Project | /Program.cs | 3.828125 | 4 | using System;
namespace TableofPowers
{
class Program
{
static void Main(string[] args)
{
bool keepgoing = true;
while (keepgoing)
{
{
Console.WriteLine("Learn your squares and cubes!");
Console.WriteLine("Ente... |
98eaa321c43afa1ecd0a87ab2b93959d68ef249e | C# | Mirazul038/CollateralManager | /CollateralLoanMVC/Services/ILoanManagement.cs | 2.828125 | 3 | using CollateralLoanMVC.Util;
using CollateralLoanMVC.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CollateralLoanMVC.Services
{
/// <summary>
/// This service is responsible for communicating with the Loan Management Api.
/// </summary>
public ... |
54ed2071d20616e078eb46fefeea84d226f2982a | C# | bedford603067/Augment | /WMLibrary/Classes/Asset.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessObjects.WorkManagement
{
public partial class Asset
{
#region Public Properties (outside XSD schema)
private SerializableHashTable _ExtendedProperties;
[System.Xml.Serialization.XmlArrayItemAttribute(I... |
4030b7be452c5ac1a6b913c8e36c84b44069c38a | C# | JugaadSolutions/AOSmithWaterTreatment_Software | /TestBenchApp/Entity/Line.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace TestBenchApp.Entity
{
#region DATACLASSES
public class line : INotifyPropertyChanged
{
... |
2caf4f479bce14464431dfd8c7a5b72343c3493a | C# | nss-day-cohort-45/c45-class-notes | /WebAPI/Gifter/Gifter/Controllers/PostController.cs | 2.65625 | 3 | using System;
using Microsoft.AspNetCore.Mvc;
using Gifter.Repositories;
using Gifter.Models;
namespace Gifter.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class PostController : ControllerBase
{
private readonly IPostRepository _postRepository;
public PostControlle... |
6bf8fd01ed80062480ba3a9c5ec844e843d5224b | C# | AdamGrzonkowski/OponeoNET | /OponeoNET/Subjects/Polimorphism/Bird.cs | 3.109375 | 3 | using System;
namespace OponeoNET.Subjects.Polimorphism
{
public class Bird : Animal, IFlyingAnimal
{
public void Flying()
{
Console.WriteLine("I can fly!");
}
public void Voice()
{
Console.WriteLine("Kra kra!");
}
public overri... |
8d9a0690d0eee1ce1e3dd6843a8b0637bbf826a6 | C# | gorbushin-v-a/6sem-Bank-Deposits | /WEB/Controllers/Implementation/BankController.cs | 2.765625 | 3 | using BLL.Interfaces;
using Microsoft.Extensions.Logging;
using sharps_ent.Entity;
using System.Linq;
namespace sharps_ent.Controllers
{
public sealed class BankController : GenericController
{
private readonly IBankService bankService;
public BankController(ILogger<GenericController> logger,... |
ac298c1a250f21c92af9727a1d46944a7e194bbb | C# | ImoutoChan/WetPicsTelegramBot | /WetPicsTelegramBot.Data/DbRepository.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using WetPicsTelegramBot.Data.Context;
using WetPicsTelegramBot.Data.Entities;
using WetPicsTelegramBot.Data.Helpers;
using WetPicsTelegramBot.Data.M... |
9558b743d9d7311c68c0316613d01d18ad019b23 | C# | dotnet/dotnet-api-docs | /snippets/csharp/System/String/Overview/compare4.cs | 3.796875 | 4 | // <Snippet21>
using System;
using System.Globalization;
using System.Threading;
public class CompareStringSample
{
public static void Main()
{
string str1 = "Apple";
string str2 = "Æble";
string str3 = "AEble";
// Set the current culture to Danish in Denmark.
Thread.Curren... |
6e3029ae4dc5edf37817c7bca2d9bf2c6de40179 | C# | Braafisch/Systemarchitekturen-mit-.net | /aufgabe12/Program.cs | 2.796875 | 3 | using System;
namespace aufgabe12
{
class Program
{
internal UserInteraction UserInteraction;
internal PossessionLogic PossessionLogic;
internal Possession Possession;
internal Program()
{
UserInteraction = new UserInteraction();
Poss... |
9e5abdde1ef63183ec9fffb806282e434c92f3bb | C# | mjcheetham/dogged | /Dogged.Tests/CommitTests.cs | 2.515625 | 3 | using System;
using Xunit;
using Dogged;
namespace Dogged.Tests
{
/// <summary>
/// Test that we can operate on commits.
/// </summary>
public class CommitTests : TestBase
{
[Fact]
public void CanLookupCommit()
{
ObjectId id = new ObjectId("be3563ae3f795b2b4353b... |
419a8c73312696c8771d25c212eded80b0b4d730 | C# | OsamaAhmedGit/Dragon-Rescue-SourceCode | /Knight.cs | 2.515625 | 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;
using TileEngine;
namespace DragonRescue
{
public class Knight : Sprite
{
#region Declaration... |
20e36dd934a1cb07576ea84709d53dc76434216b | C# | zumten/dotnet-website-crawler | /src/ZumtenSoft.WebsiteCrawler.BusLayer/Crawling/Processing/WorkDispatcher.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using ZumtenSoft.WebsiteCrawler.Utils.Events;
using ZumtenSoft.Linq2ObsCollection.Collections;
namespace ZumtenSoft.WebsiteCrawler.BusLayer.Crawling.Processing
{
public class WorkDispatcher<TItem, TContext> : NotifyObje... |
0a4c6ed3fceb9c4552d9982be363217afbc13d30 | C# | iammobina/Advanced-Algorithms | /A6/A6/Q3MatchingAgainCompressedString.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestCommon;
namespace A6
{
public class Q3MatchingAgainCompressedString : Processor
{
public Q3MatchingAgainCompressedString(string testDataName) : base(testDataName)
{
... |
4d8abf788525afc7bbc5136bbce6cc6e79d2656f | C# | McPretNeck/Ben_com | /TwitterFeed/Controllers/HomeController.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TwitterFeed.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
//authentikatie voor de twitter API
var twitter = new ... |
fabd5279070b5e6f5df8966a3e7bade1ef1bbdb8 | C# | Viola8905/lab-7 | /lab7.3.cs | 3.453125 | 3 | using System;
namespace lab77._3
{
class Program
{
static void Main(string[] args)
{
Console.Write("розмірність матриці: ");
int r = Convert.ToInt32(Console.ReadLine());
int[,] matrix = new int[r, r];
Random random = new Random(DateT... |
d4b7c871639cc94122b2b6e89f2c36238bd9d2dc | C# | shendongnian/download4 | /code2/375260-43457819-143330539-2.cs | 2.828125 | 3 | public class MyViewModel
{
public MyDataTable Data { get; set; }
public MyViewModel()
{
loadData(() => GetData());
}
private async void loadData(Func<DataTable> load)
{
... |
17700148129f9394359b0c6c5935838b46765f23 | C# | anhdung1107/console-app-sem3 | /ConsoleApp1/Program.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ConsoleApp1.Controllers;
using ConsoleApp1.Models;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
GenerateM... |
48007928164f12519864b3cf86730e15ed7768f4 | C# | shendongnian/download4 | /code10/1803711-53020020-184635193-4.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
namespace HotelBot
{
//Reference: TextPrompt.cs
public class Custom... |
41c244349a6426af06140fb4611e087714956316 | C# | tivtag/Meta.Repo | /Source/Meta.Builder/Program.cs | 2.8125 | 3 |
namespace Meta.Builder
{
using System;
using System.CodeDom.Compiler;
using System.Linq;
public static class Program
{
public static void Main( string[] args )
{
if( args.Length == 0 )
{
Console.WriteLine( "Hmm? You have given me no code to ... |
5a1a0cb0e8f8bd7f74630e6338c6a2403dca6009 | C# | akarnokd/Reactive4.NET | /Reactive4.NET.Test/ComputationTest.cs | 2.609375 | 3 | using NUnit.Framework;
using System;
using System.Linq;
using System.Threading;
namespace Reactive4.NET.Test.Direct
{
[TestFixture]
public class ComputationTest
{
[Test]
public void Direct()
{
var t = Executors.Computation.Now;
Executors.Computation.Schedule... |
41ef3b5919a6f6d9dfee7064439d25216ec57242 | C# | klexas/screencap | /screencap/Recorder.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using SharpAvi;
// Contains types used for writing like AviWriter
using SharpAvi.Output;
// Cont... |
e58cb346f30cfaa78c4caef41efa5ff86abb751b | C# | JPlumridge/GenericODataWebApi | /GenericODataWebApi/Entity Framework/EntityFrameworkODataProvider.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Threading.Tasks;
using System.Web.OData;
namespace GenericODataWebApi
{
public class EntityFrameworkODataProvider<TEntity> where TEntity : class
{
private ... |
f5ff5df5bfd0458b8d1811e97e4788b8fbd2d8b3 | C# | AveaSolutions/orbital7.extensions | /src/Orbital7.Extensions/Models/IIdObjectExtensions.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Orbital7.Extensions.Models
{
public static class IIdObjectExtensions
{
public static bool Contains<T>(this List<T> list, Guid? id)
where T : IIdObject
{
if (id.HasValue)
... |
a1486ffaa89030b41c2e81e9b2b078bceed87640 | C# | zeta1999/runAs | /JetBrains.dotnet-runas/FileSystem.cs | 2.859375 | 3 | namespace JetBrains.RunAs
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
internal class FileSystem : IFileSystem
{
public string CreateTempFile(string extensio... |
17715f76e4604b4ed5769e5d03087524ba5c766c | C# | RonanBreenIT/Golf_CA2_API_Client | /Golf_CA2_API_Client/Models/Golfer.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Golf_CA2_API_Client.Models
{
public class Golfer
{
public int GUI { get; set; }
public string FirstName { get; set; }
public string Surname { get; set; }
... |
95be69225bc4c38cdf16e407667ea6a28263073b | C# | new2500/LeetCode | /009. Palindrome Number.cs | 3.390625 | 3 | /*9. Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.
Tags: Math
Similar Problem: Palindrome LinkedList EqualityComparer
*/
//Author: new2500
//say N is length of x, then this is a O(logN) algo.
public bool IsPalindrome(int x)
{
//1. Negative number 2.X... |
369df72a84a2424aaca101ab241e86f93a99f99f | C# | BionStt/CSharp-Machine-Learning-Projects | /Chapter03/TwitterSentimentModeling.cs | 2.546875 | 3 | using Accord.Controls;
using Accord.MachineLearning;
using Accord.MachineLearning.Bayes;
using Accord.MachineLearning.DecisionTrees;
using Accord.MachineLearning.Performance;
using Accord.Math.Optimization.Losses;
using Accord.Statistics.Analysis;
using Accord.Statistics.Distributions.Univariate;
using Accord.Statistic... |
c52f882aff8d5ba671523ff07445f42b362d49ce | C# | Level0r0s/JSC-Cross-Compiler | /examples/java/System_Net_Sockets_TcpClient/System_Net_Sockets_TcpClient/Extensions.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ScriptCoreLib;
using System.Net.Sockets;
using System.IO;
using System.Net;
using System.Threading;
namespace System_Net_Sockets_TcpClient
{
[Script]
public static class Extensions
{
public static void At... |
b7ebe85dfe65ffb03befb4805b91558c1bd50333 | C# | Gretiem/ConsoleToReturnTuple | /ConsoleToReturnTuple/Program.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleToReturnTuple
{
class Program
{
static void Main(string[] args)
{
var tupTestTuple = Tuple.Create("hello", 1, true);
Console.WriteLine("... |
fc896d5787bd365deb42a51b8ac1dd5fa403fc5a | C# | dontsovay/SalaryProposal | /SalaryProposal/SalaryProposal.Infrastructure/UseCases/RegisterUserUseCase.cs | 2.640625 | 3 | using System;
using System.Linq;
using System.Threading.Tasks;
using SalaryProposal.Infrastructure.Dto.UseCaseRequests;
using SalaryProposal.Infrastructure.Dto.UseCaseResponses;
using SalaryProposal.Infrastructure.Interfaces;
using SalaryProposal.Infrastructure.Interfaces.UseCases;
namespace SalaryProposal.Infrastruc... |
b39a2a8e0f2b469ab635027e8f9e0cddc3528dc6 | C# | pingzing/Codeco | /Codeco.Windows10/Common/Converters/FilenameToColorConverter.cs | 2.71875 | 3 | using System;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media;
namespace Codeco.Windows10.Common.Converters
{
//A little hacky, but eh, who cares
public class FilenameToColorConverter : IValueConverter
{
public object Convert(object value, Type targ... |
1d20fe24aa2a4cb76e779653b945c1cb9b279071 | C# | michalprince/Chess | /ConsoleApp1/Function.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
public enum Color { White, Black }
public enum Situation
{ regular, lastEmpty, lastOccupied, doesNotMatter }
class Function
{
public ... |
3fea1a45eeaa320b6369b7a5a82fa3fe11322ddb | C# | Junch/debug | /training/managed/Parameter/example.cs | 2.640625 | 3 | using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Show Params in Windbg");
Program p = new Program();
p.ShowParams(123456, "TestParams", 'L');
Console.ReadLine();
}
public void ShowParams(int a, string b ,char c)
{
Console.W... |
88314066f4085661742610fa7551be6ec1d2a56b | C# | KyleADOlson/CombatManager | /CombatManagerCore/BookmarkList.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using System.IO;
namespace CombatManager
{
public class BookmarkList
{
static BookmarkList list;
ObservableCollection<Bookmark> bookmarks = new ObservableCollection<Book... |
151d97774932f7d03e8a1b7b372071c355c2e831 | C# | FingersCrossed/Arebis.Common | /Arebis.Common/Arebis/Numerics/Base64.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Arebis.Numerics
{
/// <summary>
/// A numeral system with 64 case-sensitive symbols (0-9, A-Z, a-z, + and /).
/// </summary>
[Dat... |
61f2f75caa9c7d265590f46e9db62c8228f146c8 | C# | Jesus-David2/Actividad_7 | /Corte_1/1_Actividad/Punto_8/Program8.cs | 3.84375 | 4 | using System;
namespace Punto_8
{
class Program
{
static void Main(string[] args)
{
show_measurement ('U');//Salida: Es una vocal: U
show_measurement('m');//Salida: Es una letra minúscula: m
show_measurement('´');//Salida: Símbolo del alfabeto:´
... |
149510f12439de5e987afcd0956c660635242189 | C# | Abn12013/Grupp20-DungeonCrawl | /DungeonCrawl 0.0.7 - rörelse utökad/DungeonCrawl/DungeonCrawl/Button.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.In... |
0bfd14194e8e4521afd8d5dbf60001eacf05a52f | C# | mautig/wemeet-be | /Application/Features/Meeting/Queries/GetCalendaByWeekQuery/GetCalendaByWeekQueryHandler.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Domain.Interfaces;
using MediatR;
namespace Application.Features.Queries
{
public class GetCalendaByWeekQueryHandler : IRequestHandler<GetCalendarByWeekQuery, IEnumerable<object>>
{
... |
97ad88c24a1bddefb25d38bc9c21b8dc88978baa | C# | DanielaPopova/TelerikAcademy_Homeworks | /C#1/Exams-C#1/TA CSharp 1 - 23 June 2013/05.Neurons/Neurons.cs | 3.5 | 4 | using System;
using System.Collections.Generic;
class Neurons
{
static void Main()
{
string input = string.Empty;
List<long> allNumbers = new List<long>();
while (input != "-1")
{
input = Console.ReadLine();
if (input == "-1")
{
... |
4cc7d74ed8d317427f5c50558946fc261b9d3455 | C# | ThiagoMSArrais/Sistema-Educacional | /SistemaEducacional/src/TMSA.SistemaEducacional.Domain/Pessoas/PessoaFisica.cs | 2.578125 | 3 | using FluentValidation;
using System;
using TMSA.SistemaEducacional.Domain.Alunos;
using TMSA.SistemaEducacional.Domain.Core.Models;
using TMSA.SistemaEducacional.Domain.Financeiros;
using TMSA.SistemaEducacional.Domain.Funcionarios;
namespace TMSA.SistemaEducacional.Domain.Pessoas
{
public class PessoaFisica : E... |
38635ab8a76fa4e812cbb753e8cc4bcb30cb170c | C# | Zakolesnik/Searchfight | /SearchfightConsoleApp/InputParamParser.cs | 3.46875 | 3 | using System;
using System.Linq;
namespace Searchfight.ConsoleApp
{
/// <summary>
/// Program parameters parcer, verify correctness of input parameters
/// </summary>
public static class InputParamParser
{
private const string MSG_WRONG_PARAMS_NO = "Wrong number of parameters, command call... |
d5d7ff1bf989afcd42144158657113a9f5d5cc4f | C# | yanglr/CsQuery | /source/CsQuery.Mvc/ClientScript/ScriptParser.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
using System.Security.Cryptography;
namespace CsQuery.Mvc.ClientScript
{
class ScriptParser: IDisposable
{
#region constructor
public ScriptParser(Scr... |
e67814fb7bf615846d078e04ab84870799ed0ec4 | C# | TheJMaster28/VRMonkeys-Project | /Assets/Scripts/KeyOpen.cs | 2.875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* Opens the door with the tag Doortag
* author: Jeffrey Lansford
*/
public class KeyOpen : MonoBehaviour
{
// tag of door key can open
public string Doortag;
// allows door to be open only once
private bo... |
4e28ad2fbcd9e547ef5f23c1e2a77373617b1bf8 | C# | bean217/CSharpCodingInterviewQuestions | /Program.cs | 3.421875 | 3 | using System;
using System.IO;
namespace CodingInterview
{
class Program
{
static void Main(string[] args)
{
LinkedList<int> LL = new LinkedList<int>();
Console.WriteLine(LL.ToString());
LL.Add(5);
Console.WriteLine(LL.ToString());
LL.Add(4);
Console.WriteLine(LL.ToString());... |
8cb247aac5514831e73f2d6c0b898bd71021b8e5 | C# | LiminalVR/LiminalSdk-UnityPackage | /SDK/Editor/Utils/DictionaryExtensions.cs | 3.078125 | 3 | using System.Collections.Generic;
public static class DictionaryExtensions
{
// Add only if key is not in lookup
public static void AddSafe<T, TGet>(this Dictionary<T, TGet> lookUp, T key, TGet value)
{
if (!lookUp.ContainsKey(key))
lookUp.Add(key, value);
}
} |
9b072df425ce56e03e990ad8ad0b72b905530103 | C# | mikoskinen/virtual-shields-universal | /Shield/Services/Sensors.cs | 2.578125 | 3 | /*
Copyright(c) Microsoft Open Technologies, Inc. All rights reserved.
The MIT License(MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including witho... |
67db9743100c0baabc23712f8c5785327845bbc6 | C# | a-chan041/Fit.Natic | /Fit.Natic/App.xaml.cs | 2.6875 | 3 | using System;
using System.IO;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Fit.Natic
{
public partial class App : Application
{
static Database database = App.Database;
public static User appUser;
public static DailyTarget todaysTarget;
public static bool firstTime... |
3bca6859e46ee2b8a8d4d032fa949d1b43f9d46f | C# | jsauve/PlugEVMe | /PlugEVMe/ViewModels/NewEntryViewModel.cs | 2.671875 | 3 | using PlugEVMe.Models;
using PlugEVMe.Services;
using System;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace PlugEVMe.ViewModels
{
// See BaseVieWModel for explanation of property changes
public class NewEntryViewModel : BaseViewModel
{
readonly ILocationService _locService;
public s... |
b94b382762da071f358c57fef4eaa0fc9c0c27d7 | C# | shendongnian/download4 | /code8/1432085-39002806-125127057-2.cs | 2.65625 | 3 | [Flags]
public enum Test
{
A = 1,
B = 2,
C = 4
}
Test t;
Enum.TryParse<Test>("A,B", out t);
|
253cded7f9d020c11f3340a560d4a8dcc0cdfc14 | C# | skbkontur/gremit | /GrEmit/StackMutators/StindStackMutator.cs | 2.546875 | 3 | using GrEmit.InstructionParameters;
namespace GrEmit.StackMutators
{
internal class StindStackMutator : StackMutator
{
public override void Mutate(GroboIL il, ILInstructionParameter parameter, ref EvaluationStack stack)
{
var type = ((TypeILInstructionParameter)parameter).Type;
... |
3b811c37965067032338918ee8887bfd8c540ab8 | C# | dobos/PointCloudDB | /src/Elte.PointCloudDB.Core/CodeGen/TupleHelper.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Linq.Expressions;
using Elte.PointCloudDB.Schema;
using Elte.PointCloudDB.Streams;
namespace Elte.PointCloudDB.CodeGen
{
/// <summary>
/// Implements a strongly typed generic tuple helper.
/// </summar... |
0793ff6fadef41c1f313a6507d0c91b908b1e201 | C# | loljoch/ProjectVrij2 | /SurvivalGame/Assets/Helpers/Extensions/TransformExtensions.cs | 3.234375 | 3 | using UnityEngine;
namespace Extensions
{
public static class TransformExtensions
{
/// <summary>
/// Lerps rectTransform to target position
/// </summary>
/// <param name="rectTransform">Rect transform of the object</param>
/// <param name="targetPosition">End positio... |
fe86c89d349ede5c5b66400021e897f8b1869305 | C# | andrewwerd/internship | /1. C#/13. FilesAndStreams/ConsoleApp1/ConsoleApp1/Program.cs | 3.34375 | 3 | using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
string DIR1Path = @"C:\Users\andrei.tirsina\Documents\Internship\internship\13. FilesAndStreams\DIR1";
string DIR2Path = @"C:\Users\andrei.tirsina\Documents\Internship\internship\13.... |
fa50aa4299133db684f516092c12cbb9638ff241 | C# | Schiepek/WD_uph_simulation | /src/UPH_Simulation_Model/Position/WorkZone.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UPH_Simulation_Model
{
public class WorkZone : Position
{
public override PositionState State
{
get
{
if (Rank != 0)
... |
53c872cd65b1d7242db21c98c217bec8279eda1c | C# | agustinezequielgomez/Laboratorio-II | /Modelos de Parcial/1erParcial/Financiera/Entidades/PrestamoDolar.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrestamosPersonales
{
public class PrestamoDolar : Prestamo
{
#region Atributos
private PeriodicidadDePagos periodicidad;
#endregion
#region Propiedade... |
bda799f36b59dbecd4015a1bc9cb427d9371ff3b | C# | tocsoft/Common.Helpers | /Tocsoft.Common.Dates/RepeatingDate.cs | 3.421875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tocsoft.Common.Dates
{
public class RepeatingDate
{
public RepeatingDate()
{
Include = new List<RepeatingDatePattern>();
Exclude = new List<RepeatingDatePattern>();
}... |
03d4b5f9f901ca71f9aee5aed2333fc1de9ee478 | C# | OkekeChristian24/trees-and-graphs-data-structures | /DirectoryTraverserDFS.cs | 3.640625 | 4 | using System;
using System.IO;
using System.Collections.Generic;
// <summary>
// Sample class, which traverses recursively given directory
// based on the Depth-First-Search (DFS) algorithm
// </summary>
public static class DirectoryTraverserDFS
{
// <summary>
// Traverses and prints given directory recursively
... |
49de1578462a0bc3961db0d15117c6eb732b0e79 | C# | RaysOfTheSun/office-equipment-management | /OfficeEquipMgmtApp/DatabaseManagementOperations/DatabaseOperations.cs | 3.03125 | 3 | /*
* LAST MODIFIED BY: CARL RAYOS DEL SOL 5/28/2017 3:04 PM
*/
using System;
using System.Data;
using System.Data.SqlClient; //Imports all needed SQL related syntax.
using System.IO; //Imports syntax related to file streaming.
using Microsoft.Win32.SafeHandles;
namespace DatabaseManagementOperationsLibrary
{
//... |
9b4aae2c86e69fa26cad5ceec74ebbf718e2f7a9 | C# | MostafaAbedi01/IranSoftjoISC | /IranSoftjo.Library/IranSoftjo.Core/Web/Mvc/JqGrid/FilterTranslation/DefaultFilterTranslator.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mehr.Linq.Dynamic;
using System.Reflection;
namespace Mehr.Web.Mvc.JqGrid.FilterTranslation
{
public class DefaultFilterTranslator : IFilterTranslator
{
public virtual FilterInfo Translate<T>(SearchFilter searc... |
a0dba2c19b433ac13fbe4d702b2eea1ae0df787a | C# | weird-frog/PR_WithoutNumber | /Работа с несколькими проектами в рамках одного решения/Program.cs | 2.890625 | 3 | using System;
using System.Net;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Работа_с_несколькими_проектами_в_рамках_одного_решения
{
class Program
{
static void Main(string[] args)
{
WebClient webclient = new WebCl... |