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 System; namespace Caculator { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); Console.Write("Enter a number: "); int num1 = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter another number: ");...
20.73913
59
0.536688
[ "MIT" ]
lacie-life/ProgrammingLanguageCollection
C#/Caculator/Caculator/Program.cs
479
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 Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using System.Collections; usin...
45.978947
555
0.615842
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/IBusinessunitadoxiospecialeventlocation.cs
4,368
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 26.07.2021. // // <field>.AddMilliseconds(...) // using System; using System.Linq; using System.ComponentModel.DataA...
31.871429
209
0.571044
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Funcs/DateTime/SET001/EXT/AddMilliseconds/TestSet_001__fields__03__N2.cs
4,464
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using Amazon.EC2.Util; using Amazon.EC2; namespace Amazon.DNXCore.IntegrationTests.EC2 { public class ImageUtilitiesTest : TestBase<AmazonEC2Client> { static string[] imgs = { "WINDOWS_2012R2_...
34.444444
315
0.693548
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/test/CoreCLR/IntegrationTests/IntegrationTests/EC2/ImageUtilitiesTest.cs
932
C#
using System; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.Localization; using UnityEngine.Serialization; using UnityEngine.UI; /// <summary> /// Takes care of all things dialogue, whether they are coming from within a Timeline or just from the interaction with a character, or b...
27.61745
154
0.75966
[ "Apache-2.0" ]
BrauCamaH/open-project-1
UOP1_Project/Assets/Scripts/Dialogues/DialogueManager.cs
4,117
C#
/* * Copyright 2020 LINE Corporation * * LINE Corporation licenses this file to you 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
35.669903
129
0.621938
[ "Apache-2.0" ]
line/blockchain-sample-mage-duel
Server/TCGSampleServer/Service/TCGGameService/User/User.Info.cs
3,676
C#
using Microsoft.EntityFrameworkCore; namespace RestWithASPNET5Udemy.Model.Context { public class PostgreSQLContext : DbContext { public PostgreSQLContext() { } public PostgreSQLContext(DbContextOptions<PostgreSQLContext> options) : base(options) { ...
20.125
93
0.600414
[ "Apache-2.0" ]
ClaudioMauricioOliveira/RestWithASP-NET5Udemy
BONUS_RestWithASPNET5Udemy_Postgres/RestWithASPNET5Udemy/RestWithASPNET5Udemy/Model/Context/PostgreSQLContext.cs
485
C#
namespace TDC_Testing_v1 { partial class MotorControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
50.653846
181
0.617818
[ "MIT" ]
ICpachong/OpenTOFLidar
PC_Utility/LidarTestingUtility/MotorControl.Designer.cs
11,855
C#
/***************************************************************************** * Copyright 2016 Aurora Solutions * * http://www.aurorasolutions.io * * Aurora Solutions is an innovative services and product company at * the forefront of the software industry, with processes and practices * involving Domain Dri...
36.536585
115
0.574266
[ "Apache-2.0" ]
trade-nexus/trade-mirror
Auto FX Tools Trade Mirror - Demo/Auto FX Tools Trade Mirror - Demo/datasource/Datasource.cs
5,996
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net; using System.Threading; using System.Threading.Tasks; using Pipedrive.Helpers; using Pipedrive.Internal; namespace Pipedrive { /// <summary> /// A connection for making API requests against URI endpoints. ...
47.135972
141
0.605309
[ "MIT" ]
Chinh-P/pipedrive-dotnet
src/Pipedrive.net/Http/ApiConnection.cs
27,388
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebApplication.Dtos { public class CategoryDto { public byte Id { get; set; } public string Name { get; set; } } }
18.384615
40
0.661088
[ "MIT" ]
profemzy/OProbate
WebApplication/Dtos/CategoryDto.cs
241
C#
using System; using System.Reflection; using System.Linq; namespace BubbleEngine.LuaAPI { public class EmbeddedLoader { public bool hasFile(string name) { var f = "BubbleEngine." + name + ".lua"; var asm = Assembly.GetExecutingAssembly (); var names = asm.GetManifestResourceNames (); return names.Con...
20.608696
47
0.683544
[ "MIT" ]
CallumDev/BubbleEngine
src/BubbleEngine/LuaAPI/EmbeddedLoader.cs
476
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> //---...
53.783784
204
0.653266
[ "Apache-2.0" ]
ricshark/xamarin-forms-samples
DataBindingDemos/DataBindingDemos/DataBindingDemos/obj/Debug/netstandard2.0/Views/SwitchIndicatorsPage.xaml.g.cs
1,990
C#
/*Write a recursive program for generating and printing all the combinations with duplicatesof k elements from n-element set. Example:*/ namespace Combinations { using System; public class Startup { public const int N = 3; public const int K = 3; public static int[] Vector = new i...
24
137
0.464286
[ "MIT" ]
danisio/DataStructuresAndAlgorithms-Homeworks
07.Recursion/02.Combinations/Startup.cs
842
C#
using System; using System.Collections.Generic; namespace Utilities.UnitTests { public class Test16 : IEquatable<Test16> { public Test16() { } public Test16(int year) { Year = year; } public int Field; public int Year { get; set; } public string Segment { get; set; } public string Country { get;...
37.53012
104
0.692135
[ "Unlicense" ]
ffhighwind/Utilities
UnitTests/Test16.cs
3,117
C#
using System.Data; using System.Linq; namespace NPoco.DatabaseTypes { public class SqlServerCEDatabaseType : DatabaseType { public override string BuildPageQuery(long skip, long take, PagingHelper.SQLParts parts, ref object[] args) { var sqlPage = string.Format("{0}\nOFFSET @{1} ROW...
33.516129
132
0.625602
[ "Apache-2.0" ]
asterd/NPoco.iSeries
NPoco/DatabaseTypes/SqlServerCEDatabaseType.cs
1,039
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; namespace JIT.HardwareIntrinsics.General { public static partial class Program { static Program() { ...
50.911765
73
0.583189
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/HardwareIntrinsics/General/Vector128/Program.Vector128.cs
3,462
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using ReconNess.Data.Npgsql; n...
36.569343
119
0.43019
[ "MIT" ]
KeyStrOke95/reconness
src/DAL/ReconNess.Data.Npgsql/Migrations/20200529213740_AddRootDomain.Designer.cs
20,042
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayCommerceIotDapplyOrderCancelResponse. /// </summary> public class AlipayCommerceIotDapplyOrderCancelResponse : AopResponse { /// <summary> /// 物料申请单号 /// </summary>...
24.055556
74
0.614319
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Response/AlipayCommerceIotDapplyOrderCancelResponse.cs
445
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.trade.buyer.credit.confirm /// </summary> public class AlipayTradeBuyerCreditConfirmRequest : IAopRequest<AlipayTradeBuyerCreditConfirmRe...
25.806452
107
0.564375
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Request/AlipayTradeBuyerCreditConfirmRequest.cs
3,216
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.Data; using Microsoft.EntityFrameworkCore.Storage; namespace Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal { /// <summary> ...
52.885246
113
0.67359
[ "Apache-2.0" ]
0x0309/efcore
src/EFCore.Sqlite.Core/Storage/Internal/SqliteDateTimeTypeMapping.cs
3,226
C#
using System; using System.Collections; using System.Collections.Generic; using Jyx2; using UnityEngine; using XNode; [CreateNodeMenu("对话")] [NodeWidth(256)] public class Jyx2TalkNode : Jyx2SimpleNode { private void Reset() { name = "对话"; } public int roleId; public string content; // Use this for initi...
16.473684
61
0.710863
[ "MIT" ]
Alinccc/jynew
jyx2/Assets/Scripts/EventsGraph/Nodes/Jyx2TalkNode.cs
636
C#
using Shouldly.Tests.Strings; using Shouldly.Tests.TestHelpers; using Xunit; namespace Shouldly.Tests.ShouldBeLessThan { public class CustomObjectScenario { [Fact] public void CustomObjectScenarioShouldFail() { var customA = new Custom { Val = 1 }; var customB =...
24.653061
71
0.641556
[ "BSD-3-Clause" ]
FrancisChung/shouldly
src/Shouldly.Tests/ShouldBeLessThan/CustomObjectScenario.cs
1,210
C#
using Microsoft.Azure.Management.ProviderHub.Models; using Microsoft.Rest.Azure; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using System.Collections.Generic; using Xunit; namespace Microsoft.Azure.Management.ProviderHub.Tests { public class NotificationRegistrationTests { [Fact] p...
50.488889
234
0.670995
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/providerhub/Microsoft.Azure.Management.ProviderHub/tests/ScenarioTests/NotificationRegistrationTests.cs
4,544
C#
using System; using System.Collections.Generic; using Microservices.Services.Revenue.Domain.Seedwork; namespace Microservices.Services.Revenue.Domain.AggregatesModel.TripAggregate { public class TripLeg : ValueObject { public Guid Id { get; private set; } public string Route { get; private set;...
27.777778
77
0.608
[ "Apache-2.0" ]
kavir-bheeroo/Microservices
src/Services/Revenue.Domain/AggregatesModel/TripAggregate/TripLeg.cs
750
C#
using Ninject.Extensions.Factory; using Ninject.Parameters; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace SharedComposer.Providers { public class NameProvider : StandardInstanceProvider { protected...
25.214286
116
0.719547
[ "MIT" ]
LuisM000/Planchet
Planchet/SharedComposer/Providers/NameProvider.cs
708
C#
using System; using System.Collections.Generic; #nullable disable namespace VoteTrackerAPI.Models.Database { public partial class Userpassword { public Guid Id { get; set; } public Guid? UserId { get; set; } public string Password { get; set; } public bool? IsDeleted { get; se...
22.764706
53
0.638243
[ "MIT" ]
gmalenko/VoteTrackerAPI
Models/Database/Userpassword.cs
389
C#
/********************************************************************************************************************** * 描述: * 接收请求文本消息。 * * 变更历史: * 作者:李亮 时间:2015年12月27日 新建 * *********************************************************************************************************************/ usi...
24.731707
120
0.441815
[ "Apache-2.0" ]
Wlitsoft/WeixinSDK
src/WeixinSDK/Message/Request/RequestTextMessage.cs
1,148
C#
using Gicco.Infrastructure.Data; using Gicco.Module.Catalog.Models; using Gicco.Module.Catalog.Services; using Gicco.Module.Catalog.ViewModels; using Gicco.Module.Core.Models; using Gicco.Module.Core.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; using System.Coll...
37.578947
116
0.589916
[ "Apache-2.0" ]
dvbtham/gicco
src/Modules/Gicco.Module.Mobile/Areas/Mobile/Controllers/CollectionApiController.cs
3,572
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace DeviceTesting.Pages.FloatingMultiButton { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class FloatingMul...
23.15
63
0.697624
[ "MIT" ]
haavamoa/FirstUIFramework.Forms
src/DeviceTesting/DeviceTesting/Pages/FloatingMultiButton/FloatingMultiButtonPage.xaml.cs
465
C#
using System; using System.IO; using NUnit.Framework; using MongoDB.Driver; namespace MongoDB.Driver.Bson { [TestFixture] public class TestBsonBinary { [Test] public void TestRoundTrip(){ Document idoc = new Document(); idoc.Add("b",new Binary(new byte[]{(byte)1,(byte)2})); MemoryS...
25.426471
100
0.632736
[ "Apache-2.0" ]
sunnanking/mongodb-csharp
MongoDB.Net-Tests/Bson/TestBsonBinary.cs
1,729
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TestLog : MonoBehaviour { void Start() { Debug.Log("!!! Test Debug Log Message !!!"); Debug.LogError("!!! Test Error Log Message !!!"); } }
21.75
57
0.636015
[ "MIT" ]
Howellm/AR_HoloLens2_Marker
Assets/Communications/TestLog.cs
263
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...
38.293532
110
0.621801
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-aiven
sdk/dotnet/Outputs/GetPgPgUserConfigResult.cs
7,697
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("Ur...
38.594595
84
0.745798
[ "Apache-2.0" ]
1441048907/ros-sharp
Libraries/Urdf/Properties/AssemblyInfo.cs
1,431
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Text.Json; using Azure.Core; using Azure.ResourceManager.Compute.Models; namespace Azure.ResourceManager.Compute { p...
46.820225
341
0.442045
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharedGalleryImageData.Serialization.cs
8,334
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace SE { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
22.363636
66
0.565041
[ "Unlicense" ]
s54mtb/LEDS
WINapp/SE/SE/Program.cs
494
C#
using cAlgo.API.Extensions.Enums; using System; namespace cAlgo.API.Extensions.Models { public class TdBar: IComparable { #region Properties public int Index { get; set; } public int Number { get; set; } public BarType Type { get; set; } #endregion #region M...
18.230769
57
0.57384
[ "MIT" ]
afhacker/cAlgo.API.Extensions
cAlgo.API.Extensions/Models/TdBar.cs
476
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;...
23.6875
56
0.69657
[ "Apache-2.0" ]
MegaProduction/MegaCastingClientLourd
MegaCasting.WPF/View/ViewPartnersList.xaml.cs
760
C#
using System; using System.IO; using System.Windows; using System.Windows.Media; using MahApps.Metro; namespace View_Spot_of_City.UIControls.Theme { public static class MetroThemeMaster { public static void CreateAppStyleBy(Application application, Color color, bool changeImmediately = false) ...
68.852273
187
0.68031
[ "Apache-2.0" ]
RS-GIS-Geeks/View-Spot-of-City
View-Spot-of-City/View-Spot-of-City.UIControls/Theme/MetroThemeMaster.cs
12,120
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Threading.Tasks; using FluentValidation; using FluentValidation.Results; namespace Dolittle.Vanir.Backend.V...
35.54902
117
0.623828
[ "MIT" ]
dolittle-entropy/applications-node
Source/DotNET/Backend/Validation/IValidators.cs
1,813
C#
namespace ClassLib122 { public class Class009 { public static string Property => "ClassLib122"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib122/Class009.cs
120
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Spatial.Euclidean.Visualization { using System.ComponentModel; using System.Runtime.Serialization; using System.Windows.Media; using HelixToolkit.Wpf; using Microsoft.Psi.Spatial...
34.493827
159
0.613099
[ "MIT" ]
Microsoft/psi
Sources/Spatial/Microsoft.Psi.Spatial.Euclidean.Visualization.Windows/NumericalVoxelGridVisualizationObject.cs
2,796
C#
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.Extensions.Logging; namespace src { [AllowAnonymo...
29.08982
117
0.621449
[ "MIT" ]
ADOPSE-Team17/not-imdb-backend
src/Controllers/AuthController.cs
4,858
C#
namespace ImGuiNET { public enum ImGuiCol { Text = 0, TextDisabled = 1, WindowBg = 2, ChildBg = 3, PopupBg = 4, Border = 5, BorderShadow = 6, FrameBg = 7, FrameBgHovered = 8, FrameBgActive = 9, TitleBg = 10, TitleBgA...
24.5
35
0.517493
[ "MIT" ]
Arcnor/dear-imgui-unity
ImGuiNET/Wrapper/Generated/ImGuiCol.gen.cs
1,372
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: AssemblyTi...
38.945946
85
0.727273
[ "MIT" ]
andrewdavey/FluentTest
src/FluentTest/Properties/AssemblyInfo.cs
1,444
C#
using System; using System.Diagnostics; using Windows.UI.Xaml.Controls; using Xamarin.Forms; using Xamarin.Forms.Platform.UWP; using Xaml = Windows.UI.Xaml; using MSCorp.FirstResponse.Client.UWP.Effects; [assembly: ResolutionGroupName("FirstResponse")] [assembly: ExportEffect(typeof(NativeStyleEffect), "NativeStyleEf...
26.763158
97
0.615536
[ "MIT" ]
Bhaskers-Blu-Org2/demo-first-response-online
src/client/MSCorp.FirstResponse.Client.UWP/Effects/NativeStyleEffect.cs
1,019
C#
using System; using System.Collections.Generic; using System.Text; namespace Wafec.BobDog.Core.Common.Context.Identity { public class JwtPayload { public long Sequence { get; set; } public string Name { get; set; } } }
19.153846
51
0.670683
[ "MIT" ]
wafec/wafec-bobdog
WafecBobDogSolution/Wafec.BobDog.Core.Common/Context/Identity/JwtPayload.cs
251
C#
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // 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 without limitation the rights to us...
38.409091
93
0.729586
[ "MIT" ]
AraHaan/ILSpy
ICSharpCode.Decompiler/TypeSystem/IField.cs
1,692
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="InstanceSetActionPropertyStep.cs"> // SPDX-License-Identifier: MIT // Copyright © 2019-2020 Esbjörn Redmo and contributors. All rights reserved. // </copyright> // ------------...
41.875
122
0.570647
[ "MIT" ]
eredmo/mocklis
src/Mocklis.BaseApi/Steps/Lambda/InstanceSetActionPropertyStep.cs
2,012
C#
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
44.4
133
0.687312
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Eventarc.V1/Google.Cloud.Eventarc.V1.GeneratedSnippets/EventarcClient.DeleteTriggerAsyncSnippet.g.cs
2,664
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-generate...
44.28125
171
0.597742
[ "MIT" ]
alibad/Blog
Windows Forms/Busy Form/Busy/Properties/Resources.Designer.cs
2,836
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...
39.730769
211
0.75605
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementNotStatementStatementNotStatementStatementRegexPatternSetReferenceStatementFieldToMatchSingleQueryArgumentArgs.cs
1,033
C#
namespace Cosmos.I18N.Countries.Europe { /// <summary> /// 法国(French Republic,欧洲,FR,FRA,250),法兰西共和国 <br /> /// Cosmos i18n code: i18n_country_faguo <br /> /// Cosmos region code: 200001 /// </summary> public static partial class France { // ReSharper disable once InconsistentNaming ...
33.040541
77
0.541922
[ "Apache-2.0" ]
alexinea/I18N
src/Cosmos.I18N.Countries/Cosmos/I18N/Countries/Europe/France.cs
2,535
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("Si...
38.861111
84
0.756254
[ "Apache-2.0" ]
AKrasheninnikov/PnP
Samples/Provisioning.Cloud.Workflow.AppWeb/Provisioning.Cloud.Workflow.AppWebWeb/Properties/AssemblyInfo.cs
1,402
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: mybank.finance.yulibao.capital.ransom /// </summary> public class MybankFinanceYulibaoCapitalRansomRequest : IAopRequest<MybankFinanceYulibaoCapitalRansom...
23.709091
114
0.607745
[ "MIT" ]
BJDIIL/DiiL
Sdk/AlipaySdk/Request/MybankFinanceYulibaoCapitalRansomRequest.cs
2,626
C#
using System; using WildFarm.Models; namespace WildFarm.Animals { public class Owl : Bird { public Owl(string name, double weight, double wingSize) : base(name, weight, wingSize) { WeightGain = 0.25; } public override void ProduceSound() { Conso...
19.210526
94
0.564384
[ "MIT" ]
teodortenchev/C-Sharp-Advanced-Coursework
C# OOP Basics/Polymorphism/P3_WildFarm/Animals/Owl.cs
367
C#
namespace HostSwitcher { partial class DetailsForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
40.257143
143
0.618879
[ "MIT" ]
smchristensen/HostSwitcher
HostSwitcher/DetailsForm.designer.cs
2,820
C#
namespace EnvironmentAssessment.Common.VimApi { public class ExtendedEventPair : DynamicData { protected string _key; protected string _value; public string Key { get { return this._key; } set { this._key = value; } } public string Value { get { return this._value; ...
12.064516
45
0.596257
[ "MIT" ]
octansIt/environmentassessment
EnvironmentAssessment.Wizard/Common/VimApi/E/ExtendedEventPair.cs
374
C#
namespace FaraMedia.Data.Schemas.ContentManagement { using FaraMedia.Core.Domain.ContentManagement; public sealed class PageConstants : UIElementConstantsBase<Page> { public static class CacheKeys { public static readonly string Pattern = Helpers.CachePattern(); public static readonly string ById = Helpers.C...
29.269231
72
0.726675
[ "MIT" ]
m-sadegh-sh/FaraMedia
src/Libraries/FaraMedia.Data/Schemas/ContentManagement/PageConstants.fixed.cs
761
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...
33.862069
189
0.674134
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Compute/Latest/Inputs/SharingProfileArgs.cs
982
C#
using System.Collections.Generic; namespace prjDependencyInversionPrinciple { public interface IRelationshipBrowser { IEnumerable<Person> FindAllChildrenOf(string name); } }
19.6
59
0.755102
[ "MIT" ]
luisferop/CsharpDesignPatterns
slnDesignPatterns/prjDependencyInversionPrinciple/IRelationshipBrowser.cs
198
C#
using ProjectHermes.ShoppingList.Api.Domain.Common.Commands; namespace ProjectHermes.ShoppingList.Api.Domain.StoreItems.Commands.CreateItem { public class CreateItemCommand : ICommand<bool> { public CreateItemCommand(ItemCreation itemCreation) { ItemCreation = itemCreation ?? throw...
31.785714
104
0.721348
[ "MIT" ]
Velociraptor45/ProjectHermes-ShoppingList
Api/ShoppingList.Api.Domain/StoreItems/Commands/CreateItem/CreateItemCommand.cs
447
C#
using TopModel.Core.Types; using TopModel.Utils; namespace TopModel.Core; public interface IFieldProperty : IProperty { bool Required { get; } Domain Domain { get; } string? DefaultValue { get; } TSType TS { get { if (Domain.TS == null) ...
39.125
215
0.555911
[ "MIT" ]
klee-contrib/topmodel
TopModel.Core/Model/IFieldProperty.cs
2,821
C#
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using System.Text; using System.Threading.Tasks; using VW.Interfaces; using VW.Reflection; using VW.Serializer.Intermediate; name...
42.944068
162
0.558077
[ "BSD-3-Clause" ]
Sandy4321/vowpal_wabbit-1
cs/cs/Serializer/VowpalWabbitSingleExampleSerializerCompiler.cs
25,339
C#
// <auto-generated /> namespace Iris.DataLayer.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 clas...
28.8
109
0.640046
[ "MIT" ]
AmirCpu2/IrisStore
Iris.DataLayer/Migrations/202005251226589_ChangeItemCollactionConfig.Designer.cs
864
C#
using System.Threading.Tasks; using System.Linq; using System.Collections.Generic; using System; using MongoDB.Driver; using authServer.Models; namespace authServer.Repositories { public class MongoPermissionRepository : IPermissionRepository { private const string collectionName = "Permissions"; ...
34.773109
115
0.589899
[ "Apache-2.0" ]
mertdogan12/authServer
Repositories/MongoDbPermissionRepository.cs
4,138
C#
// Copyright (c) Teroneko. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Threading.Tasks; namespace Teronis.Microsoft.JSInterop.Dynamic.DynamicObjects { public interface IExplicitGenericConstrainedDynamicObject : IJSObjectReferenceFacade { ...
29.615385
101
0.771429
[ "MIT" ]
teroneko/Teronis.DotNet
src/Microsoft/JSInterop/Dynamic/0/test/0/Dynamic/DynamicObjects/IExplicitGenericConstrainedDynamicObject.cs
387
C#
//----------------------------------------------------------------------- // <copyright file="MessageDispatchAndReceiveBenchmark.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.n...
34.983607
222
0.588097
[ "Apache-2.0" ]
Flubik/akka.net
src/core/Akka.Tests.Performance/Dispatch/MessageDispatchAndReceiveBenchmark.cs
2,136
C#
//Copyright (c) Microsoft Corporation. All rights reserved. namespace Microsoft.WindowsAPICodePack.Shell { /// <summary> /// Specifies options for the size of the stock icon. /// </summary> public enum StockIconSize { /// <summary> /// Retrieve the small version of the...
27.866667
112
0.426606
[ "Apache-2.0" ]
manuth/EnhanceForm
Microsoft.WindowsAPICodePack.Shell/StockIcons/StockIconEnums.cs
11,706
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ampere { enum Suit { Clubs, Hearts, Diamonds, Spades } enum Rank { Ace = 1, Two, Three, Four, Five,...
28.151515
132
0.52099
[ "MIT" ]
srakowski/LD39
Ampere/Ampere/Poker.cs
6,505
C#
using System; using System.Linq; public class AppliedArithm { public static void Main() { var numbers = Console.ReadLine() .Split() .Select(int.Parse) .ToArray(); string command; while ((command = Console.ReadLine()) != "end") { ...
27.148936
80
0.418495
[ "MIT" ]
PhilipYordanov/Software-University-C-Fundamentals-track
CSharpAdvance/Functional Programming - Exercises/FuncProgramming - Exercises/05. AppliedArithm/AppliedArithm.cs
1,278
C#
using System; using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle(@"NuPattern.Runtime.RuntimeStore")] [assembly: AssemblyDescription(@"")] [assembly: AssemblyConfiguration("")] [assembly: CLSCompliant(true)] [assembly: InternalsVisibleTo(@"NuPattern.Runtime.Core, PublicKey=002400...
291
671
0.967545
[ "Apache-2.0" ]
dbremner/nupattern
Src/Runtime/Source/Runtime.Store/Properties/AssemblyInfo.cs
5,238
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; #pragma warning disable CS0675 // Bitwise-or operator used on a sign-extended operand namespace UnlockECU { /// <summary> /// RDU222: seed |= A, ^= B, += C /// </summary> class RDU222 : ...
29.547619
115
0.593876
[ "MIT" ]
ecumasterac/UnlockECU
UnlockECU/UnlockECU/Security/RDU222.cs
1,243
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3dcommon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; namespace TerraFX...
43.434783
145
0.761762
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d3dcommon/D3D_SHADER_CBUFFER_FLAGS.cs
1,001
C#
#nullable enable using System; using System.Diagnostics; using System.Threading.Tasks; using Android.Content; using Android.Content.Res; using Android.Provider; using Android.Runtime; using Android.Util; using Android.Views; namespace Microsoft.Maui.Essentials { partial class DeviceDisplayImplementation : IDeviceDisp...
26.161538
84
0.739782
[ "MIT" ]
41396/maui
src/Essentials/src/DeviceDisplay/DeviceDisplay.android.cs
3,401
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...
43.166667
81
0.635135
[ "MIT" ]
dradoslavov/Technology-Fundamentals
07.Objects and Classes - Exercise/05. Teamwork projects/obj/Debug/netcoreapp2.1/05. Teamwork projects.AssemblyInfo.cs
1,036
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. #nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; using System....
47.929825
202
0.581168
[ "MIT" ]
Ruffo324/roslyn
src/Tools/Source/RunTests/ProcessTestExecutor.cs
10,930
C#
/* * Copyright 2012-2017 The Pkcs11Interop Project * * 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 app...
37.125
166
0.539562
[ "Apache-2.0" ]
arkkadin/pkcs11Interop
src/Pkcs11Interop/Pkcs11InteropTests/LowLevelAPI81/_08_LoginTest.cs
4,752
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; using ...
34.671096
212
0.575891
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-yandex
sdk/dotnet/GetMdbSqlserverCluster.cs
10,436
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("Cir...
37.783784
84
0.748927
[ "MIT" ]
PacktPublishing/Improving-your-C-Sharp-Skills
Chapter15/CircleSelection/Properties/AssemblyInfo.cs
1,401
C#
using MySql.Data.MySqlClient; 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 Painel { public partial class FormProdutos : Form { ...
45.870968
477
0.644515
[ "MIT" ]
jhenifferaraujo20/projeto-integrador-desktop
Painel/FormProdutos.cs
2,846
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.MSHTMLApi { /// <summary> /// DispatchInterface IHTMLAnchorElement3 /// SupportByVersion MSHTML, 4 /// </summary> [SupportByVersion("MSHTML", 4)] [EntityType(EntityType.IsDispatchInterfac...
31.966387
174
0.703733
[ "MIT" ]
DominikPalo/NetOffice
Source/MSHTML/DispatchInterfaces/IHTMLAnchorElement3.cs
3,806
C#
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Alexis Kochetov // Created: 2009.06.22 using System.Linq.Expressions; namespace Xtensive.Orm.Linq.Expressions { internal class MarkerExpression : ExtendedExpression { pub...
24.233333
69
0.689133
[ "MIT" ]
DataObjects-NET/dataobjects-net
Orm/Xtensive.Orm/Orm/Linq/Expressions/MarkerExpression.cs
727
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Windows; using System.Windows.Data; using System.Windows.Input; using System.Windows.Media; using Newtonsoft.Json.Linq; ...
40.113725
131
0.542966
[ "MIT" ]
ManuelOTuga/PoE
WPFSKillTree/ViewModels/Equipment/DownloadStashViewModel.cs
9,977
C#
namespace PcSoft.ExtendedEditor._90_Scripts._00_Runtime { internal static class ExtendedEditorConstants { } }
17.571429
56
0.756098
[ "Apache-2.0" ]
KleinerHacker/unity.extensions
Assets/PcSoft/ExtendedEditor/90 Scripts/00 Runtime/ExtendedEditorConstants.cs
125
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// MybankCreditSceneprodSignConsultResponse. /// </summary> public class MybankCreditSceneprodSignConsultResponse : AlipayResponse { /// <summary> /// 是否允许签约 /// </summary> ...
25.758621
74
0.585007
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/MybankCreditSceneprodSignConsultResponse.cs
807
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MayerControl : MonoBehaviour { // Variables del movimiento del personaje public float jumpForce; Rigidbody2D playerRigidBody; public LayerMask groundMask; Animator animator; const string STA...
31.616438
142
0.60312
[ "MIT" ]
Alex99-bit/Space-man
Assets/Scripts/MayerControl.cs
2,308
C#
using Microsoft.AspNetCore.Mvc; namespace WebApplication5.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase { private static readonly string[] Summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm",...
30.818182
106
0.593904
[ "MIT" ]
220328-uta-sh-net-ext/Steve-Burgos
WebApplication5/WebApplication5/Controllers/WeatherForecastController.cs
1,017
C#
using System; using UnityEngine; // Token: 0x0200043B RID: 1083 public class IntroYandereScript : MonoBehaviour { // Token: 0x06001D0B RID: 7435 RVA: 0x0010FE7C File Offset: 0x0010E27C private void LateUpdate() { this.Hips.localEulerAngles = new Vector3(this.Hips.localEulerAngles.x + this.X, this.Hips.localEuler...
45.41791
166
0.784095
[ "Unlicense" ]
larryeedwards/openyan
Assembly-CSharp/IntroYandereScript.cs
3,045
C#
// <copyright file="AssemblyInfo.cs" company="Team B"> // Team B. All rights reserved. // </copyright> using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the in...
36.625
84
0.733788
[ "MIT" ]
WowItsDoge/AI-SWP
03_Implementierung/UseCaseTool/UseCaseCore/Properties/AssemblyInfo.cs
1,468
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using ManagedIrbis.Search; namespace UnitTests.ManagedIrbis.Search { [TestClass] public class SearchExceptionTest { [TestMethod] public void SearchException_Construction_1() { SearchException exception ...
28.105263
85
0.636704
[ "MIT" ]
amironov73/ManagedClient.45
Source/UnitTests/ManagedIrbis/Search/SearchExceptionTest.cs
1,070
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SqlClient; using TygaSoft.IDAL; using TygaSoft.Model; using TygaSoft.DBUtility; namespace TygaSoft.SqlServerDAL { public partial class StockLocation : IStockLocation { #region ISt...
55.545279
532
0.514326
[ "MIT" ]
Arainsd/Wms
src/TygaSoft/SqlServerDAL/AutoCode/StockLocation.cs
28,830
C#
/******************************************************************************* * Copyright 2009-2018 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.733333
106
0.571621
[ "Apache-2.0" ]
claytondus/Claytondus.AmazonMWS
Claytondus.AmazonMWS.Finances/Model/PayWithAmazonEvent.cs
12,650
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Globalization; namespace System { class Program { static void PrintUsage() { Console.WriteLine( "This utility sorts text file in order to fulfill GDAL ...
34.8
113
0.509195
[ "MIT" ]
KubaSzostak/gdal-dragndrop
src/xyz_sort/xyz_sort.cs
3,482
C#
namespace Bau.Data { using Bau.Data.Entities; using Bau.Planning; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; ...
29.973684
99
0.533363
[ "MIT" ]
zbigniew-gajewski/asp-net-core-mvc-ef-core-angular
Bau/Data/BauSeeder.cs
2,280
C#
/////////////////////////////////////////////////////////////////////////////////// /// /// /// This file is part of the OpenDriveSimulator project /// /// (www.github.com/TUMMMK/OpenDrive) ...
47.166667
121
0.48351
[ "MIT" ]
TUMMMK/OpenDrive
OpenDriveSimulator/Scripts/GeneralScripting/DebugLogger.cs
3,398
C#
using Autofac; using Autofac.Extras.DynamicProxy; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using System; using System.Linq; using System.Reflection; using EasyCaching.Core.Configurations; using EasyCaching.Core.Interceptor; namespace Adnc.Infr.EasyCach...
41.830986
134
0.63367
[ "MIT" ]
JavaScript-zt/Adnc
src/ServerApi/Adnc.Infr.EasyCaching/Interceptor/CastleInterceptorServiceCollectionExtensions.cs
2,972
C#
 using System; using System.Collections.Generic; using System.Text; namespace NeoCortexApi.Entities { public class DistributedMemory { public IDistributedDictionary<int, Column> ColumnDictionary { get; set; } //public IDistributedDictionary<int, Pool> PoolDictionary { get; set; } } }
21.066667
81
0.71519
[ "Apache-2.0" ]
PrasadSahana/Implementation-of-Scalar-Encoders-in-HTM
Source/HTM/NeoCortexEntities/Entities/DistributedMemory.cs
318
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本: 4.0.30319.34014 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace G...
33.902778
174
0.575174
[ "MIT" ]
zc910704/C--homework
resource/Game2048/Game2048/Properties/Resources.Designer.cs
2,797
C#
#region Using directives using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; #endregion namespace Blazorise.Markdown { /// <summary> /// Component for acts as a wrapper around the EasyMDE, a markdown editor. /// </summary> public partial class Markdown : Bas...
29.546154
122
0.568081
[ "Apache-2.0" ]
Luk164/Blazorise
Source/Extensions/Blazorise.Markdown/Markdown.razor.cs
3,843
C#