query
stringlengths
15
143
relevant
sequencelengths
1
16
What is the "??" operator for?
[ "2290008", "3878475", "3862347", "3408818", "446835", "3431064", "4848127" ]
Convert base class to derived class
[ "60843180", "729527" ]
passing parameter to an event handler
[ "4215845" ]
C# Linq merge two dictionaries
[ "4903784" ]
OK to return an internal List<T> as an IEnumerable<T> or ICollection<T>?
[ "271710" ]
Correct way to check if a type is Nullable
[ "374651" ]
What to use: var or object name type?
[ "1205329", "41479", "17032", "884555", "209199" ]
C# field vs. property
[ "653536" ]
How to display directories in a TreeView?
[ "1970514" ]
How to access page controls inside a static web method?
[ "2133194", "8967763", "42133284" ]
Creating a new instance of IList<T> from an existing one and modifying it
[ "2774099" ]
var in C# - Why can't it be used as a member variable?
[ "4756602", "824739", "4461597" ]
C# What is the '?' operator
[ "5064806" ]
how to access JSON object in C#
[ "12676746" ]
Using different DLL's for debug and release builds
[ "5491253" ]
More Elegant Exception Handling Than Multiple Catch Blocks?
[ "867017", "136035", "36329846" ]
System.InvalidOperationException: Unable to resolve service for type
[ "40900414" ]
C# Form with custom border and rounded edges
[ "1967944", "18919426" ]
C# equivalent to C union
[ "126781" ]
Putting \" in verbatim string with C#
[ "1928909" ]
.NET Core Razor C# functions
[ "5159877" ]
C# Overloaded method invocation with Inheritance
[ "2821620" ]
Simple Threading in C#
[ "271440" ]
Should I always wrap my code in try...catch blocks?
[ "1722964", "5199146", "4827628" ]
Is there a function that returns the current class/method name?
[ "2113069" ]
How do I select every 6th element from a list (using Linq)
[ "63944237", "682615" ]
Get out of multiple loops?
[ "324831" ]
If else if or Switch case
[ "395618" ]
Pass parameter to EventHandler
[ "35307489", "4215845", "30012767" ]
Int vs Double and divide by zero exception
[ "4609698", "16082118" ]
Get current index from foreach loop
[ "43021" ]
how to perform division in timespan
[ "1405460" ]
How to count of sub-string occurrences?
[ "23175513", "541954" ]
Using 'Using' for things other than resource disposal
[ "2101524" ]
In Visual Studio how to add special cases for debug and release versions?
[ "2104099" ]
c# If else statement with case insensative
[ "444798" ]
C# - How do I get the "Everybody" user?
[ "4614697" ]
Why am I getting "Collection was modified; enumeration operation may not execute" when not modifying the enumerated collection?
[ "3370721", "2024179" ]
How to mark a class as Deprecated?
[ "1759352" ]
Generate C# class from SQL Server table without Store Procedure
[ "5873170" ]
sqlConnection/Command using statement + try/catch block
[ "4590490" ]
What does ?? operator means in C#?
[ "446835" ]
Type.GetType not working
[ "1825147" ]
Should I prefer the 'is' or 'as' operator?
[ "496096" ]
How to read multiple resultset from SqlDataReader?
[ "3840484" ]
Is it Possible to Return a Reference to a Variable in C#?
[ "6339602", "3537589" ]
C# - Call a constructor from another constructor after some calculations
[ "4009013" ]
How to make correct clone of the List<MyObject>?
[ "222598", "28783768", "39362251", "45082959" ]
How can I call the 'base implementation' of an overridden virtual method?
[ "62387616", "41800353", "62912672", "357307", "43668423", "34461138", "51213208", "438939" ]
Why do lowercase and uppercase versions of string exist and which should I use?
[ "7074", "215255" ]
How to decide what to use - double or decimal?
[ "1165761" ]
How do I create a C# array using Reflection and only type info?
[ "400900" ]
Any difference is there Invoke Method (Delegate) and direct call?
[ "1367070" ]
Base constructor in C# - Which gets called first?
[ "1882692" ]
Determining whether a Type is an Anonymous Type
[ "315146" ]
How to remove all Click event handlers?
[ "6828054" ]
What's the C# equivalent to the With statement in VB?
[ "1063429", "54575189", "55238316", "481725" ]
Generic type from base interface
[ "1142105" ]
Creating a generic object based on a Type variable
[ "266115" ]
How to convert DateTime from JSON to C#?
[ "249760" ]
Convert string to unicode representation
[ "1615559" ]
MSIL of System.Int32 and int will be same?
[ "62503" ]
Why can't you use 'this' in member initializers?
[ "2023640" ]
Is it impossible to use Generics dynamically?
[ "307984", "325156", "232535", "326285", "15398543" ]
Using Resharper to Identify Instances of IDisposable
[ "101664" ]
Decimal.GetHashCode Depends On Trailing Zeros
[ "8533449" ]
Is there a way I can return more than one integer from a method?
[ "63984579", "748062" ]
Organizing using directives
[ "125319" ]
Make big and small numbers human-readable
[ "1555397" ]
What's the difference between uppercase Object and lowercase object?
[ "1017282" ]
What is the difference and why does Switch Case work like this in C#?
[ "222601" ]
why this condition returns true?
[ "7884888" ]
Generics that restricts the types to Int, Double, long
[ "32664" ]
Best tool to decompile a C# .Net 1.1 application
[ "4876347", "578883" ]
How to GetType of List<String> in C#?
[ "721870" ]
Minimize to tray
[ "6317033" ]
Missing the 'with' keyword in C#
[ "481725" ]
Is it worth upgrading to C# 4.0
[ "3260513" ]
TextBoxFor displaying initial value, not the value updated from code
[ "38742084", "42296837", "33517766", "787895", "40861643", "49327052" ]
Confused about multi-threading in a loop for C#
[ "271440" ]
Cross-thread operation not valid
[ "8856352", "9751937", "14537697", "6175844", "1523878", "8756711", "14044234", "142003", "25095027", "1377529", "1397370" ]
C# prefixing parameter names with @
[ "429529", "91817", "9092527" ]
Can I assign a null value to an anonymous type property?
[ "14317161" ]
TimeSpan.ToString("hh:mm") error
[ "58995931", "56138565", "15779246" ]
How can I get post data for asp.net c#
[ "564289" ]
What's the difference between anonymous methods (C# 2.0) and lambda expressions (C# 3.0)?
[ "17709006", "299703" ]
What is IIF in C#?
[ "822810" ]
params Parameter with default parameter values
[ "3948971" ]
How to use multi color in richtextbox
[ "1926264" ]
Loop through a C# enum's keys AND values
[ "105372" ]
How to get the lowercase name of an object, even when null, in C#
[ "37415125", "254461" ]
How can I split a string with a string delimiter?
[ "1126915", "52221445", "27126761", "54823242", "40631056", "7559121", "52506450", "46557107", "54356883", "53714198", "47650428", "52097182" ]
"Class of <T> where T : Enum" not working
[ "79126" ]
using see cref with < > characters in XML Documentation?
[ "532166" ]
What's the difference between an abstract class and an interface?
[ "57381796", "1165332" ]
ILookup versus IGrouping
[ "1337539" ]
Why do I have to use await for a method to run asynchronously. What if I don't want to wait for the method to finish before continuing?
[ "12803012" ]
Resharper, "Return type can be IEnumerable..." but why?
[ "1357727" ]
Generics in C# - how can I create an instance of a variable type with an argument?
[ "840261", "14828469" ]
How do I monitor clipboard content changes in C#?
[ "621577" ]