Tour
About Us
Meta
Loading…
current community
Stack Exchange
chat
Meta Stack Exchange
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Log in
Stack Exchange
All Sites
Top Users
Digests
Matthew Watson
Edinburgh, United Kingdom
top
accounts
reputation
activity
subscriptions
Top Questions
116
votes
Why does this code give a "Possible null reference return" compiler warning?
c#
nullablereferencetypes
asked Dec 12, 2019 at 14:27
stackoverflow.com
64
votes
Why does Enumerable.Single() iterate all elements, even when more than one item has already been found?
c#
linq
.net-4.0
asked Oct 29, 2018 at 9:51
stackoverflow.com
43
votes
How do you enable "Dynamic Content" for the Start Page?
visual-studio-2013
asked Oct 8, 2013 at 14:07
stackoverflow.com
28
votes
Do not declare interfaces for immutable objects
c#
immutability
asked Mar 6, 2013 at 11:50
softwareengineering.stackexchange.com
26
votes
Why is the error handling for IEnumerator.Current different from IEnumerator<T>.Current?
c#
ienumerable
asked Jun 15, 2015 at 8:41
stackoverflow.com
25
votes
Why does LayoutKind.Sequential work differently if a struct contains a DateTime field?
c#
datetime
marshalling
structlayout
asked Nov 9, 2010 at 10:14
stackoverflow.com
20
votes
Why does "Func<bool> test = value ? F: F" not compile?
c#
asked May 16, 2011 at 10:01
stackoverflow.com
20
votes
Using Microsoft.Bcl.Async with Code Analysis causes errors
c#
code-analysis
fxcop
bcl
asked Jun 25, 2013 at 13:10
stackoverflow.com
18
votes
Windows API seems much faster than BinaryWriter - is my test correct?
c#
optimization
filestream
asked Apr 30, 2013 at 11:30
stackoverflow.com
17
votes
Is it possible to use the C#11 'required' modifier with .NET Framework 4.8 and .Net Standard 2.0?
c#
.net
asked Nov 15, 2022 at 14:42
stackoverflow.com
1
2
3
4
5
next
Top Answers
271
Converting string to float in C#
stackoverflow.com
96
&& operator behaves like || operator
stackoverflow.com
96
How to include other files to the output directory in C# upon build?
stackoverflow.com
86
Why are HashSets of structs with nullable values incredibly slow?
stackoverflow.com
78
How to return named tuples in C#?
stackoverflow.com
65
How to handle Task.Run Exception
stackoverflow.com
60
Why is the checkbox 'Prefer 32-bit' disabled in Visual Studio 2012?
stackoverflow.com
59
Is Thread.Sleep(1) special?
stackoverflow.com
52
What exception to throw on invalid object state?
stackoverflow.com
51
Difference between ToCharArray and ToArray
stackoverflow.com
49
Visual Studio: Using external files (without copying them)
stackoverflow.com
41
File.ReadAllLines or Stream Reader
stackoverflow.com
38
C# Generic Interface and Factory Pattern
stackoverflow.com
37
How do I pass a const char* to a C function from C#?
stackoverflow.com
37
Fastest way to search in a string collection
stackoverflow.com
36
How to create a Guid with all zero elements?
stackoverflow.com
36
For vs. Linq - Performance vs. Future
stackoverflow.com
34
How can I split an IEnumerable<String> into groups of IEnumerable<string>
stackoverflow.com
32
Why do different algorithms of summing not match?
stackoverflow.com
32
When to use IList and when to use List
stackoverflow.com
32
How do I calculate someone's age based on a DateTime type birthday?
stackoverflow.com
31
Convert.FromBase64String() throws "invalid Base-64 string" error
stackoverflow.com
30
How can I run both of these methods 'at the same time' in .NET 4.5?
stackoverflow.com
30
How to read file (Metro/WinRT)
stackoverflow.com
28
Why is compilation OK, when I use Invoke method, and not OK when I return Func<int,int> directly?
stackoverflow.com
27
C# Bullet list in PARAM section of code documentation
stackoverflow.com
26
how to use async and await in timer
stackoverflow.com
26
Is it possible to use the C#11 'required' modifier with .NET Framework 4.8 and .Net Standard 2.0?
stackoverflow.com
26
How to Check byte array empty or not?
stackoverflow.com
25
string.substring vs string.take
stackoverflow.com
1
2
3
4
5
…
10
next
Stack Exchange works best with JavaScript enabled