- Get Started This node focuses on the top tasks for those customers that are new to software development, or new to .NET and C#. It focuses on the core skills every C# developer needs to know, regardless of the workload or application they intend to build. It's heavily tilted toward introductory tutorials and beginner concepts. This node should include a link to the
- Tour of the C# language. Include Introduction to the C# language and the .NET framework
- Type system
- Program building blocks
- Features
- Apps you can build with C#
- Source material includes:
- Tour of the C# language. Include Introduction to the C# language and the .NET framework
- [Program structure](https://github.com/dotnet/docs/blob/master/docs/csharp/tour-of-csharp/program
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IEnumerable<string> Sequence() | |
{ | |
yield return "Speak to Me"; | |
yield return "Breathe in the Air"; | |
yield return "On the Run"; | |
yield return "Time"; | |
yield return "The Great Gig in tAccessViolationExceptione Sky"; | |
yield return "Money"; | |
yield return "Us and Them"; | |
yield return "Any Colour You Like"; |
- What's new in C#
- C# 9.0
- C# 8.0
- C# 7.x: Update should include new features in 7.1, 7.2, and 7.3
- Breaking changes in the compiler
- C# Version History
- Relationships between language and framework
- [Version and update considerations](https://github.com/dotnet/docs/b
- The .NET Compiler Platform SDK (Roslyn APIs)
- [Semantic analysis](https://github.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.IO; | |
using System.Threading.Tasks; | |
using System.Collections.Generic; | |
using System.Text; | |
// Consider using the default anchors. | |
// These anchors are of the form "-1723-arrays-and-the-generic-collection-interfaces" |
Important: This is a point-in-time snapshot of background work used to create a formal plan. The updated issues in the docs repo more accurately reflect the plan.
Using this resource:
- Consider the H2s as a good roadmap for where content should go.
- Consider lower level headers inasmuch as they show where existing articles will move over time.
- Articles will be combined and archived to keep the C# guide current.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace symmetry | |
{ | |
public class Person : IEquatable<Person> | |
{ | |
public string FirstName {get;set;} | |
public string LastName {get;set;} | |
public bool Equals(Person other) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
public class Example | |
{ | |
public static async Task<int> Main() | |
{ | |
Console.WriteLine("Calling DoWorkAsync"); | |
var taskResult = DoWorkAsync(-5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Loading PoshGit..." | |
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1") | |
. $env:github_posh_git\profile.example.ps1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Main(string[] args) | |
{ | |
Func<int> foo = () => | |
{ | |
int M1() | |
{ | |
return 19; | |
} | |
return M1() + M2(); |
NewerOlder