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 |
|---|---|---|---|---|---|---|
df52d86f377111ad6fd7b8a2ebb47c3d8e9ae2a1 | C# | YuriiPovkh/AutoFixture | /Src/Idioms/EqualsSelfAssertion.cs | 3.171875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Ploeh.AutoFixture.Kernel;
using System.Globalization;
namespace Ploeh.AutoFixture.Idioms
{
/// <summary>
/// Encapsulates a unit test that verifies that a type which overrides the
/// <see ... |
86d0251549ca763a7bcdc49011426e76d914423a | C# | Panzerhandschuh/RHTools | /RHTools.Serialization/RH/RHC/RhcFile.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RHTools.Serialization.RH
{
public class RhcFile : IBinarySerializable
{
public byte version;
public RhGuid rhcGuid;
public RhGuid internalGuid;
public RhGuid rhsGuid... |
f621375122795f137a8e761bc791cd9baf4451d6 | C# | yangyunping/GUIDE | /DAL/DalConfig.cs | 2.5625 | 3 | using MODEL;
using System.Data;
namespace DAL
{
public class DalConfig
{
Server server = new Server();
/// <summary>
/// 获取员工基本信息
/// </summary>
/// <param name="sKey"></param>
/// <returns></returns>
public DataTable GetConfigInfo(string sKey)
{... |
72060876177120a21632c020efdd4e9441216dea | C# | ALonWol/Unity-SimpleBehaviorTreeDemo | /Assets/Script/AI/Actions/FindTarget.cs | 2.546875 | 3 | using UnityEngine;
using BehaviorTree;
public class FindTarget : Node
{
private BTCharacter character;
public FindTarget(BTCharacter character, int priority):base(priority) {
this.character = character;
}
override public Status Excute() {
if (character.targets.Count != 0)... |
2e33a0e17ce36c232492cce9144fd93820c96278 | C# | Akshita02diaspark/BMS | /BMS/Models/clsMongoDBDataContext.cs | 2.53125 | 3 |
using BMS.AppConfig;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BMS.Models
{
public class clsMongoDBDataContext
{
private string _connectionStrings = string.Empty;
private string _databaseName = string.Empty... |
6f9d58b4504e24b72ef906c85e71f5bcb5bb2598 | C# | surtor/dotNetAndCoreEducation | /ConsoleApplication01/14_09_19/Program.cs | 3.265625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _14_09_19
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World");
int x = 1;
int y = 1;
... |
e4551cdf753f29e7e8294bf099a8acff49e25b67 | C# | alienlab/Alienlab.Patterns.SmartDisposable | /src/Alienlab.Patterns.SmartDisposable/SmartDisposableOwner.cs | 3.25 | 3 | namespace Alienlab.Patterns
{
using System;
using System.Diagnostics;
public abstract class SmartDisposableOwner
{
private SmartDisposable Cache;
/// <summary>
/// Evicts given instance of SmartDisposable object from cache.
/// </summary>
internal void InvalidateCache(SmartDisposable smar... |
36678f8478c13f22dd86c1ea82d87ee213327052 | C# | msik314/GameAiHw1 | /Assets/Scripts/WallGenerator.cs | 2.84375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WallGenerator : MonoBehaviour
{
[SerializeField] private Sprite[] wallSprites;
// Keeps tracks of which tiles are walls.
Wall[,] walls;
int rows, columns;
public void SetUp(Vector2Int size)
{
walls = new Wall[size.y,... |
555b0595d01b6a4263c133ac67b9b4a834e88dfc | C# | LuGeorgiev/SoftUniDBAdvanced | /EntityRelations/Cars.Data/Models/Configurations/CarDealershipConfiguration.cs | 2.65625 | 3 | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Cars.Data.Models.Configurations
{
class CarDealershipConfiguration : IEntityTypeConfiguration<CarDealership>
{
public void Configure(EntityTypeBuilder<CarDealership> builder)
{
//C... |
3c48899773cdbf7deb539fbae645384d500e5264 | C# | rehan2004/invent | /API/Data/Seed.cs | 2.78125 | 3 | using System.Collections.Generic;
using System.Text.Json;
using System.Threading.Tasks;
using API.Entities;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
namespace API.Data
{
public class Seed
{
public static async Task SeedUsers(UserManager<AppUser> userManager,
... |
accf2abfce92f44a492ae7ad04119e32ebf3ba38 | C# | xiasiliang-hit/restaurant_reservation_system | /restaurant-web-reservation/RestaurantWebReservation/RestaurantWebReservation/Application/BasicDataStractrue/News.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq;
using RestaurantWebReservation.DataAccess;
namespace RestaurantWebReservation.Application.BasicDataStractrue
{
public class News
{
public News() { }
public News(Guid pId, string pTitle, ... |
ef1e0eb6af864a7ef6890d2e3f23ea49d3aa8a67 | C# | ksmyth/GME | /SDK/DotNet/CSharpComponentWizard/DSMGenerators/Enum.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace DSM.Generators
{
public class Enum
{
public class Template
{
public static readonly string Enums =
@"
namespace {0}
{{
{1}
}}
";
}
private static S... |
de6c768928a827ae2e9810fc37a90f7317ec3d7d | C# | piandmash/PI.Data.Mongo | /PI.Data.Mongo/SearchManager.cs | 2.890625 | 3 | using MongoDB.Bson;
using MongoDB.Driver;
using PI.Utilities.Models;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace PI.Data.Mongo
{
/// <summary>
/// Static class to facillitate standard searches
/// </summary>
/// <remarks... |
343e1e6e41e4cc204c4bde972d44b2ddde018537 | C# | shendongnian/download4 | /first_version_download2/206227-16388744-40173662-2.cs | 2.640625 | 3 | DatagramSocket socket = new DatagramSocket();
socket.MessageReceived += socket_MessageReceived;
await socket.ConnectAsync(new HostName("time.windows.com"), "123");
using (DataWriter writer = new DataWriter(socket.OutputStream))
{
byte[] container = new byte[48];
container[0] = 0... |
7ac01050606ed2236eaf52ef35572e60ebc5e09c | C# | hexthedev/CardCreator | /CardCreator/Dependencies/HexCS/Utilities/UsefulDelegates/DMerge.cs | 2.609375 | 3 | namespace HexCS.Core
{
/// <summary>
/// Takes two objects of the same type and merges them into a single object
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="ob1"></param>
/// <param name="ob2"></param>
/// <returns></returns>
public delegate T DMerge<T>(T ob1, T... |
8f990802ce06cdba52dc60e1c93a42fd2ff0a59e | C# | ridercz/Altairis.Services.Mailing | /Altairis.Services.Mailing.Templating/TemplatedMailMessageDto.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Altairis.Services.Mailing.Templating {
public class TemplatedMailMessageDto {
public TemplatedMailMessageDto(string templateName, string recipientAddress) : this(templateName, new... |
1c44d8010a9bcfc78be1f4f8167a6fcb478bf618 | C# | juliolins/interview | /questions/CrackingTough/NumbertoEnglishPhrase.cs | 3.9375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProgrammingQuestions.CrackingTough
{
public class NumbertoEnglishPhrase
{
public static void Test()
{
Console.WriteLine("240299 = " + ToString(240299));
... |
c362b32bc6c4bd3a3502755fe10df2fc3b1dda5a | C# | vugarja/Final | /Sport/Models/User.cs | 2.78125 | 3 | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Sport.Models
{
//Creating a user model for database
public enum MaleFemale
{
male = 0,
female = 1,
}
public class User
{
public int Id { get; set... |
8afe28690b2b3ab6ccc18425a34d8e744ae2246d | C# | ins0mniaque/Omnidoc | /src/Omnidoc.Core/IO/SeekableReadOnlyStream.cs | 3.046875 | 3 | using System;
using System.Diagnostics;
using System.IO;
namespace Omnidoc.IO
{
/// <summary>
/// Implements a seekable read-only stream which uses buffering if
/// underlying stream is not seekable. Buffer in memory has size
/// threshold and overflows to disk (temporary file) if number of bytes.
... |
eb7435d2e1b37553a9f9d760943a389dc1249990 | C# | Namidaro/Scada | /Protocols/ULA.Protocols.System/Tools/Serializers/BinarySerializer/Serializers/Int16Serializer.cs | 2.65625 | 3 | using System;
using YP.Toolkit.System.Exceptions;
using YP.Toolkit.System.Tools.Serializers.BinarySerializer.StreamWrapper;
using YP.Toolkit.System.Validation;
namespace YP.Toolkit.System.Tools.Serializers.BinarySerializer.Serializers
{
internal class Int16Serializer : ISerializer<Int16>
{
#region [IS... |
d4b9577c828d47c0826d12e90f8b5d479dae824c | C# | 44r0n/Visitor | /Equipment.cs | 3.0625 | 3 | namespace VisitorPattern
{
public abstract class Equipment
{
public readonly string Name;
public abstract decimal NetPrice();
public abstract decimal DiscountPrice();
public abstract void Accept(EquipmentVisitor visitor);
protected Equipment(string name) { this.Name = ... |
aebd52b6488768a46b41cfc29707cfc8805974a5 | C# | tailongwu/Learn | /CSharp/CSharp/MultipleThreadTest.cs | 3.53125 | 4 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace CSharp
{
public static class MultipleThreadTest
{
// 线程通信,两个线程打印12A34B...5152Z
public static void Print1()
{
ManualResetEvent waitHandler = new ManualResetEvent(false);
... |
14205411a237f6536ffc3ba1aedd8b6a0298af16 | C# | SpyRefused/Telepathy | /Telepathy/Core/Memory/SegmentedLongArray.cs | 2.875 | 3 | using System;
using System.Runtime.InteropServices;
using Telepathy.Core.Memory.Pool;
namespace Telepathy.Core.Memory
{
public class SegmentedLongArray
{
protected readonly long[][] Segments;
protected readonly int Log2OfSegmentSize;
protected readonly int Bitmask;
public Segm... |
8c5e90036bd2ac8381b5d2c378a453868e4eef49 | C# | vivianvea/calendar-designer | /CalendarDesigner/Classes/Mouse/MouseMove.cs | 2.953125 | 3 | using System;
using System.Windows;
namespace CalendarDesigner
{
public static class MouseMove
{
/// <summary>
/// The event that triggers when the mouse is moved while in selection mode.
/// </summary>
public static void Select()
{
if (!Selection.SelectionR... |
ae5ecf59c1f34904422c859e020a97dc873ed63c | C# | matroberts/matroberts.github.io | /resources/NUnitAssertThatExamples.cs | 3.40625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
[TestFixture]
public class NUnitAssertThatExamples
{
public class Newspaper
{
public string Name { get; set; }
public DateTime PublicationDate { get; } = DateTime.UtcNow;
public bool IsTabloid { g... |
a707d404e3679db23dcfba9e57c830104f925881 | C# | UltraMessaging/ultramessaging.github.io | /UMQ_5.3.6/doc/dotnet_example/umeblock.cs | 2.625 | 3 | using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Text;
using com.latencybusters.lbm;
using com.latencybusters.auxapi;
namespace LBMApplication
{
public static class umeblock
{
[DllImport("Kernel32.dll")]
... |
5b4589c4f241987df3c70a0d78e89e92900dfc2b | C# | kuiper90/Project_WpfChat | /WpfChat/Chat/Common/ThreadSafeRoom.cs | 3.390625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Chat.Common
{
public class ThreadSafeRoom
{
List<Individual> persons;
private Object thisLock = new Object();
public ThreadSafeRoom()
{
persons = new List<Individual>();
}
... |
5797e0465e7e5124dde601284e19abb559d624d9 | C# | bradwitte/.net-buildpack | /resources/AppSettingsAutoReconfiguration/AppSettingsAutoReconfiguration/StringExtensions.cs | 3.296875 | 3 | using System;
using System.Text.RegularExpressions;
namespace AppSettingsAutoReconfiguration
{
public static class StringExtensions
{
/// <summary>
/// A case insenstive replace function.
/// </summary>
/// <see cref="http://stackoverflow.com/a/12051066"/>
/// <param name="originalString">The string to exa... |
5dd03433c2f230ca048f48434cf4503f5367df25 | C# | Selteth/Runner | /Assets/Scripts/New/UI/ScoreTableLogic.cs | 2.65625 | 3 | using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
public class ScoreTableLogic : MonoBehaviour {
private static string DATA_FILE = "/scoreTable.dat";
private static bool isSaved = false;
void Awake()
{
... |
a4bc0ac017dcbaad14a7a6ced4bbd0f27e6d4317 | C# | Kriseki/The-Tech-Academy-Basic-C-Sharp-Projects | /AcmeShipping/AcmeShipping/Program.cs | 3.453125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AcmeShipping
{
class Program
{
static void Main(string[] args)
{
//Welcome
Console.WriteLine("Welcome to Acme Package Express.");
... |
4772776cf1053f1fe66873297e0883f6629c34e3 | C# | anneprt/ConsolePourTest | /ConsolePourTestTests/ProduitTest.cs | 2.71875 | 3 | using System;
using GestionPanier.Entites;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace GestionPanierTests
{
[TestClass]
public class ProduitTest
{
[DataTestMethod]
[DataRow("0")]
[DataRow("-10")]
public void ValiderPrix(string rawPrix)
{
var prix = decimal.Parse(rawPrix);
var exce... |
e38062a64ce436617a84d28fd4f976458e5317ab | C# | tectronics/phokos-prison-riot | /Assets/Scripts/Managers/LeaderboardInput.cs | 2.515625 | 3 | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class LeaderboardInput : MonoBehaviour
{
// UI Object
public GameObject goUI;
// Leaderboard Display
public LeaderboardDisplay display;
// Score Text
public Text scoreText;
// Rank Text
public Text ra... |
5b2d4dcb0fff1085f41c3a355627f481fa1ece0d | C# | Bone008/HackerJedi | /Assets/Plugins/Editor/AssetUsageDetector.cs | 2.578125 | 3 | // Source: https://github.com/yasirkula/UnityAssetUsageDetector
// Asset Usage Detector - by Suleyman Yasir KULA (yasirkula@yahoo.com)
// Finds references to an asset or GameObject
//
// Limitations:
// - GUIText materials can not be searched (could not find a property that does not leak material)
// - Textures in F... |
e62e8a7d2ca0e26c0701cd1b3b4b22f463892613 | C# | philiplaureano/NotQuiteLisp | /NotQuiteLisp.ParserTests/SyntaxTests.cs | 2.765625 | 3 | using System;
using System.Linq;
using ANTLR4.ParserHelpers;
using Antlr4.Runtime;
using Antlr4.Runtime.Tree;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NotQuiteLisp.Parser;
using Shouldly;
namespace NotQuiteLisp.ParserTests
{
[TestClass]
public class SyntaxTests
{
[TestMethod]
... |
a3870f8d9b32d4b126332cdf3023bed1e39f2177 | C# | mfahmi0304/agate-problem_solving_challenge | /Assets/Scripts/GameManager.cs | 2.640625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
#region Singleton
private static GameManager _instance;
public static GameManager Instance
{
get
{
if (_instance == null)
... |
a7cf97d367a1379b554fe2c7fa7892fa8dd4270d | C# | BakkerTom/ProftaakGame | /ProftaakGame/Target.cs | 2.59375 | 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 ProftaakGame
{
class Target
{
public Texture2D texture;
public Texture2D textureBroken;
... |
a75c3646a1ceedb5d217e2a5837338003babc599 | C# | mbg/Etilic.Text | /CharParser.cs | 3.4375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Etilic.Text
{
/// <summary>
/// Provides convenience parser combinators for parsers which
/// work directly on chars.
/// </summary>
public class CharParser : P... |
122238d33d4544be8a9231c5c2dbcdcf24c05bdd | C# | afreto/Conditional-Statements---Exercise | /07. World Swimming Record/Program.cs | 3.859375 | 4 | using System;
namespace _07._World_Swimming_Record
{
class Program
{
static void Main(string[] args)
{
double recordInSeconds = double.Parse(Console.ReadLine());
double distance = double.Parse(Console.ReadLine());
double seconds = double.Parse(Console.ReadLi... |
15af1ba11aab40bf43649ce6cc38dfdecdd55415 | C# | ianb72/NewADVMaker | /NewADVMaker/NewADVMaker/Commands/TestGameCommandList.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NewADVMaker.Commands
{
public class TestGameCommandList : Interfaces.IcommandList
{
public MainGameForm.MessageHandler messageHandler { get; set; }
public Games.GameBase currentGame { get; set; }
... |
b37ac32f5c7c42fcbc857f9098ff824c0425bfb7 | C# | TeeCubed/E-ATM | /E-ATM.Library/ATM.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using E_ATM.Library.ATMServer;
namespace E_ATM.Library
{
public class ATM : IATM
{
private ATMServerClient atmServer;
public Double UserInput { get; set; }
public String User... |
d5d945d2fd801af638ab63895a2df229d7f4ac70 | C# | asilcox/Game-Jam-Week-1-Prototype | /Game Jam Week 1 Prototype/Assets/Scripts/HealthBar.cs | 2.53125 | 3 | using UnityEngine;
using UnityEngine.UI;
public class HealthBar : MonoBehaviour
{
public Slider slider;
public Gradient gradient;
public Image fill;
[SerializeField]
private Health playerHealth;
private void Start()
{
slider.maxValue = playerHealth.GetHealth();
fill.color... |
32e095ef149915a4f70142abf3dec21f7e398c53 | C# | carterbancroft/simple-run | /SimpleRun/Views/Custom/RightImageCell.cs | 2.703125 | 3 | using System;
using Xamarin.Forms;
namespace SimpleRun.Views.Custom
{
public class RightImageCell : ViewCell
{
Image image;
Label title;
public string Source {
set {
image.Source = FileImageSource.FromFile(value);
}
}
public string Title {
get {
return title.Text;
}
set {
t... |
45d4291bc3e297280d65a2cefa5610fa301ea990 | C# | godxkey/MinecraftClone-Unity | /Assets/Scripts/Collections/PriorityQueue.cs | 3.125 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using Minecraft.Lua;
namespace Minecraft.Collections
{
/// <summary>
/// 表示根据对象优先级排列的队列
/// </summary>
/// <typeparam name="T">元素对象的类型</typeparam>
public class PriorityQueue<T> : IReadOnlyCollection<T>, ILuaCallCSharp
{
... |
c591b93619e557348643c9d055799e013f8dd4f4 | C# | drapperr/C-Advanced-September | /Iterators and Comparators - Exercise/ComparingObjects/StartUp.cs | 4.03125 | 4 | using System;
using System.Collections.Generic;
namespace ComparingObjects
{
public class StartUp
{
static void Main(string[] args)
{
List<Person> people = new List<Person>();
string input = string.Empty;
while ((input = Console.ReadLine()) != "END")
... |
5db583a21b573fa7aa8dd814af827801fd65fa1f | C# | mahfuzul2043/cor_decorator_patterns | /Problem 2/Source Files (Classes)/ValutaDecorator.txt | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CIS476Project2
{
class ValutaDecorator : Decorator
{
private Handler handler;
public ValutaDecorator(Handler handler)
{
this.handler = handler;
... |
6d46b41a61ff82761cd7946374c8d7c83829917a | C# | iskenxan/MyPortfolioWebsite | /MyPortfolioSolution/MyPortfolio/Models/ReviewsManager.cs | 2.65625 | 3 | using System.Collections.Generic;
namespace MyPortfolio.Models
{
public class ReviewsManager
{
private List<Review> reviews = new List<Review>();
public List<Review> Reviews { get { return reviews; } set { reviews = value; } }
public void addReview(Review review)
{
... |
a568e70442cf3e791a8f8042150b4e73ed34b430 | C# | MaciejWolf/EasyEventSourcing | /EasyEventSourcing.Application/Factories/CommandHandlerFactory.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using EasyEventSourcing.EventSourcing.EventProcessing;
using EasyEventSourcing.EventSourcing.Events;
using EasyEventSourcing.EventSourcing.Exceptions;
using EasyEventSourcing.EventSourcing.Handlers;
using EasyEventSourcing.Even... |
fa7310ade86e0d879cd4b35e1603a71e76e9433e | C# | poseydonfba/agilitycont-api | /src/AgilityCont.DataAccess/EncryptDecrypt.cs | 2.84375 | 3 | using System;
using System.Text;
using System.Security.Cryptography;
namespace AgilityCont.DataAccess
{
public class EncryptDecrypt
{
public EncryptDecrypt()
{
//
// TODO: Add constructor logic here
//
}
private const int v_keysize = 256;
... |
b82a5ed6f7e34f45f06db56f3cad4c62ff737e84 | C# | attilabicsko/wordshuffler | /WordShuffler/Models/TraversalStack.cs | 3.09375 | 3 | using System.Collections.Generic;
using System.Linq;
namespace WordShuffler.Models
{
public class TraversalStack
{
public TraversalStack()
{
Path = new List<CharCoordinate>();
}
public void StepTo(CharCoordinate nextCoordinate)
{
... |
039288978ea86ef79fd524dc676eefda59b967f4 | C# | jdrodas/Csharp_pdoo | /Poo_PS_GoF_ChainOfResponsibility/Poo_PS_GoF_ChainOfResponsibility/Ejecutivo.cs | 3.140625 | 3 |
namespace Poo_PS_GoF_ChainOfResponsibility
{
public abstract class Ejecutivo
{
//atributos de la clase
protected string? nombre;
protected string? cargo;
protected int monto;
protected Ejecutivo? jefe;
//constructor de la clase
public Ejecutivo()
... |
a74c779ed9cab9983e8a699a7c3c725e71881c40 | C# | phrender/Portfolio_Projects | /CSharpDesignPatterns/Singelton/Logger.cs | 3.390625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace CSharpDesignPatterns.Singelton
{
class Logger
{
private static Logger m_instance = null;
private Stream m_logStream = null;
private StreamWrite... |
9b81a8b962af6dfa43e4bffb12bd28d25ade4502 | C# | dmillerlx/Algorithms | /Algorithms/GOF Design Patterns/DesignPattern_Iterator.cs | 3.90625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Algorithms
{
class DesignPattern_Iterator
{
//
//Iterator is used to transverse a collection
//
//Common interface to access different collection of objects
//
//Define a common inte... |
abe0287318d4d7db761ec3673f7efe8e8109c5bd | C# | eriksonribeiro/InterfacesGenericsFiles | /MultipleInheritance/Entities/Printer.cs | 2.78125 | 3 | using MultipleInheritance.Interfaces;
using System;
namespace MultipleInheritance.Entities
{
class Printer:Device, IPrinter
{
public override void ProcessDoc(string document)
{
Console.WriteLine($"Printer Processing: {document}");
}
public void Print(string document... |
9e65361f3e2a9996851873b2ab0ce70090a35dc0 | C# | jcalderasl/Tarea-Jesus | /SemanaNo.5/Ejercicio2/Program2.cs | 3.53125 | 4 | using System;
using System.Threading;
namespace Ejercicio2
{
class Program
{
//void es cuando no vamos a devolver un valor
public static void dibuja(int Cantidad)
{
int Fila = 10;
int Columna = 10;
int Fila2 = 0;
int Columna2 = 0;
... |
4da9a90e36fe1073aefb71dc3d18368448a66231 | C# | Danta1st/ThePrinterGuy | /ThePrinterGuy/Assets/Scripts/New Game Approved/LightController.cs | 2.78125 | 3 | using UnityEngine;
using System.Collections;
public class LightController : MonoBehaviour
{
#region Editor Variables
[SerializeField]
private Material _lightOn;
[SerializeField]
private Material _lightOff;
[SerializeField]
private float _blinkRate = 0.5f;
#endregion
#region Privat... |
d696f02ab6b580ddc53e9c43ecbcc3cdf5ff0af2 | C# | Henriquehgb/jogodavelha_comIA | /JogoDaVelha.Dominio/IA/ArvoreDeAprendizado.cs | 2.59375 | 3 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProjetoJogoDaVelha.Dominio.IA
{
public class ArvoreDeAprendizado
{
public ArvoreDeAprendizado(int escala)
{
MontarArvore(escala);
}
private void MontarAr... |
e3bf3fb7bca2f04a9c0a5b6a258c8546369a77ee | C# | irfanaditya0801/ProjectAkhir_KEL04_PRG2 | /ProjectAkhir_KEL04_PRG2/CRUD/CRUDJenisKamera.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ProjectAkhir_KEL04_PRG2.CRUD
{
public partial class CRUDJenis... |
9d4d28e24e37b6fde94d40fd207487fe94c4eb67 | C# | hectorMiranda/mazeresolver | /MazeResolver/Program.cs | 3.1875 | 3 | using PathFinding;
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Drawing.Imaging;
namespace MazeResolver
{
/// <summary>
/// Testing console for the Bluebeam code project.
/// </summar... |
7eada513bc424459c61045e3a8324e43a32a93eb | C# | astanchev/CSharp-Fundamentals-QA | /Lesson 5/StudentGroups.cs | 3.40625 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;
namespace _25._Student_Groups
{
class StudentGroups
{
private static List<Town> towns;
private static List<Group> groups;
class Student
... |
09cf51de0ef77c463907a759b0de5cf85b6f71a5 | C# | LinasBushina/repo | /Lessons/Критерии DdoS атак/lab3/lab3/Program.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lab3
{
class Program
{
static void Main(string[] args)
{
Matrix m = new Matrix("matrix3.txt");
Console.WriteLine(m.Wald());
Console.WriteLine(m.Savage());
... |
abbd41ce5975e096d8256dafcbb6cc38c9d64b9a | C# | khaueviana/csharp-versions | /KV.CsharpVersions/KV.Csharp7/Tuples.cs | 3.890625 | 4 | using System;
namespace KV.Csharp7
{
static class Tuples
{
public static void Execute()
{
// unnamed parameters
(string Alpha, string Beta) namedLetters = ("a", "b");
Console.WriteLine($"{namedLetters.Alpha}, {namedLetters.Beta}");
/... |
3d1c218dee55e83f9c7f54016c59bca5f5b14282 | C# | ChanaRozin/QuickClick-server | /BL/Password.cs | 2.90625 | 3 | using DAL;
using DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
namespace BL
{
public class Password
{
public static string GenerateString(int size)
{
Random rand = new Random();
... |
e86eb6651bcda436590e108b71bfc47555fe3fee | C# | sillsdev/l10nsharp | /src/L10NSharp/TMXUtils/TMXLocalizationManager.cs | 2.609375 | 3 | using System.IO;
namespace L10NSharp.TMXUtils
{
/// ----------------------------------------------------------------------------------------
internal static class TMXLocalizationManager
{
private const string kFileExtension = ".tmx";
/// -------------------------------------------------------------------------... |
38f0f4dde419b29fb5755dd15533cdcc78bf0f14 | C# | iliankostov/SoftUni | /Algorithms/Homework/03-Sorting-and-Searching-Algorithms/3. Sorting-and-Searching-Algorithms-Lab-Skeleton/Sortable-Collection/Sorters/HeapSorter.cs | 3.53125 | 4 | namespace Sortable_Collection.Sorters
{
using System;
using System.Collections.Generic;
using Sortable_Collection.Contracts;
public class HeapSorter<T> : ISorter<T>
where T : IComparable<T>
{
public void Sort(List<T> collection)
{
int heapSize = col... |
73f67dcec3286daaab295b9f0771dd2068eec250 | C# | VelizarVeli/C-Sharp-Web | /C# MVC Frameworks - ASP.NET Core/00.HomeworksChecks/15.AdvancedTopics/3/Eventures.Models/ViewModels/CreateViewModel.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Eventures.Models.ViewModels
{
public class CreateViewModel
{
[Required]
[MinLength(10, ErrorMessage = "Name must be at least {1} characters long!")]
public string N... |
9d483561862dac6a37882cc7e6b0f7cf47bcee01 | C# | s-rusev/TelerikAcademy | /C# QPC/11HW_TestDrivenDevelopment/11. Test-Driven-Development-Demo-Homework/PokerHandsChecker.cs | 3.296875 | 3 | using System;
using System.Linq;
namespace Poker
{
public class PokerHandsChecker : IPokerHandsChecker
{
public bool IsValidHand(IHand hand)
{
var distinctCardNumber = hand.Cards.Select(
card => new { suit = card.Suit, face = card.Face }).Distinct().Count();
... |
187927f9530f6b2d5e3700a08d6e6e071f3abd6e | C# | naraga/Configizer | /src/ConfigizerLib/ConfigurationLoader.cs | 2.953125 | 3 | using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace ConfigizerLib
{
public class ConfigurationLoader
{
public static ConfigurationFileInfo Load(string path)
{
const string baseTag = "base";
const string importTag = "import";... |
a40f60b619d95a7ae24452c88a5b12415139aa45 | C# | mohammedelakraoui/Projet.net | /CONNECT.NET Client/CONNECT.NET Client/classes/gestion_bd.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Data.SqlClient;
using System.Data;
using System.Windows.Controls;
using System.Collections;
namespace CONNECT.NET_Client.classes
{
class gestion_bd
{
public ... |
510bdab0430debb14181daca723092b9c9c72a64 | C# | has-taiar/MoviesExplorer | /MoviesExplorer/MoviesExplorer.iOS.UnitTests/Data/MovieRepositoryTest.cs | 2.59375 | 3 | using System;
using NUnit.Framework;
using MoviesExplorer.Core;
using MoviesExploerer.iOS;
using System.IO;
namespace MoviesExplorer.iOS.UnitTests
{
[TestFixture]
public class MovieRepositoryTest
{
private IMovieRepository _movieRepository;
private readonly string _testLocalSQLiteDbPath = Path.Combine (Enviro... |
1684105d54eb28c99b965ed3fbcba96a662a6d51 | C# | andrewmaia/ConexaoBD | /Projeto/Classes/Consulta.cs | 3 | 3 | using System;
using System.Reflection;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
namespace ConexaoBD
{
public abstract class Consulta
{
#region Selecionar
public static ArrayList Selecionar(Type tipo,string stringConexao)
{
SqlParameter[]... |
519ed00a30ff75324a2bb43259e2319dd2adb384 | C# | sahar227/Daniel_Thesis | /TrailRepository/QuestionRepository.cs | 2.734375 | 3 | using DBModel;
using DBModel.QuestionModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrailRepository
{
public static class QuestionRepository
{
public static void SaveQuestionOnes(List<QuestionOne> questions)
... |
cd09dabc87e5409bb64c0e5b2bd969037123c9b4 | C# | phmatray/doji | /Doji/Services/DataService.cs | 2.640625 | 3 | namespace Doji.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Toolkit.Uwp.Helpers;
using Models;
using Pages.UtilityPages.ExchangeUtility;
using Pages.UtilityPages.GlossaryUtility;
public class DataService : IDataService
{
public Task... |
46693896b716b3753256e05dcbacc3cacb9b164f | C# | andersonbertoni/XF.MVVMBasic | /XF.MVVMBasic/XF.MVVMBasic/ViewModel/AlunoViewModel.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows.Input;
using Xamarin.Forms;
using XF.MVVMBasic.Model;
using XF.MVVMBasic.View;
namespace XF.MVVMBasic.ViewModel
{
public class AlunoViewModel
{
#region Propr... |
c35bfcf5d1e30c251c677ad0c5f0958ec4db418d | C# | jfrench7919/Star-Commander-Resume-Sample | /StarCommander/ShipDecorator/DefendImplementDecorator.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StarCommander.DefendImplement;
using StarCommander.Ships;
namespace StarCommander.ShipDecorator
{
public class DefendImplementDecorator
{
public static void DecorateShip(IStarShip ... |
575d737abd2470ad96a4b31083b1df6b14d21d57 | C# | Lilian-bot/MythsAndSteel | /MythsAndSteel/MythsAndSteel/Assets/MetaGame/Scripts/UI/MouseOverUI.cs | 2.796875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MouseOverUI : MonoBehaviour
{
[SerializeField] private GameObject _objectToSpawn = null;
[SerializeField] private float _timeToWait = 0.3f;
private void Start(){
_objectToSpawn.SetActi... |
5967bbea59fd6a39a779931322342eef307221e4 | C# | qiquanzhe/AI_Order | /AI_Order/Connector/MemberInfoConnector.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
using AI_Order.DataStruct;
using System.Windows;
namespace AI_Order.Connector
{
static class MemberInfoConnector
{
/**
* 通过手机号和姓名获取会员信息
* ... |
db1d4376f65b5caf28727bd4427dcf6800fa63b1 | C# | HannahLovberg/ME1570-HUB | /Assets/Vecka 1/Hannah/Scripts/Additionmanager.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Additionmanager : MonoBehaviour
{
[SerializeField]
private Text[] X;
[SerializeField]
private Text[] Y;
[SerializeField]
private Text helpA;
[SerializeField]
private Text... |
9604c0e830f26962fd19fe93ed90aa6fc228d9e3 | C# | bmccartney123/MovieDatabase---Finished | /MovieDatabase/GenreControl.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;... |
240d055d0e487a5999a1be888b1ec100a7fa308d | C# | velev1/Telerik-Academy | /Module_1/C#_Part_2/01_ArraysHomework/MaximalSum/MaximalSum.cs | 3.828125 | 4 | //Problem 8. Maximal sum
//Write a program that finds the sequence of maximal sum in given array.
//Example:
//input result
//2, 3, -6, -1, 2, -1, 6, 4, -8, 8 2, -1, 6, 4
//Can you do it with only one loop (with single scan through the elements of the array)?
using System;
using ... |
a3405e26238c05c61458edc611683c675a1534cb | C# | KeitoHoriuchi/OopLesson03 | /OopLesson03/Chapter4/Program.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Dynamic;
using System.Linq;
using System.Security.AccessControl;
using System.Text;
using System.Threading.Tasks;
namespace Chapter4
{
class Program
{
//演習問題4.2
static void Main(string[] args... |
b5b493b38664c6ca74f672c58adba4235444acb0 | C# | Loudcow67/FinalProject | /Assets/Scripts/CubePlacer.cs | 2.671875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class CubePlacer
{
// static List<Transform> objects;
static List<GameObject> gameObjects;
public static void placeShape(Vector3 position, Transform transform)
{
//Transform newTransform = GameObject.I... |
b75359865ce403743c31118d1ea931651873d801 | C# | shendongnian/download4 | /code5/926827-23239928-63514046-2.cs | 2.609375 | 3 | public override void SaveChanges()
{
foreach (var entry in this.ChangeTracker.Entries<BaseEntity>())
{
switch (entry.State)
{
case EntityState.Added:
entry.Entity.DateCreated = DateTime.Now;
break;
ca... |
0b0b5cb6ff338f10fa4effac7fad15c7728db2e4 | C# | rockytoy/RockyToy | /RockyToy.Resources.Wpf/Converters/DateToStringConverter.cs | 2.90625 | 3 | using System;
using System.Globalization;
using System.Windows.Data;
namespace RockyToy.Resources.Wpf.Converters
{
public class DateToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value == null)
return string.Empty;
... |
04b78fe18bf53ca5c57387e35a7bda97642a679c | C# | LukaszSzulc/Euler | /Euler.Tests/EulerTests.cs | 3.0625 | 3 | namespace Euler.Tests
{
using System;
using System.Collections.Generic;
using Xunit;
using FluentAssertions;
public class EulerTests
{
[Fact]
public void RunWithDefaultParameters()
{
var euler = new Euler();
var result = euler.FindEulerCycle(0);... |
01221fe75286c049d2710f1b6d4020030df83ceb | C# | alexandretperez/Output | /source/Output/Extensions/MapperExtensions.cs | 2.796875 | 3 | using System.Collections.Generic;
namespace Output.Extensions
{
public static class MapperExtensions
{
public static TOutput MapChain<TOutput>(this IMapper mapper, TOutput output, params dynamic[] inputs)
{
if (EqualityComparer<TOutput>.Default.Equals(output, default))
... |
bbae09173e3c4b5250e061d8206d96a4f1d58fa3 | C# | jmservera/AllInOne | /AIOEngine/Graphics/Math/GeometryTools.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AIOEngine.MathSpace;
#region NUMERICAL DEFINITION FOR FLOAT OR DOUBLE
using Numeric = System.Single;
#endregion
namespace AIOEngine.Graphics
{
public struct VerticesVector3Indices
{
public Vector3[] Vertice... |
a4fa17a277325c183d4175ce8180999ad4099bd2 | C# | Erwandebenaze/PlannITI | /Plann.Interface/ExtendedCalendarRenderer.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Forms.Calendar;
namespace Plann.Interface
{
class ExtendedCalendarRenderer : CalendarProfessionalRenderer
{
List<Da... |
bffd7e61d5ff9a7f9b0bccfefd888accf3f6644a | C# | tavisca-agundawar/HttpServer | /HttpServer/NSCWServer/Nsc.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NSCWServer
{
class Nsc
{
public static void Main(string[] args)
{
ManageUrl url = new ManageUrl();
//Console.WriteLine("enter the pr... |
2cc1774f45d443f5e7551321e045886c49231c32 | C# | KatFei/csharppr5 | /CsharpLab5-CoR/CsharpLab5-CoR/Handler.cs | 3.1875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace CsharpLab5_CoR
{
/// <summary>
/// Interface <c>IHandler</c> provides methods to handle incoming emails
/// </summary>
interface IHandler
{
/// <summary>
/// Method <c>... |
144e7f1feea10db3998920dc2a50eaad7ced74fa | C# | shendongnian/download4 | /latest_version_download2/144921-29583867-87910177-2.cs | 3.03125 | 3 | using System.Data.OleDb; //import these at the top
using System.Data;
public DataTable DBSetup(string query)
{
public OleDbConnection con = new OleDbConnection
(@"Provider=Microsoft.ACE.OLEDB.12.0;
Data Source=c:\\RegistrationMDB.accdb;
Persist Secur... |
e9dbd7bc4dd94f85031291f3d5a95d6227c45c5b | C# | raysaik/C_Sharp_Solutions | /RobertTDD/Stack.cs | 3.15625 | 3 | using System;
namespace RobertTDD
{
internal class Stack
{
private int elemCount;
private string[] elem = new string[21];
public Stack()
{
}
internal int GetElementCount()
{
return elemCount;
}
internal void Push(string v)
... |
9644ef1a41f7617823857f5a004d733250f318e4 | C# | vdfoo/YkCalculator | /YkCalculator/YkCalculator.Model/ReadyMadeProduct.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace YkCalculator.Model
{
public class ReadyMadeProduct
{
public ReadyMadeProduct()
{
}
public ReadyMadeProduct(string productId, string name, string description, double price)
{
Produc... |
d8f9eb519df4b0a2d400a265590353adf6b6feac | C# | shendongnian/download4 | /code6/1047655-27026913-78040141-1.cs | 2.90625 | 3 | private IEnumerable<Component> EnumerateComponents()
{
var compType = typeof(Component);
var ctrlType = typeof(Control);
return this.GetType().GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)
.Where(f => compType.IsAssignableFrom(f.FieldType)... |
63b241e402d5b8c23deb7396440f5b57428dabd9 | C# | Renzott/lib-lab-repo | /creditos-backend/creditos-backend/Repositories/ClienteRepository.cs | 2.609375 | 3 | using creditos_backend.Models;
using creditos_backend.Repositories.Interfaces;
using Dapper;
using Microsoft.Extensions.Configuration;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace creditos_backend.Repositori... |
6ce046559a742451ab6b0815be84f973508e0547 | C# | tiagolnogueira/fcamara | /backend/FCamara.Infra/Repositorios/Repositorio.cs | 2.8125 | 3 | using FCamara.Dominio;
using FCamara.Dominio.Repositorios;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
namespace FCamara.Infra.Repositorios
{
public class Repositorio<T> : IRepositorio<T> where T : EntidadeBase
{
private readonly IDbContext _contexto;
private... |
239d87102b495f4fbe8fa04de7b413631c684efe | C# | DA-Tripod/Winkel | /Berechnung/Form1.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Windows.Forms.DataVisualization.Charting;
namespace Berechnung
{
public partial class Form1 : Form
{
Schr... |
8ddfce08384af5835dd40c1593bca98f06ecc7d7 | C# | timourM-immalle/H24-Polymorfie | /H24/RndVierkant.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Shapes;
using System.Windows.Controls;
using System.Windows;
using System.Windows.Media;
namespace H24
{
class RndVierkant : Vierkant
{
private Random rndPositie = n... |
a89efe9212ca7f49cc8693ac0cad0f4c861d2bef | C# | RogueRye/Light-Cars-Mobile | /Assets/Scripts/CameraController.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour {
public Transform target;
public Vector3 offset;
public float speed = 10;
public float lookSpeed = 10;
public void Init(Transform mTarget)
{
target = mTarget... |
684da8ded2e4ba0b3075a5123597d07b4f9bdaad | C# | egeozturks/CSharpIntro | /Lists/Program.cs | 3.671875 | 4 | using System;
using System.Collections.Generic;
namespace Lists
{
class Program
{
static void Main(string[] args)
{
List<string> sehirler = new List<string>() { "Ankara", "Istanbul", "Izmir" };
Console.WriteLine(sehirler.Count);
sehirler.Add("Bursa");
... |
3c482436693b9e5bca8ac6eef0ec264424e4613b | C# | angelguten/Ejercicios_de_la_guia_2020 | /Ejercicios_11-15/MetodosEstaticos/Ejercicio_14_editado/CalculoDeArea.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MetodosEstaticos
{
namespace Ejercicio_14
{
public class CalculoDeArea
{
public static double CalcularCuadrado(double lado)
{
do... |