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.
174 Topics
active
popular
Getting started with C# Language
Introduction Topic
186
Creating a new console application (Visual Studio)
78
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
Oct 25 at 15:12
+3
C# 6.0 Features
6.0
574
Exception filters
363
String interpolation
11 more examples
1 improvement request
0 proposed changes
edited
yesterday
+142
C# 7.0 Features
7.0
197
Language support for Tuples
91
Local functions
7 more examples
0 improvement requests
0 proposed changes
edited
Nov 30 at 23:34
+51
Extension Methods
3.0–7.0
170
Extension methods - overview
121
Null checking
17 more examples
0 improvement requests
0 proposed changes
edited
Nov 15 at 13:52
+110
Keywords
All Versions
62
as
36
goto
64 more examples
0 improvement requests
0 proposed changes
edited
Nov 20 at 19:14
+134
LINQ Queries
3.0–7.0
60
Chaining methods
45
First, FirstOrDefault, Last, LastOrDefault, Single, and SingleOrDefault
46 more examples
0 improvement requests
0 proposed changes
edited
Dec 1 at 6:14
+101
Using Statement
All Versions
46
Gotcha: returning the resource which you are disposing
33
Cleaner Dispose Syntax
6 more examples
0 improvement requests
0 proposed changes
edited
Oct 11 at 0:02
+44
Exception Handling
All Versions
42
Re-throwing an exception
15
Creating Custom Exceptions
11 more examples
1 improvement request
0 proposed changes
edited
Nov 29 at 23:38
+34
Operators
All Versions
23
Overloadable Operators
14
Overloading equality operators
21 more examples
0 improvement requests
0 proposed changes
edited
Nov 1 at 14:01
+43
Yield Keyword
2.0–5.0
32
Correctly checking arguments
22
Simple Usage
8 more examples
0 improvement requests
0 proposed changes
edited
Nov 5 at 7:56
+32
Enum
All Versions
20
HasFlag Method to Check for Flags
12
Enum as flags
11 more examples
2 improvement requests
0 proposed changes
edited
Nov 19 at 6:20
+25
Generics
2.0–7.0
19
Implicit type inference (methods)
13
Type inference (classes)
22 more examples
0 improvement requests
0 proposed changes
edited
Nov 22 at 14:29
+23
Verbatim Strings
All Versions
27
Interpolated Verbatim Strings
17
Escaping Double Quotes and Curly Braces
2 more examples
0 improvement requests
0 proposed changes
edited
Nov 4 at 13:22
+20
Reflection
7.0
15
Get the members of a type
10
Create an instance of a Generic Type
14 more examples
1 improvement request
0 proposed changes
edited
Nov 20 at 8:53
+22
String.Format
All Versions
14
Places where String.Format is 'embedded' in the framework
13
Since C# 6.0
9 more examples
0 improvement requests
0 proposed changes
edited
Nov 6 at 6:04
+25
Arrays
All Versions
13
Declaring an array
11
Initializing an array filled with a repeated non-default value
10 more examples
0 improvement requests
0 proposed changes
edited
Dec 2 at 12:39
+16
Constructors and Finalizers
All Versions
17
Static constructor
9
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
23
Basic usage
11
Null fall-through and chaining
3 more examples
0 improvement requests
0 proposed changes
edited
Oct 24 at 12:50
+24
Behavioral patterns
All Versions
10
Strategy
5
Facade pattern
13 more examples
1 improvement request
0 proposed changes
edited
Nov 22 at 14:35
+29
Null-conditional Operators
6.0–7.0
22
Null-Conditional Operator
9
The Null-Conditional Index
2 more examples
0 improvement requests
0 proposed changes
edited
Oct 31 at 16:13
+9
1
2
3
4
5
…
9
next
Introduction Topic
Getting started with C# Language
Creating a new console application (Visual Studio)
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