content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using Garnet.Detail.Pagination.Asp.Configurations; using Garnet.Pagination.DependencyInjection; using Garnet.Pagination.Configurations; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Garnet.Detail.Pagination.Asp.DependencyInjection; /// <summary> /// Bunch of metho...
71.983871
425
0.775935
[ "MIT" ]
Abbas-b-b/Garnet.Pagination
src/Garnet.Detail.Pagination.Asp/DependencyInjection/GarnetPaginationDependencyInjection.cs
4,463
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.354839
151
0.581221
[ "BSD-3-Clause" ]
kiwizen/DSED-01
INITIAL_DESIGN/TEST_PROJ/MovingBoxApp/MoveBoxApp/Properties/Settings.Designer.cs
1,067
C#
using FileSystem.Logging; using Structure; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Caching; namespace Cache { internal class CacheAccessor { /* * The general idea here is that we are literally caching everything possible from app start. ...
34.931818
167
0.533767
[ "MIT" ]
SwiftAusterity/Cottontail
Cache/CacheAccessor.cs
7,687
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using MultiPrecision; using System; namespace MultiPrecisionTest.Common { public partial class MultiPrecisionTest { [TestMethod] public void RangeTest() { Console.WriteLine(MultiPrecision<Pow2.N4>.DecimalDigits); Console....
37.369565
72
0.662013
[ "MIT" ]
tk-yoshimura/MultiPrecision
MultiPrecisionTest/MultiPrecision/Common/MultiPrecisionTest_range.cs
1,719
C#
using System; using System.Xml; using System.Xml.Serialization; using System.IO; namespace VoxelImporter.grendgine_collada { [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] public partial class Grendgine_Collada_Library_Lights { [XmlAttribute("id")] public string...
22.034483
64
0.744914
[ "MIT" ]
Syrapt0r/Protocol-18
Assets/VoxelImporter/Scripts/Editor/Library/Collada_Main/Collada_Core/Lighting/Grendgine_Collada_Library_Lights.cs
639
C#
using System.Collections.Immutable; namespace MApplication { internal class DisplayText { public DisplayText(ImmutableList<DisplayLine> lines) { Lines = lines; } public ImmutableList<DisplayLine> Lines { get; } } }
18.266667
60
0.620438
[ "MIT" ]
mahalex/MParser
MApplication/DisplayText.cs
276
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ex...
38.297297
84
0.748765
[ "MIT" ]
vladislav-karamfilov/TelerikAcademy
OOP Projects/ExtensionMethodsDelegatesLambdaLINQ/ExtractStudentsByNames/Properties/AssemblyInfo.cs
1,420
C#
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;...
22.975
73
0.646355
[ "MIT" ]
twizou/Perudo
Perudo_UI/View/MainView.xaml.cs
921
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Unity.Mathematics; using Unity.Entities; using Random = Unity.Mathematics.Random; namespace UTJ { public class TestMissile : MonoBehaviour { Random random_; void Start() { random_.InitState(12345); } vo...
21.516129
72
0.623688
[ "MIT" ]
Jason-W-J/DOTS-Shmup3D-sample
Assets/Scripts/Tests/TestMissile.cs
669
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FadeIn : MonoBehaviour { // Use this for initialization void Start () { Fader.Instance.FadeOut(1.0f); } // Update is called once per frame void Update () { } }
16.294118
37
0.68231
[ "MIT" ]
phelow/TrumpTowerTypingTutor
Assets/FadeIn.cs
279
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sungitsa.Model { public class Province { public int ProvinceId { get; set; } public string ProvinceName { get; set; } public IEnumerable<Lodge> Lodges { get; se...
25.055556
62
0.667406
[ "MIT" ]
MwenyaK/Sungitsa
Sungitsa.Model/Province.cs
453
C#
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Common.FileHandlers; using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Creator.TemplateCreators; namespace Microsoft.Azure.Management.ApiManagement.ArmTemplates.Tests.Creator.TemplateCreatorFactories { public class APITemplateCreatorFactory ...
57.590909
211
0.779795
[ "MIT" ]
manikanta008/azure-api-management-devops-resource-kit
tests/ArmTemplates.Tests/Creator/TemplateCreatorFactories/APITemplateCreatorFactory.cs
1,269
C#
namespace Project.Web.Controllers { using Microsoft.AspNetCore.Mvc; using Project.Services.Interfaces; using Project.Web.Models; using System.Diagnostics; public class HomeController : Controller { private readonly IArticleService articles; public HomeController(IArticleServic...
27.931034
112
0.630864
[ "MIT" ]
Vasil-Hadzhiev/MVC-Project
MVC.Project/Project.Web/Controllers/HomeController.cs
812
C#
// <auto-generated /> namespace SmartLink.Service.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial c...
27.6
96
0.624396
[ "MIT" ]
kulado/ProposalManager
SmartLink/SmartLink.Service/Migrations/201703020755344_InitialCreate.Designer.cs
828
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.1434 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
43.71875
184
0.614367
[ "Apache-2.0" ]
adgistics/Adgistics.Build
NArrange/src/Backup/NArrange.GuiConfig/Properties/Resources.Designer.cs
2,800
C#
using Windows.Storage; using Windows.Storage.Streams; using Param_RootNamespace.Core.Helpers; namespace Param_RootNamespace.Helpers; // Use these extension methods to store and retrieve local and roaming app data // More details regarding storing and retrieving app data at https://docs.microsoft.com/windows/a...
33.875
191
0.64602
[ "MIT" ]
Microsoft/WindowsTemplateStudio
code/TemplateStudioForWinUICs/Templates/Ft/SettingsStorage/Param_ProjectName/Helpers/SettingsStorageExtensions.cs
3,685
C#
// 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.Threading.Tasks; using Microsoft.EntityFrameworkCore.TestUtilities; using Xunit.Abstractions; namespace Microsoft.EntityFrameworkCore.Que...
37.797179
211
0.586958
[ "Apache-2.0" ]
ImJuzGz2020-org/efcore
test/EFCore.SqlServer.FunctionalTests/Query/NorthwindAggregateOperatorsQuerySqlServerTest.cs
56,286
C#
using FileScout.DataObjects; using FileScout.ScoutingMethods; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Reflection; using System.Text; namespace FileScout.UnitTest.Tests.ScoutingMethods { /// <summary> /// 行文字数の標準偏差の調査手段のテストを提供します。 /// </summary> [TestClass] ...
30.965035
107
0.528004
[ "MIT" ]
Gizmo-Verindipencil/File-Scout
SourceCode/FileScout.UnitTest/Tests/ScoutingMethods/RowTextLengthStandardDeviationScoutingMethodUnitTest.cs
4,926
C#
using System; using System.Collections.Generic; using System.Text; using Xunit; namespace PipServices3.Expressions.Mustache.Parsers { public class MustacheParserTest { [Fact] public void TestLexicalAnalysis() { MustacheParser parser = new MustacheParser(); parse...
40.108108
116
0.573113
[ "MIT" ]
pip-services3-dotnet/pip-services3-expressions-dotnet
test/Mustache/Parsers/MustacheParserTest.cs
2,970
C#
/* Generated SBE (Simple Binary Encoding) message codec */ #pragma warning disable 1591 // disable warning on missing comments using System; using Misakai.Storage.Sbe; namespace Misakai.Storage.Sbe.Tests.Generated { public class SnapshotFullRefresh { public const ushort TemplateId = (ushort)25; public...
26.249651
108
0.585569
[ "Apache-2.0" ]
Kelindar/misakai-storage-sbe
test/csharp/Generated/SnapshotFullRefresh.cs
18,821
C#
using ICSharpCode.AvalonEdit.CodeCompletion; using ICSharpCode.AvalonEdit.Document; using System; using System.Collections.Immutable; using System.Threading.Tasks; using System.Windows; using Microsoft.CodeAnalysis; using System.Windows.Media; using ICSharpCode.AvalonEdit.Editing; using Microsoft.CodeAnalysis.Tags; us...
30.977273
119
0.695525
[ "MIT" ]
kongdetuo/RevitTools
src/ScriptPad/Editor/CodeCompletionData.cs
1,365
C#
using System; using System.Threading.Tasks; namespace PersistentStorage { public interface IPersistentStorageGroup { T Get<T>(string key, T defaultValue); void Put<T>(string key, T value); void Delete(string key); Task<T> GetAsync<T>(string key, T defaultValue); Task...
21.105263
56
0.640898
[ "MIT" ]
jankrib/PersistentStorage
PersistentStorage.Core/IPersistentStorageGroup.cs
403
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Contai...
33.678363
138
0.469179
[ "MIT" ]
20PercentRendered/osu
osu.Game/Overlays/Profile/Header/Components/PreviousUsernames.cs
5,591
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
20.926136
117
0.653272
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-r-kvstore/R_kvstore/Model/V20150101/ModifyInstanceSSLRequest.cs
3,683
C#
// 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 System.Data; using Xunit; namespace Microsoft.Data.SqlClient.ManualTesting.Tests { public static class Sq...
38.242424
140
0.701268
[ "MIT" ]
0xced/SqlClient
src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/SqlNamedPipesTest/SqlNamedPipesTest.cs
1,262
C#
using System; using NUnit.Framework; using Microsoft.FSharp.Core; using FSharpx; namespace FSharpx.CSharpTests { [TestFixture] public class EnumerableTests { [Test] public void FirstOrNone_None() { var a = new int[0]; Assert.AreEqual(FSharpOption<int>.None, a...
23
70
0.548204
[ "Apache-2.0" ]
dmohl/fsharpx
tests/FSharpx.CSharpTests/EnumerableTests.cs
531
C#
using System; using System.Collections.Generic; using System.Text; namespace QK.Framework.Core.Ioc { public interface IDependency { } }
13.636364
33
0.72
[ "Apache-2.0" ]
hywb/QK.Framework
QK.Framework/Core/Ioc/IDependency.cs
152
C#
using System; using Xunit; namespace CRM.Communication.FunctionalTests { public class UnitTest1 { [Fact] public void Test1() { Assert.Equal(1, 1); } } }
14.933333
44
0.504464
[ "MIT" ]
LeonardoMaran/crm-1
src/Communication/CRM.Communication.FunctionalTests/UnitTest1.cs
224
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Mem.Models { public enum NoteClassification { Nessuno = 0, Arancione = 1, Blu = 2, Giallo = 3, Rosso = 4, Verde = 5, Viola = 6 } public c...
20.327586
58
0.592027
[ "MIT" ]
fedtes/mem
Mem/Models/NoteModel.cs
1,181
C#
/******************************************************************************* * Copyright 2009-2016 Amazon Services. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * * You may not use this file except in compliance with the License. * You may obtain a copy of the Licens...
33.948718
143
0.597432
[ "Apache-2.0" ]
claytondus/Claytondus.AmazonMWS
Claytondus.AmazonMWS.FbaInbound/Model/ListInboundShipmentItemsByNextTokenResult.cs
3,972
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("01...
37.594595
84
0.741193
[ "Unlicense" ]
GoldenR1618/SoftUni-Projects
05.C#_Advanced/10.ASYNCHRONOUS_PROGRAMMING/09. CSharp-Advanced-Asynchronous-Programming-Demos/01. Sync/Properties/AssemblyInfo.cs
1,394
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
26.4875
110
0.592732
[ "Apache-2.0" ]
JeffAshton/aws-sdk-net
sdk/src/Services/ImportExport/Generated/AmazonImportExportConfig.cs
2,119
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; namespace CalculadoraWebApi.Areas.HelpPage.ModelDescriptions { internal static class ModelNameHelper { // Modify this to provide custom model name mapping. public static string GetModelName(Type type) ...
40.166667
140
0.637621
[ "MIT" ]
Fantasmy/AngularWeApiCalculadora
CalculadoraWebApi/CalculadoraWebApi/Areas/HelpPage/ModelDescriptions/ModelNameHelper.cs
1,446
C#
using System; using Trustlink.Network.P2P.Payloads; using Trustlink.Persistence; using Trustlink.SmartContract; using Trustlink.SmartContract.Native; namespace Trustlink.UnitTests.Extensions { public static class NativeContractExtensions { public static StackItem Call(this NativeContract contract, Snap...
31.658537
156
0.634823
[ "MIT" ]
Trustlink-chain/trustlink
trustlink.UnitTests/Extensions/NativeContractExtensions.cs
1,298
C#
// 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 namespace DotNetNuke.Web.Mvc.Helpers { using System; using System.Linq.Expressions; using System.Web.Mvc...
46.239583
310
0.632124
[ "MIT" ]
Mariusz11711/DNN
DNN Platform/DotNetNuke.Web.Mvc/Helpers/HtmlNameExtensions.cs
4,441
C#
using System; using System.Collections.Generic; using System.Text; namespace ProgrammingCSharp { public class Perro:Animal { public int Edad { get; set; } public string Raza { get; set; } public void Ladrar() { Console.WriteLine("Guau!"); } public ...
18.642857
51
0.532567
[ "Apache-2.0" ]
DJkimer/ProgrammingWithCSharp
ProgrammingCSharp/ProgrammingCSharp/Perro.cs
524
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
37.964072
167
0.592902
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Comprehend/Generated/Model/Internal/MarshallTransformations/StartSentimentDetectionJobRequestMarshaller.cs
6,340
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; namespace Cauldron.Starlight { public class NightloreArmorCardController : StarlightCardController { public NightloreArmorC...
42.832
256
0.577325
[ "MIT" ]
SotMSteamMods/CauldronMods
CauldronMods/Controller/Heroes/Starlight/Cards/NightloreArmorCardController.cs
5,354
C#
using System; using System.Threading.Tasks; using BettingGame.Betting.Core.Domain; using BettingGame.Betting.Core.Shared.Abstraction; namespace BettingGame.Betting.Core.Features.TeamHandling.Abstraction { public interface ITeamMetadataCommandRepository : ICommandRepository<TeamMetadata> { T...
28.785714
87
0.769231
[ "Apache-2.0" ]
msallin/BettingGame
BettingGame.Betting.Core/Features/TeamHandling/Abstraction/ITeamMetadataCommandRepository.cs
405
C#
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.Interactivity; using System.Windows.Interop; using WindowsSharp.Processes; namespace Everythingbar { public class SysMenuBeh...
34.5
139
0.656832
[ "MIT" ]
StartNine/Superbar
Superbar/SysMenuBehavior.cs
1,934
C#
using Sdl.Web.Common.Configuration; using Sdl.Web.Common.Models; using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; namespace Sdl.Web.Tridion.Tests.Models { [SemanticEntity(Vocab = SchemaOrgVocabulary, EntityName = "ItemList", Prefix = "s", Public = true)] [SemanticEntit...
30.567901
115
0.521405
[ "Apache-2.0" ]
JaimeSA/dxa-web-application-dotnet
Sdl.Web.Tridion.Tests/Models/Entity/ContentList.cs
2,478
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.CommonDataModel.ObjectModel.Persistence.ModelJson.types { using Newtonsoft.Json; using System; /// <summary> /// Defines a b...
42.466667
113
0.710361
[ "MIT" ]
AnkurSri-SPP/Dynamics-365-FastTrack-Implementation-Assets
Analytics/CDMUtilSolution/CDM.ObjectModel/Persistence/ModelJson/types/Entity.cs
1,276
C#
// 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 System.Threading; using System.Xml; using System.Diagnostics; using System.Collections.Generic; using System.R...
44.304598
339
0.595797
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Private.DataContractSerialization/src/System/Runtime/Serialization/Json/JsonClassDataContract.cs
7,709
C#
namespace ScotlandsMountains.Domain; public class MountainGroup : Entity { public List<MountainSummary> Mountains { get; set; } = new(); public int MountainsCount { get; set; } = 0; }
24.25
65
0.701031
[ "MIT" ]
graham-miller/ScotlandsMountains
Domain/MountainGroup.cs
196
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
32.830769
121
0.599813
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20170301/Inputs/ApplicationGatewaySslCertificateArgs.cs
2,134
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Domain { /// <summary> /// KoubeiCateringItemlistQueryModel Data Structure. /// </summary> [Serializable] public class KoubeiCateringItemlistQueryModel : AopObject { /// <summary> /// 服务商、服务商员工、商户、商户员工等口碑角色操作时...
29.122449
116
0.587947
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk/Domain/KoubeiCateringItemlistQueryModel.cs
1,873
C#
// Copyright © 2016 onwards, Andrew Whewell // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice, th...
50.177083
750
0.631721
[ "BSD-3-Clause" ]
J0hnLiu/vrs
ThirdParty/ChecksumFiles/Program.cs
4,820
C#
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless require...
41.951705
155
0.608519
[ "MIT" ]
AlanFlorance/azure-powershell
src/ApiManagement/ApiManagement/Models/PsApiManagement.cs
14,418
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace kSlovnik.Board { public class BoardSlotInfo { public int Tag { get; set; } public string ImageRef { get; set; } public char Letter { get...
30.204545
103
0.62453
[ "BSD-3-Clause" ]
martin-chulev/kSlovnik
kSlovnik/Board/BoardSlotInfo.cs
1,331
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Quit : MonoBehaviour { public void ExitGame() { Application.Quit(); } }
14.692308
33
0.670157
[ "MIT" ]
ConnorCooke/Waiting-On-The-Beat
Assets/Quit.cs
193
C#
namespace Tests.Caliburn.Adapters.Components { public interface ISampleCommand { void Execute(); } }
18.142857
46
0.629921
[ "MIT" ]
CaliburnFx/Caliburn
src/Tests.Caliburn/Adapters/Components/ISampleCommand.cs
129
C#
using System; using System.Threading; using GitHub.Logging; namespace GitHub.Unity { class OctorunInstaller { private static readonly ILogging Logger = LogHelper.GetLogger<OctorunInstaller>(); private readonly IEnvironment environment; private readonly IFileSystem fileSystem; ...
38.353448
136
0.612947
[ "MIT" ]
profet23/Unity
src/GitHub.Api/Installer/OctorunInstaller.cs
4,451
C#
// // AuthenticationService.cs // // Author: // Igor Guerrero <igorgue@protonmail.com> // // Copyright (c) 2021 HODL Wallet // // 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...
31.389706
87
0.599438
[ "MIT" ]
hodlwallet/hodlwallet
HodlWallet/Core/Services/AuthenticationService.cs
4,269
C#
using System; using System.Globalization; namespace soma_vetor { class Program { static void Main(string[] args) { CultureInfo CI = CultureInfo.InvariantCulture; int n, i; double soma = 0, media; Console.Write("Quantos numeros voce vai digitar?...
23.851064
69
0.438002
[ "MIT" ]
DariaMachado/Algoritmos_em_CSharp
soma_vetor.cs
1,123
C#
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Numerics; namespace StudioCore { /// <summary> /// Binding to Navgen recast based navmesh generation library /// </summary> class NavGen { [DllImport("NavGen.dll")] ...
31.583333
152
0.666667
[ "MIT" ]
JKAnderson/DSMapStudio
StudioCore/NavGen.cs
1,139
C#
using Beer.DaAPI.Core.Common; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Beer.DaAPI.Infrastructure.Services.JsonConverters { public class IPv4AddressAsStringJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) => obje...
34.727273
155
0.732984
[ "MIT" ]
just-the-benno/Beer
src/DaAPI/Service/Beer.DaAPI.Service.Infrastructure/Services/JsonConverters/IPv4AddressAsStringJsonConverter.cs
766
C#
/* * ToolStack.com C# WriteableBitmap extension for PNG Writer library by Greg Ross * * Homepage: http://ToolStack.com/PNGWriter * * This library is based upon the examples hosted at the forums on WriteableBitmapEx * project at the codeplex site (http://writeablebitmapex.codeplex.com/discussions/274445)....
36.735849
114
0.651772
[ "MIT" ]
pantaloons/4charm
4charm/Models/PNG/ToolStackPNGWriterWBext.cs
1,949
C#
// Copyright 2010 Max Toro Q. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
30.038462
75
0.737516
[ "BSD-3-Clause" ]
mdavid/nuxleus
src/Nuxleus.Web/IHasXPathItemFactory.cs
783
C#
using FluentAssertions; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace Sybil.Tests { [TestClass] public class ClassBuilderTests { private const string Name = "Test"; private const string Base = "Base"; private...
26.811111
96
0.565479
[ "MIT" ]
AlexMacocian/Sybil
Sybil.UnitTests/ClassBuilderTests.cs
4,828
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
45.46434
296
0.562331
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/RedisCache/Management.Redis/Generated/PatchSchedulesOperations.cs
29,961
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MyClassLib.WordOfTanks; using MyClassLib; namespace Day7__Tanks_ { class Program { static void Main(string[] args) { Tank[] t34 = new Tank[5]; ...
37.786127
127
0.489062
[ "MIT" ]
DarTiess/Peregruzka
Program.cs
7,368
C#
using System; using System.Runtime.Serialization; namespace ShortBook.Server.Exceptions { /// <summary> /// 表示用户得到授权(与401错误相对),但是访问是被禁止的。 /// <para>403</para> /// </summary> public class ShortBookServerForbiddenException : ShortBookServerException { /// <inheritdoc /> public Sh...
25.333333
123
0.620813
[ "MIT" ]
shortbook/ShortBook.Server
ShortBook.Server/Exceptions/ShortBookServerForbiddenException.cs
890
C#
using System.Collections.Generic; using DSharpPlus.Entities; using Windows.Media.Transcoding; using static Unicord.Constants; namespace Unicord.Universal.Models { public class MediaSettingsModel : ViewModelBase { private int[] _availableWidths = new[] { 256, 426, 640, 854, 1280, 1920 }; privat...
33.213333
121
0.598956
[ "MIT" ]
UnicordDev/Unicord
Unicord.Universal/Models/Settings/MediaSettingsModel.cs
2,493
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace TrainStation { public partial class CancelTicket : Form { Controller controlle...
26.714286
103
0.590909
[ "MIT" ]
EslamAsHhraf/Train-Station
TrainStation/Employee_forms/CancelTicket.cs
1,498
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using Umbraco.Cms.Core.Models; using Umbraco.Cms.Core.Scoping; namespace Umbraco.Cms.Core.Services { public class IdKeyMap : IIdKeyMap,IDisposable { private readonly IScopeProvider _scopeProvid...
37.16285
172
0.545224
[ "MIT" ]
Ambertvu/Umbraco-CMS
src/Umbraco.Infrastructure/Services/IdKeyMap.cs
14,607
C#
// Amplify Shader Editor - Visual Shader Editing Tool // Copyright (c) Amplify Creations, Lda <info@amplify.pt> using System; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace AmplifyShaderEditor { public enum PreviewLocation { Auto, TopCenter, BottomCenter, Left, Right } ...
31.92162
473
0.692624
[ "MIT" ]
DANaini13/2022GGJ
Assets/AmplifyShaderEditor/Plugins/Editor/Nodes/ParentNode.cs
121,366
C#
using UnityEngine; using System.Collections; public class Test : MonoBehaviour { void Update() { if(Input.GetKeyDown(KeyCode.T)) GameManager.Instance.test(); } }
16.727273
40
0.673913
[ "MIT" ]
rafedb/unity_singletons
Assets/Scripts/Test.cs
186
C#
// Copyright (c) Microsoft. 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; using System.Collections.Immutable; using Microsoft.CodeAnalysis; namespace Roslyn.Utilities { internal ...
37.975543
161
0.554275
[ "Apache-2.0" ]
Ashera138/roslyn
src/Compilers/Core/Portable/InternalUtilities/Hash.cs
13,977
C#
using Amazon.JSII.Runtime.Deputy; [assembly: JsiiAssembly("@alicloud/ros-cdk-memcache", "1.0.4", "alicloud-ros-cdk-memcache-1.0.4.tgz")]
34.5
102
0.731884
[ "Apache-2.0" ]
piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Memcache/AssemblyInfo.cs
138
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ind...
37.675676
84
0.748207
[ "MIT" ]
mzsoltmolnar/Measurement-Modeling
src/CapacitiveSens/CapacitiveSens/Properties/AssemblyInfo.cs
1,397
C#
 using Nop.Core.Configuration; namespace Nop.Core.Domain.Media { public class MediaSettings : ISettings { public int AvatarPictureSize { get; set; } public int ProductThumbPictureSize { get; set; } public int ProductDetailsPictureSize { get; set; } public int ProductThumbPictur...
40.030303
198
0.659349
[ "MIT" ]
tebyaniyan/internet-Shop
Libraries/Nop.Core/Domain/Media/MediaSettings.cs
1,323
C#
using System; /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, ...
31.701754
103
0.76425
[ "Apache-2.0" ]
luizfbicalho/Camunda.NET
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/UnlockUserCmd.cs
1,809
C#
using UnityEngine; using UnityEditor; using System.IO; namespace AssetBundles { /// Preserve code in Asset Bundles. See https://docs.unity3d.com/Manual/BuildingAssetBundles.html public class BuildScript { public static void BuildPlayer () { BuildPlayerOptions buildPlayerOptions = new BuildPlayerOptions ()...
25.137931
98
0.765432
[ "MIT" ]
HaraldHeide/Metaverse-Marketing
Assets/StorageServicesDemo/Editor/PreserveCode.cs
731
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Slack.Api.CSharp.WebApi.Models { using Microsoft.Rest; /// <summary> /// Exception thrown for an invalid re...
31.305085
88
0.60693
[ "MIT" ]
JamesMarcogliese/slack-api-csharp
src/Slack.Api.CSharp/WebApi/Models/ListErrorModel6Exception.cs
1,847
C#
using System.Windows.Controls; namespace SandBeige.MealRecipes.Views.Settings { /// <summary> /// NetworkSettingsPage.xaml の相互作用ロジック /// </summary> public partial class NetworkSettingsPage : UserControl { public NetworkSettingsPage() { InitializeComponent(); } } }
21.384615
57
0.741007
[ "MIT" ]
southernwind/Gohan
MealRecipes/Views/Settings/NetworkSettingsPage.xaml.cs
296
C#
using MTCG; using MTCG.Entity; using MTCG.Model; using NUnit.Framework; namespace UnitTest { [TestFixture] public class CalculateDamageTests { [SetUp] public void Setup() { } [Test] public void Dragon_Attack_FireElf() { //Arrange ...
37.460784
114
0.561241
[ "Apache-2.0" ]
Ephaltes/MTCG
UnitTest/CalculateDamageTests.cs
7,642
C#
using Newtonsoft.Json.Converters; namespace Alexa.NET.Management { internal class Iso8601Converter:IsoDateTimeConverter { public Iso8601Converter() { DateTimeFormat = "yyyy-MM-ddTHH:mm:ss.fffZ"; } } }
20.833333
56
0.64
[ "MIT" ]
dennis-kuypers-gcx/Alexa.NET.Management
Alexa.NET.Management/Iso8601Converter.cs
252
C#
using System; using System.IO; using BizHawk.Common.BufferExtensions; using BizHawk.Emulation.Common; using BizHawk.Emulation.Cores.Consoles.Nintendo.Gameboy; using BizHawk.Emulation.Cores.Properties; namespace BizHawk.Emulation.Cores.Nintendo.Gameboy { /// <summary> /// a gameboy/gameboy color emulator w...
30.888889
158
0.655832
[ "MIT" ]
david-a-perez/BizHawk
src/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs
15,570
C#
 namespace Shared { public enum ClientPacketTypes { CMSG_INIT_ENCRYPTED_RSA = 1, CMSG_INIT_ENCRYPTED_AES } }
13.8
36
0.644928
[ "MIT" ]
Arcidev/Arci.Networking
Shared/ClientPacketTypes.cs
140
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics.ContractsLight; using System.Linq; using System.Th...
50.431953
217
0.526816
[ "MIT" ]
jbayardo/BuildXL
Public/Src/Engine/Scheduler/Graph/PipGraph.Builder.cs
170,460
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
40.806061
550
0.66434
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Batch/V20200301/GetBatchAccount.cs
6,733
C#
#pragma checksum "D:\Windows Universal\Weather\Weather\HourelyPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "8CA16204CCCD2C4ADA0C126B6DDD0829" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this f...
85.042553
168
0.72717
[ "MIT" ]
saharamini/Weather-Clock-UWP
source_code/Weather/obj/ARM/Release/HourelyPage.g.i.cs
15,990
C#
// 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.Concurrent; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; usi...
56.247611
294
0.620557
[ "Apache-2.0" ]
PositiveTechnologies/NuGet.Client
test/NuGet.Core.Tests/NuGet.PackageManagement.Test/NuGetPackageManagerTests.cs
394,352
C#
using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace DemoKule { class SeleniumSetMethod { public static IList<IWebElement> Liste(IWebElement element) { IList<IWebElement> Lis...
40.021053
189
0.591794
[ "MIT" ]
aslhnbl/DemoKule
SeleniumSetMethod.cs
3,804
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace DogeKit_Serializer.Models { public class TWRP { [XmlElement] public string Version { get; set; } } }
18.0625
43
0.709343
[ "Unlicense" ]
squabbi/DogeKit-Pixel2
DogeKit Serializer/Models/TWRP.cs
291
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.ResourceManager.Resources.Models { /// <summary> The managed application provider authorization. </summary> public partial class ApplicationPro...
53.6
304
0.704291
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationProviderAuthorization.cs
2,144
C#
// Copyright (c) 2019 Jennifer Messerly // This code is licensed under MIT license (see LICENSE for details) using System; using System.Collections.Generic; using Kingmaker; using Kingmaker.Blueprints; using Kingmaker.Blueprints.Classes; using Kingmaker.Blueprints.Classes.Selection; using Kingmaker.Blueprints.Classes....
47.500982
430
0.617731
[ "MIT" ]
OldIronEyes/pathfinder-mods
EldritchArcana/Oracle/OracleCurses.cs
48,368
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
50.340909
354
0.611061
[ "MIT" ]
DalavanCloud/oneget
src/Microsoft.PackageManagement/Utility/Plugin/DynamicInterfaceExtensions.cs
17,720
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
32.34
165
0.630798
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/Storage/Outputs/AccountIdentity.cs
1,617
C#
//using System; //using System.Linq; //using AgileBrowser.WinForms.Security; //using DotNetAuth.OAuth1a; //using DotNetAuth.OAuth1a.Framework; //using RestSharp; //using RestSharp.Authenticators; //public class OAuth1aAuthenticator : IAuthenticator //{ // private OAuth1aProviderDefinition definition; // private ...
40.985294
164
0.667743
[ "MIT" ]
lurume84/agile-browser
AgileBrowser/OAuth/OAuth1aAuthenticator.cs
2,787
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; // Sockets using System.Net.Sockets; using System.Net; // debug using System.Diagnostics; // threading using System.Threading; // byte data serialization using System.Runtime.Serialization.Formatters...
35.131965
123
0.532053
[ "Unlicense" ]
luciochen233/CSE483-code
repo/Expamles/SampleUDPPeer/Model.cs
11,982
C#
using System.Collections.Generic; namespace pelazem.azure.cognitive.videoindexer { public class Face { public int Id { get; set; } public string VideoId { get; set; } public string Name { get; set; } public double Confidence { get; set; } public string Description { get; set; } public string ...
28.481481
52
0.669701
[ "MIT" ]
plzm/AIServices
Libraries/videoindexer/Face.cs
771
C#
using System.Collections; using System.Collections.Generic; using System.Diagnostics; using UnityEngine; public class ColorSystem : MonoBehaviour { #region fields private ColorPlacer colorPlacer; private Colors colors; private Recorder recorder; private int safeFrames = 60; private bool sto...
21.989011
72
0.528736
[ "MIT" ]
porrasm/all-colors-visualizer
Assets/Scripts/ColorSystem.cs
2,003
C#
using System; using System.Drawing; using MonoMac.Foundation; using MonoMac.AppKit; using MonoMac.ObjCRuntime; namespace NeHeLesson8 { class MainClass { static void Main (string[] args) { NSApplication.Init (); NSApplication.Main (args); } } }
13.789474
34
0.717557
[ "MIT" ]
Devolutions/monomac
samples/OpenGL-NeHe/NeHeLesson8/Main.cs
262
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="UIMode.cs" company="NBug Project"> // Copyright (c) 2011 - 2013 Teoman Soygul. Licensed under MIT license. // </copyright> // ---------------------------------------------------...
41.775
137
0.613405
[ "MIT" ]
JavierCanon/ExceptionReporter.NET
src/Others/NBug/NBug/Enums/UIMode.cs
1,673
C#
/* * UiPath.WebApi * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: V2 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.T...
36.546296
220
0.553332
[ "MIT" ]
Blackspo0n/UiPath-Easy-Job-Control
UiPathEJC.Service.Rest/Model/TenantLicenseDto.cs
7,894
C#
#if HAVE_MODULE_AI || !UNITY_2019_1_OR_NEWER using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; namespace Newtonsoft.Json.UnityConverters.Tests.AI.NavMesh { public class NavMeshHitTests : ValueTypeTester<NavMeshHit> { public static readonly IReadOnlyCollection<(NavMeshHit deser...
32.057143
142
0.474153
[ "MIT" ]
Mu-L/Newtonsoft.Json-for-Unity.Converters
Assets/Newtonsoft.Json.UnityConverters.Tests/AI/NavMesh/NavMeshHitTests.cs
1,124
C#
using System.Collections.Generic; using System.Text.Json.Serialization; using Horizon.Payment.Alipay.Domain; namespace Horizon.Payment.Alipay.Response { /// <summary> /// KoubeiCateringPosDeskQueryResponse. /// </summary> public class KoubeiCateringPosDeskQueryResponse : AlipayResponse { /...
25.421053
68
0.662526
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Response/KoubeiCateringPosDeskQueryResponse.cs
493
C#
using Assets.scripts.Location; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerPositionMeasure { public float lattitude; public float longitude; public long timestamp; } public class MapPlayerBehaviour : MonoBehaviour { public static Map...
36.212454
171
0.632713
[ "MIT" ]
RemiFusade2/KorokGO
Korok GO/Assets/scripts/map/MapPlayerBehaviour.cs
9,888
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using avaliacao_wesleyandrade_microondas.Models; namespace avaliacao_wesleyandrade_microondas.Controllers { public class HomeController : Controller { [Filters.VerificaSessao] public Act...
35.353414
137
0.489719
[ "MIT" ]
wesleyandrade95/microondas-digital-asp.net
avaliacao_wesleyandrade_microondas/Controllers/HomeController.cs
8,829
C#