query
stringlengths
15
143
relevant
sequencelengths
1
16
Using CancellationToken for timeout in Task.Run does not work
[ "10134310" ]
How to disable specific warnings for the entire solution?
[ "526443" ]
Convert List<int> to delimited string list
[ "1334072" ]
Testing whether or not something is parseable XML in C#
[ "1026247" ]
The entity type 'IdentityUserLogin<string>' requires a primary key to be defined
[ "34000091" ]
Does .NET Task.Result block(synchronously) a thread
[ "12484112" ]
how to get the top 30 items in a list
[ "319973" ]
Fast Fourier Transform in C#
[ "170394" ]
Comparing structs to null
[ "1972262" ]
Select even/odd elements in IEnumerable<T>?
[ "682615", "267033", "18080060", "54543822" ]
IEnumerable<> vs List<> as a parameter
[ "23536541", "890687" ]
Meaning of the syntax: return _(); IEnumerable<TSource> _()
[ "45323628", "54533438" ]
What is the difference between IEnumerator and IEnumerable?
[ "558304", "8790088", "24891645" ]
Add element to null (empty) List<T> Property
[ "4660142" ]
Pass parameters to PrivateObject method
[ "8779731" ]
'field' but is used like a 'type'
[ "8908803" ]
C# enum - why does *implicit* casting from 0 work?
[ "47277084", "14950750" ]
Generics in C#, using type of a variable as parameter
[ "2078914", "23215398", "232535", "15487242", "35325695" ]
How to combine || operators in condition statement
[ "16866174" ]
Multiple threads accessing same multi-dimensional array
[ "1460634" ]
How to safely mix sync and async code?
[ "14870478" ]
UnauthorizedAccessException cannot resolve Directory.GetFiles failure
[ "172544", "6169865", "19137099", "11927116", "12100110", "9830069", "4986293", "36730301" ]
List overwriting data on all positions
[ "2156482" ]
Variable declaration in a C# switch statement
[ "58134013", "20402274", "14397828", "51475014", "11409709", "10095280", "57763031", "13724281", "1074589" ]
How to expose the Text property of a UserControl?
[ "2881409" ]
Remove a service in ASP.Net Core Dependency Injection
[ "42565829" ]
Dynamic List<T> type
[ "266115" ]
How to trim " a b c " into "a b c"
[ "206717" ]
What does the ? mean after a type?
[ "109859", "8802798", "2069863" ]
Differences between multithreading and multitasking in C#
[ "4130194" ]
Execute command line from a specific folder
[ "16667135" ]
How to have an auto incrementing version number (Visual Studio)?
[ "8322905", "16678645", "356543" ]
Order a List (C#) by many fields?
[ "2318885", "30582351" ]
Delegates do not get garbage collected
[ "8325995" ]
Differences with delegate declaration in c#
[ "10482121", "7735159" ]
Declaring interface inheritance in C#
[ "4817369" ]
How much memory does an enum take?
[ "20944585", "36092844" ]
Parse c# class file to get properties and methods
[ "81406" ]
Starting tasks inside a loop: how to pass values that can be changed inside the loop?
[ "271440", "62704297", "12861560" ]
What's the difference between Show(), ShowDialog() and Application.Run() functions?
[ "2314514" ]
Is List a value type or a reference type?
[ "5057267" ]
Why List<> implements IList
[ "3224081" ]
Convert string to binary zeros and ones
[ "736533" ]
Explicit Loading N:M with Filtering
[ "20919303" ]
vhost.exe. Why is that needed?
[ "774187" ]
Convert string to int array using LINQ
[ "2113115", "37462732", "33109471" ]
How to change the timezone setting of Windows2k8 with .net
[ "808736" ]
Is there any reason to set an object to null in the finally block?
[ "2785" ]
Why methods in C# are not automatically virtual?
[ "814934" ]
C# constructor generic parameters inference
[ "45604" ]
How to get the name of current function?
[ "44153", "2652460" ]
How can I write MemoryStream to byte[]
[ "221925" ]
Determine OS using Environment.OSVersion
[ "37854547", "2819934" ]
Is it possible to create properties on the fly, with a .NET dynamic object?
[ "2974008" ]
Why can't static method in non-static class be an extension method?
[ "4909156", "2731695" ]
In C#, which is more optimized, if that is the right word: ++x or x++?
[ "226002", "437026" ]
How does C# decide which enum value as a returned one? Any rules?
[ "44900608", "8043027" ]
BitConverter.ToString() in reverse?
[ "24291040", "311165" ]
Foreach Variable in Closure. Why Results Differ for These Snippets?
[ "14907987" ]
c# list.OrderBy not working at all?
[ "57061968", "61588023", "14403496", "37510407" ]
Null Password Char in Winform
[ "8185747", "31457971", "18094199" ]
How check intersection of DateTime periods
[ "8360681", "13513932" ]
Cross-thread operation not valid while listening to a COM port
[ "1523878", "5037470" ]
How do I get the calling method name and type using reflection?
[ "171970", "6359461", "17265655", "5483070" ]
How can I check if a generic method parameter is a value type?
[ "5748661" ]
Drag borderless windows form by mouse
[ "10702371", "1592876" ]
Determine if type is dictionary
[ "123181" ]
Exception handling. How long does catch take?
[ "161942" ]
C# int to enum conversion
[ "29482", "7691083" ]
get path for my .exe
[ "14549766", "48269222", "1222190", "837488", "47082292", "42626005", "45843189", "38034392", "54524063" ]
Format to two decimal places
[ "704702", "164926", "50962775" ]
How to get property name and its value?
[ "987982" ]
Why isn't the static constructor from my base class called?
[ "4652454" ]
How to hide WinForm after it run?
[ "70272" ]
Calling generic method with Type variable
[ "61488693", "232535", "63185225", "22724651", "49130604" ]
How does Interlocked work and why is it faster than lock?
[ "5700100" ]
Alternative to multiple String.Replaces
[ "1321331", "19086781" ]
Why can I write a generic catch statement in C# that does nothing?
[ "1577760" ]
How do I retrieve a value from a [Flag] enum property?
[ "8447" ]
When inside a class, is it better to call its private members or its public properties?
[ "271318" ]
How to resolve "Input string was not in a correct format." error?
[ "8321514", "1339599", "45790463" ]
Most efficient way to find if a value exists within a C# List
[ "4813914" ]
Why "throw ex;" hides original stack trace
[ "178456" ]
Reflecting constant properties/fields in .net
[ "1287797" ]
Why does List<T> implement so many interfaces?
[ "4817369" ]
Lambda conversions with unclear return type and overload resolution
[ "24316189" ]
How to check if all values in an array are equal
[ "4390406" ]
Right way to get username and password from connection string?
[ "7900201" ]
Split by multiple characters
[ "1254577" ]
Equivalence of "With...End With" in C#?
[ "1175334", "24170439", "55238316", "481725", "9482764" ]
if ((123 / 1000) > 0) returns false
[ "1061334" ]
Iterate Between Enum Values in C#
[ "105372" ]
C# Eval() support
[ "4629" ]
How to extract file name from an Uri in C#?
[ "1105593" ]
What are the performance characteristics of 'is' reflection in C#?
[ "686412" ]
Unit Testing .NET Core Web API Controllers with JWT Claims
[ "38557942" ]
Returning multiple results from a method
[ "748062" ]
Deleting while iterating over a dictionary
[ "2347269" ]
Why can't an object which holds a float value be cast to double?
[ "4113056" ]
What is the best practice using async without await?
[ "28197902" ]