query
stringlengths 15
143
| relevant
sequencelengths 1
16
|
---|---|
Folder copy in C# | [
"58744",
"40129202"
] |
How to initialize a struct in C# | [
"1542824",
"43429530",
"2069435"
] |
Combine multiple dictionaries into a single dictionary | [
"294138"
] |
which string operation is better? | [
"1612797"
] |
Why can I call a private method of another instance of the same type outside of that instance? | [
"42923801",
"5737602"
] |
Need to Compare Two Generic Objects Using Greater Than or Less Than | [
"6480577"
] |
Covariance and Contravariance with C# Arrays | [
"2662369"
] |
How can I deploy a C# console application as a single exe? | [
"189549"
] |
How to remove a lambda event handler | [
"57882912",
"59972581",
"183367",
"63020295",
"1348150",
"23561782",
"6460281",
"25563518"
] |
Auto widths in ListView | [
"1257500"
] |
Usage of @ Before Method Call | [
"429529"
] |
How to pass sqlparameter to IN()? | [
"2377506",
"50943475",
"56430296",
"43997516",
"61398495"
] |
Await vs Task.Result in an Async Method | [
"27464287"
] |
C# Extend class by adding properties | [
"619033"
] |
How to convert a String to a Hex Byte Array? | [
"311165"
] |
Better use int.Parse or Convert.ToInt32 | [
"199470"
] |
Concatenate Constant String and Enum | [
"10138481"
] |
Which int type does var default to? | [
"5820721",
"51761548"
] |
Should I check to see if an object is null first or second? | [
"655657"
] |
c# check for exact type | [
"983030"
] |
Pre & post increment operator behavior in C, C++, Java, & C# | [
"57020961",
"98242",
"30118402",
"23308228",
"28829957",
"8573190",
"63090052",
"4176328",
"43674250",
"17165292",
"21815865",
"22714134",
"1094872",
"949433"
] |
How to get DbSet from entity name in EF Core / .NET Core 2.0 | [
"48041821"
] |
Can we add a method to an anonymous type that refers to the anonymous type's members? | [
"2687942"
] |
Append text using StreamWriter | [
"7306214"
] |
C# to ASP.NET MVC FileStream Crossover | [
"16188314"
] |
C# Get application url | [
"7413466"
] |
Closing a file after File.Create | [
"2781357"
] |
Interesting interview exercise result: return, post increment and ref behavior | [
"33783989"
] |
Can you catch more than one type of exception with each block? | [
"136035"
] |
The primary use of IDisposable interface | [
"538060"
] |
Why was exception not caught within the closure? | [
"18917141"
] |
What happens when 'return' is called from within a 'using' block? | [
"662773"
] |
Properties vs Public member variables | [
"295104"
] |
Assignment of fields/properties in a struct | [
"6255305"
] |
Rounding a decimal to the nearest 0.05? | [
"1448458"
] |
VB.NET vs C# integer division | [
"1953164"
] |
How can we declare Optional Parameters in C#.net? | [
"3914858"
] |
Call generic method in c# | [
"3679562"
] |
Can I use null conditional operator instead of classic event raising pattern? | [
"282653",
"42193253",
"46716575"
] |
Nice, clean cross join in Linq using only extension methods | [
"9115675"
] |
Should BaseType of System.Object be the same as interfaces? | [
"3236305"
] |
Underscore prefix on member variables. intellisense | [
"9120857",
"852433",
"111605",
"762025",
"450238"
] |
C# generics syntax for multiple type parameter constraints | [
"66005512",
"35879410",
"588643"
] |
enum members of Int32 type | [
"1813408",
"6199293",
"21820982"
] |
What is the best way to implement a "timer"? | [
"186084",
"49602317",
"58040326"
] |
How to print the same character many times with Console.WriteLine() | [
"3754582"
] |
C# out keyword meaning and does it have an equivalent in PHP? | [
"1169786"
] |
typeof generic and casted type | [
"983030"
] |
What's the equivalent of Java's enum in C#? | [
"1422112",
"43313737",
"469287"
] |
How does a dictionary do a fast lookup | [
"1407563"
] |
Shortcut for "null if object is null, or object.member if object is not null" | [
"6432480",
"8593250",
"4110659",
"2080647",
"6106795",
"30353817",
"854591"
] |
Why does C# have break if it's not optional? | [
"1568348"
] |
Why do we check PropertyChanged event for null value when implementing iNotifyPropertyChanged? | [
"672638"
] |
Anonymous methods vs. lambda expression | [
"208381"
] |
Casting string to enum | [
"16100",
"46999654"
] |
Value Types, Immutability (Good) & Mutability (Evil) in .NET | [
"441309"
] |
Long path with ellipsis in the middle | [
"8360360"
] |
Reflection: How to get a generic method? | [
"32891413",
"232535",
"16793385",
"3631547"
] |
How can I convert string value to object property name | [
"13766198"
] |
C# checking Internet connection | [
"2031824"
] |
Casting: (NewType) vs. Object as NewType | [
"496096",
"8970755",
"1193317",
"3475737",
"3724051",
"2139798",
"2336664",
"8361881",
"3567866",
"132445"
] |
why math.Ceiling (double a) not return int directly? | [
"3481696"
] |
How to group by on multiple columns from datatable with linq? | [
"847066"
] |
Generate a sequence of numbers | [
"4588787"
] |
iterating on enum type | [
"105372"
] |
Why is the result of adding two null strings not null? | [
"10814282",
"21812742"
] |
What is the equivalent syntax in C#, if any? | [
"481725"
] |
How to convert List<T> to HashSet<T> in C#? | [
"4156626"
] |
Postfix ! (exclamation) operator in C# | [
"54724304",
"59230542",
"64179416"
] |
Divide by zero and no error? | [
"38576361",
"4609698",
"60933044"
] |
Detecting arrows keys in winforms | [
"1646998"
] |
How can i have two methods with same name in WCF? | [
"10276124"
] |
Conditional serialization/deserialization of object properties with json.net | [
"31731320"
] |
Randomly shuffle a List | [
"273313",
"5383498",
"9557883"
] |
Convert object to JSON string in C# | [
"6201529"
] |
Is this "move declaration closer to usage" really preferable? | [
"8535846"
] |
ConfigurationSettings.AppSettings is obsolete | [
"1274852"
] |
Force implementation of default constructor | [
"619856"
] |
How to get null instead of the KeyNotFoundException accessing Dictionary value by key? | [
"538729",
"14352074"
] |
Adding a dictionary to another | [
"294138"
] |
How to check if another instance of the application is running | [
"94274",
"19147"
] |
Supporting both covariance and contravariance for a single type parameter | [
"4528186"
] |
Number of days between two dates | [
"1607336"
] |
Linq, lambda and @ | [
"91817",
"1038674"
] |
Exception thrown in catch and finally. CLR behavior vs. try-catch block | [
"1555567"
] |
What is the difference between .Equals and == | [
"6324629",
"3885753",
"814878",
"52017439"
] |
Why not make everything 'virtual'? | [
"814934"
] |
string.replace vs StringBuilder.replace for memory | [
"6524528"
] |
Why is it not possible to declare a constant of type System.Drawing.Color? | [
"4590796"
] |
how to get the default value of a type if the type is only known as System.Type? | [
"325426",
"2490244",
"3009453"
] |
var in class gives error | [
"1929492"
] |
Convert Java to C# with a tool, or manually? | [
"443010"
] |
Difference between Buffer & Stream in C# | [
"1439798"
] |
The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security | [
"9564420"
] |
Yield return and exception handling | [
"30176121",
"63619707"
] |
Why does the .Net Dictionary look like it is sorted? | [
"154307",
"6384710"
] |
decimal vs double! - Which one should I use and when? | [
"55920901",
"41926022",
"803225",
"753948",
"6341855"
] |
Why private members of a class instance are getting available in Equals() method body? | [
"6983553",
"5244997"
] |
Is sa1200 All using directives must be placed inside the namespace (StyleCop) purely cosmetic? | [
"125319"
] |
How to get return value of tasks when using Task.WaitAll() | [
"25319484"
] |