query
stringlengths
15
143
relevant
sequencelengths
1
16
What is the difference between delegate in c# and function pointer in c++?
[ "2738850" ]
When NOT to use yield (return)
[ "3856625" ]
How can I implement both an async method and its synchronous counterpart?
[ "14820606", "14870478" ]
Possible multiple enumeration of IEnumerable?
[ "8240844" ]
Can someone explain "access to modified closure" in C# in simple terms?
[ "271440", "304258", "46721528", "36636", "235455" ]
Does a Stream get Disposed when returning a File from an Action?
[ "26275764", "3084366" ]
The type of the conditional expression can not be determined?
[ "858080", "2215745", "8787987" ]
C# Creating a unique ID based on hardware ids
[ "9482253" ]
C# global keyboard hook, that opens a form from a console application
[ "15413172" ]
Checking to see if a column exists in a data reader
[ "373230" ]
How to call generic method with a given Type object?
[ "53941127", "4215729", "17519078", "232535", "65569927" ]
How to find the smallest assignable type in two types (duplicate)?
[ "14472103" ]
TryParse Nullable types generically
[ "1878712", "773078" ]
Is there a workaround for generic type constraint of "special class" Enum in C# 3.0?
[ "7244" ]
Is it possible to create a "private" or "public" block in C# like in C++?
[ "12312123" ]
Options for initializing a string array
[ "5678216" ]
What does a questionmark (?) mean in a function declaration in C#
[ "109859", "2079334" ]
async at console app in C#?
[ "41856512", "43023920", "51043734", "54738871", "9208921", "49200380" ]
The conditional operator gets confused, but why?
[ "858080", "2215745", "34673659" ]
Get All properties that has a custom attribute with specific values
[ "2281972" ]
Select from a range but exclude certain numbers
[ "18484577", "2706500", "45206471" ]
How to get my project path?
[ "3991933" ]
How to handle SelectedIndexChanged event for a ComboBox?
[ "5652957" ]
Calling an event handler manually
[ "984270" ]
Why C# 4.0 tolerates trailing comma in anonymous objects initialization code?
[ "5245152" ]
difference between linq.first() vs array[0]
[ "6064800" ]
What are the differences between using int[][] and int[,]?
[ "597720", "3468919" ]
Object Reference not set to an object (calling Razor model from View)
[ "4660142" ]
Moving from .NET to Java
[ "471448" ]
How can I check a C# variable is an empty string "" or null?
[ "7626375", "20515178", "52928060", "49554298" ]
Whats wrong with setting nullable double to null?
[ "858080", "2766932" ]
Calling generic method with a type argument known only at execution time
[ "7515521", "1371745", "22941474", "326285", "8302509", "307984", "51312368", "232535", "234008" ]
Regex that accepts only numbers (0-9) and NO characters
[ "58556543", "273141", "59987935" ]
Shouldn't if(1 == null) cause an error?
[ "648115", "1972262" ]
C# Math calculator
[ "63806151", "333737", "234217", "1437964", "2607798", "355062" ]
Initialize List<> with some count of elements
[ "466946", "7127323" ]
Dynamically read properties from c# expando object
[ "2634858" ]
+= new EventHandler(Method) vs += Method
[ "550703" ]
Going Through A Foreach When It Can Get Modified?
[ "759966" ]
Fastest way to insert 1 million rows in SQL Server
[ "13722014" ]
How to make random string of numbers and letters with a length of 5?
[ "1344221", "976646" ]
Remove 0s from the end of a decimal value
[ "8844619", "4525854", "3104615" ]
Get separate digits from int in C#
[ "829174" ]
Set default thread culture for all thread?
[ "468791" ]
How do I overload the [] operator in C#
[ "287928" ]
How to constantly scroll to the end of text in multiline text box?
[ "898307" ]
fill an array in C#
[ "6828154", "1014005" ]
Static variable order
[ "1405709", "6026989", "60835310" ]
Why Obsolete causes error?
[ "48825521", "10608309" ]
Performance difference between .where(...).Any() vs ..Any(...)
[ "3703256", "55871796" ]
Check if String can be converted to a given type in C#
[ "16835750" ]
Cleaner way to do a null check in C#?
[ "3468250" ]
Why is there no built-in type for DateTime?
[ "10058883" ]
Is there a "String.Format" that can accept named input parameters instead of index placeholders?
[ "733378", "7227413", "51242089" ]
Convert Enum to List
[ "1167361", "31985121", "105372" ]
How can I easily convert DataReader to List<T>?
[ "6042404", "1202935", "52871736", "436026", "3201180" ]
Sort a list of objects by the value of a property
[ "3309188" ]
What is the fastest way of converting an array of floats to string?
[ "3211422" ]
Interface-implementing anonymous class in C#?
[ "13804804", "191013", "21416180" ]
C# inline conditional nullabel value types
[ "75746" ]
Which is good to use: Object.GetType() == typeof(Type) or Object is Type?
[ "60773089", "983030" ]
First Character of String Lowercase - C#
[ "3565015" ]
What is the purpose of "?" in (someDelegateName)?.Invoke();?
[ "28352072" ]
How can I retrieve the 'AssemblyCompany' setting (in AssemblyInfo.cs)?
[ "1626801" ]
when should I use a sorteddictionary instead of a dictionary
[ "1427147" ]
Meaning of the ? operator in C# for Properties
[ "3183818" ]
Why does this code have new in the collections indexer
[ "3649174" ]
Build an OR query expression progressively
[ "2101540", "53961477", "56599703", "14621450" ]
How to convert Hexadecimal #FFFFFF to System.Drawing.Color
[ "2109756" ]
How am I supposed to use ZipArchive with memory streams?
[ "12347775" ]
Create SQLCE database programmatically
[ "1487845" ]
How To Test if a Type is Anonymous?
[ "3280400", "315146", "53844309" ]
C# string.Substring() or string.Remove()
[ "3222125" ]
.net core dependency injection to hosted service
[ "48368634" ]
Where should the line between property and method be?
[ "601621" ]
How to calculate an age based on a birthday?
[ "9" ]
Find source of Exception shown in VS output window
[ "4393092" ]
Weird outcome when subtracting doubles
[ "753948" ]
Why can't c# use inline anonymous lambdas or delegates?
[ "24770648", "8128625", "411579" ]
In a `while` loop, why can't I declare variable in the condition as in a `for` loop?
[ "1581364", "21764798" ]
How to continue debugging after editing a method containing a lambda expression?
[ "581967" ]
Why does Task.FromResult require explicit cast?
[ "30996986" ]
When should I implement IDisposable?
[ "538060", "20321014" ]
how to check if 2 files are equal using .NET?
[ "1358510" ]
Pausing a thread until manually resumed
[ "2430930" ]
Best way to create an instance of run-time determined type
[ "752" ]
Check if two lists are equal
[ "3669970", "43638756", "5180780", "57235228" ]
Visual studio (MAC) Console Application
[ "34709898" ]
LINQ Concat child lists in a list
[ "1145558" ]
Most concise way to initialize a C# hashtable
[ "495038" ]
Cross-thread operation not valid: Control 'listBox1' accessed from a > thread other than the thread it was created on
[ "142003" ]
How to call an async task inside a timer?
[ "19415646", "39260486" ]
What does the tilde (~) character do here
[ "188688" ]
Why doesn't the conditional operator correctly allow the use of "null" for assignment to nullable types?
[ "858080", "75746" ]
How to create NVarchar(max) Sqlparameter in C#?
[ "973260", "42840807" ]
Move obj folder in Visual Studio 2012
[ "4735534" ]
Where are all the static members stored?
[ "14781993", "54105028", "62990175" ]
because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element
[ "7583770" ]
C# Get Month INT from Month String
[ "258793" ]
C# Check if a List is a part of another List
[ "332973" ]