current community
chat
Stack Overflow
Meta Stack Overflow
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Stack Exchange
Inbox
Reputation and Badges
sign up
log in
tour
help
Tour
Start here for a quick overview of the site
Help Center
Detailed answers to any questions you might have
Meta
Discuss the workings and policies of this site
About Us
Learn more about Stack Overflow the company
Business
Learn more about hiring developers or posting ads with us
Stack Overflow
Questions
Jobs
Documentation
Tags
Users
Badges
Ask Question
C# Language
dashboard
all topics
Popular
Topic
You must
sign up
or
log in
to make a topic request.
173 Topics
active
popular
C# 6.0 Features
6.0–7.0
545
Exception filters
347
String interpolation
11 more examples
1 improvement request
0 proposed changes
edited
yesterday
+136
Extension Methods
3.0–7.0
164
Using an extension method
113
Null checking
18 more examples
1 improvement request
0 proposed changes
edited
Oct 5 at 10:33
+108
C# 7.0 Features
7.0
156
Language support for Tuples
73
Local functions
7 more examples
0 improvement requests
0 proposed changes
edited
Oct 7 at 19:25
+43
LINQ Queries
3.0–7.0
51
Chaining methods
42
First, FirstOrDefault, Last, LastOrDefault, Single, and SingleOrDefault
46 more examples
0 improvement requests
0 proposed changes
edited
Sep 30 at 18:28
+99
Keywords
All Versions
56
as
32
goto
65 more examples
0 improvement requests
0 proposed changes
edited
Sep 30 at 19:52
+130
Compile and run your first C# program
All Versions
148
Creating a new console application
65
Creating a new project in Visual Studio (console application) and Running it in Debug mode
4 more examples
0 improvement requests
0 proposed changes
edited
Jul 25 at 6:37
+2
Using Statement
All Versions
41
Gotcha: returning the resource which you are disposing
32
Cleaner Dispose Syntax
6 more examples
0 improvement requests
0 proposed changes
edited
12 hours ago
+44
Exception Handling
All Versions
39
Re-throwing an exception
14
Creating Custom Exceptions
13 more examples
1 improvement request
0 proposed changes
edited
12 hours ago
+29
Operators
All Versions
19
Overloadable Operators
13
Overloading equality operators
21 more examples
0 improvement requests
0 proposed changes
edited
23 hours ago
+41
Yield Keyword
2.0–7.0
31
Correctly checking arguments
18
Simple Usage
8 more examples
0 improvement requests
0 proposed changes
edited
Oct 7 at 13:57
+30
Enums
All Versions
17
HasFlag Method to Check for Flags
11
Enum as flags
12 more examples
0 improvement requests
0 proposed changes
edited
Sep 14 at 14:47
+24
Generics
2.0–7.0
16
Implicit type inference (methods)
12
Type inference (classes)
22 more examples
0 improvement requests
0 proposed changes
edited
Sep 21 at 10:51
+22
Verbatim Strings
All Versions
25
Interpolated Verbatim Strings
17
Escaping Double Quotes and Curly Braces
2 more examples
0 improvement requests
0 proposed changes
edited
Aug 19 at 12:04
+19
String.Format
1.0
14
Places where String.Format is 'embedded' in the framework
11
Since C# 6.0
9 more examples
0 improvement requests
0 proposed changes
edited
Sep 29 at 6:57
+23
Constructors and Finalizers
All Versions
16
Static constructor
8
Singleton constructor pattern
10 more examples
0 improvement requests
0 proposed changes
edited
Oct 7 at 3:13
+38
Null-Coalescing Operator
2.0–7.0
20
Basic usage
11
Null fall-through and chaining
3 more examples
0 improvement requests
0 proposed changes
edited
yesterday
+23
Arrays
1.2–6.0
12
Declaring an array
7
Initializing an array filled with a repeated non-default value
10 more examples
0 improvement requests
0 proposed changes
edited
Sep 23 at 11:14
+12
Design pattern implementation
All Versions
10
Strategy
5
Facade pattern
14 more examples
0 improvement requests
0 proposed changes
edited
yesterday
+21
Null-conditional Operators
6.0
21
Null-Conditional Operator
9
The Null-Conditional Index
2 more examples
0 improvement requests
0 proposed changes
edited
Sep 21 at 17:35
+8
Reflection
7.0
13
Get the members of a type
7
Create an instance of a Generic Type
14 more examples
1 improvement request
0 proposed changes
edited
Sep 1 at 6:23
+21
1
2
3
4
5
…
9
next
Overview Topic
Compile and run your first C# program
Creating a new console application
Creating a new project in Visual Studio (console application) and Running it in Debug mode
Creating a new program using Mono
Creating a new program using .NET Core
Creating a new query using LinqPad
Creating a new project using Xamarin Studio
Stack Overflow works best with JavaScript enabled