query
stringlengths 15
143
| relevant
sequencelengths 1
16
|
---|---|
How to execute async 'fire and forget' operation in ASP.NET Web API | [
"17659603",
"6374860"
] |
What does the ?. mean in C#? | [
"28352072"
] |
c# check enum is contained in options | [
"8447"
] |
One Key to multiple values dictionary in C#? | [
"569903"
] |
NDesk.Options: how to register required parameters correctly? | [
"3427306"
] |
LINQ naming Standard - Lambda Expression | [
"443466"
] |
How to cut a part of image in C# | [
"734930"
] |
Why call GC.KeepAlive in the end, and not in the beginning? | [
"17130382"
] |
Why can't an anonymous class have a lambda property, but it can have a Func<> property? | [
"2687942"
] |
How do I find the current executable filename? | [
"616584"
] |
ANCM InProcess startup failed because of invalid runtimeconfig.json | [
"53846333"
] |
How to use index/position with Where in LINQ query language? | [
"30194109",
"3757814",
"60689583"
] |
Calculate average with linq without grouping | [
"1057867"
] |
Initializing C# auto-properties | [
"16781118",
"20307491",
"14840345",
"24102569",
"40730",
"33256430"
] |
operator overloading with generics | [
"756954",
"22306419"
] |
How can I send the F4 key to a process in C#? | [
"3047375"
] |
Get custom attributes of enum value | [
"21910554",
"18193667",
"17772"
] |
Why can't I implement an Interface this way? | [
"14057304",
"5709034"
] |
How do you put { and } in a format string | [
"91362"
] |
How to debug program that pass argument to Main? | [
"6475887"
] |
Casting to byte in C# | [
"7575643"
] |
Check if a file is open | [
"876473",
"9277461"
] |
Type.GetType return null | [
"1825147"
] |
Compared to C#, Java's final is similar to const or readonly | [
"1327544"
] |
How to calculate 2nd Friday of Month in C# | [
"55761425",
"5421972",
"44605557"
] |
Overriding default parameters in C# | [
"8909811"
] |
Remove all comment (single-/multi-line) & blank lines from source file | [
"3524317"
] |
What is good practice for null reference checks? | [
"4408104"
] |
Exporting a native C function from a .net DLL? | [
"4818850",
"25563475",
"6467734",
"980808"
] |
How to force a number to be in a range in C#? | [
"2683442",
"37884558"
] |
Remove invalid (disallowed, bad) characters from FileName (or Directory, Folder, File) | [
"146134"
] |
Using Attributes for Generic Constraints | [
"221687"
] |
DateTime TryParse - mapping '99' to 2099, not 1999 | [
"1760544",
"34550290"
] |
Cannot implicitly convert type 'System.Collections.Generic.IEnumerable<AnonymousType#1>' to 'System.Collections.Generic.List<modelClass> | [
"4256329",
"43533882"
] |
How can I check if my program is already running? | [
"4722198"
] |
C# - Try-Catch-Finally on Return | [
"345091"
] |
Reading a file used by another process | [
"20635139",
"31295027",
"4400517",
"42168823",
"64781146",
"58479262"
] |
Why Static keyword before the function signature | [
"2018108"
] |
How can I call default(T) with a type? | [
"325426",
"14819974"
] |
Performance cost of a try/catch block | [
"867017"
] |
Covariance, delegates and generic type constraints | [
"12743444"
] |
Why can't a list of an interface type accept instances of an inheriting interface? | [
"1817300"
] |
How can I determine that several file paths formats point to the same physical location | [
"410705"
] |
How to impose, in a C# generic type parameter, that some operators are supported? | [
"3598341"
] |
Why can't I set a nullable int to null in a ternary if statement? | [
"858080",
"2215745",
"4245563"
] |
How to store a reference to an integer in C#? | [
"42955149",
"2980463"
] |
using statement with multiple variables | [
"13863200",
"1329739"
] |
A Shortcut for c# null and Any() checks | [
"5047349"
] |
Live vs Development connection strings | [
"8366091"
] |
How can I bring my application window to the front? | [
"1463417",
"12984556"
] |
C# equivalent to Java's Arrays.fill() method | [
"14919234",
"1014005"
] |
Getting the thread ID | [
"1679243"
] |
GetType from object is returning RuntimeType | [
"5737840"
] |
How to get the version of the .NET Framework being targeted? | [
"3436526"
] |
Why null == myVar instead of myVar == null? | [
"271561"
] |
C# 8 understanding await using syntax | [
"58610350"
] |
Combining Unit Tests (mocking) and a Dependecy Injection Framework | [
"1465849"
] |
Inability to overload generic methods with type constraints | [
"2974519"
] |
Why is C used for driver development rather than C#? | [
"75886"
] |
IoC container - singleton or passed around instance? | [
"2386487"
] |
Comparing GUID to string in LINQ to Entites throws error | [
"8009041",
"63860182"
] |
Newtonsoft ignore attributes? | [
"53012368",
"37371786"
] |
Exit from nested loops at desired level | [
"324831"
] |
Cannot set an object to null inside a method | [
"2125591"
] |
Any open source / free library for handling Excel (both *.xls and *.xlsx) files? | [
"151005",
"61641542"
] |
How to compare two arrays of bytes | [
"43289"
] |
No implicit conversion between 'lambda expression' and 'lambda expression'? | [
"263151"
] |
Count the spaces at start of a string | [
"12695501"
] |
Exclude certain column from Entity Framework select statment | [
"8973529"
] |
Passing An Enum Type As An Argument? | [
"492115"
] |
Async and Await with For Loop | [
"64394416",
"19447509",
"12337671"
] |
Test for multiple values in an if statement in C# | [
"33824362",
"3907299",
"38208685"
] |
Parse nested json in unity | [
"47140672",
"36239705"
] |
Difference between IsNullOrEmpty and IsNullOrWhiteSpace in C# | [
"6976597"
] |
Why do we need interfaces when abstract classes exist? | [
"1028285"
] |
string values enum in c# | [
"630803"
] |
Create an array or List of all dates between two dates | [
"14520037",
"57109486",
"65087313",
"3388344",
"13690617",
"1847580",
"31612734"
] |
Initialize an array of int with a range of numbers | [
"35472561",
"4588787",
"61004461"
] |
Remove first line from a file | [
"7008542"
] |
Calculate # of Years Alive in C# WinForm | [
"9"
] |
? (nullable) operator in C# | [
"7315632",
"2690866",
"33194259",
"6869641",
"30295082"
] |
How to sum generic numbers in C#? | [
"32664"
] |
Date difference in years using C# | [
"9",
"27480886"
] |
C# getters, setters declaration | [
"9304",
"6655465",
"1568091",
"7644542"
] |
Why does Random.Next() always return the same number | [
"28500273",
"767999"
] |
The entity or complex type ' ' cannot be constructed in a LINQ to Entities query | [
"5325797",
"12936503"
] |
Yield return from a try/catch block | [
"5067188",
"19930294"
] |
Convert String to Type in C# | [
"58004411",
"46913800",
"3327883",
"223952",
"25975892",
"46691220",
"309333",
"39961434",
"32873820",
"58934244",
"29482",
"53200433",
"36839480",
"1825147",
"16039037",
"49318975"
] |
Event handler and null-conditional operator | [
"282653"
] |
Difference between returning and awaiting a Task in an async method | [
"51879123",
"38654809",
"21033150",
"25282095"
] |
C# Check if run as administrator | [
"3600322"
] |
How do I Get Folder Size in C#? | [
"1118568"
] |
C# generics compared to C++ templates | [
"15563233",
"31693"
] |
How do I compare the fields/properties between POCOs? | [
"506096"
] |
How to check if a COM component (EXE/DLL file) is registered or not (using .NET)? | [
"689072"
] |
Stack overflow error in C# set/get | [
"62971540",
"20197716",
"16154873",
"5676430",
"1437791"
] |
Find out File Owner/Creator in C# | [
"153087"
] |
How to set default value for Auto-Implemented Properties in ASP.NET | [
"40730"
] |
To Use or Not To Use the 'this' qualifier in C# | [
"23250"
] |
Convert List to Queue c# | [
"3463675"
] |