Skip to content

Add introduction to creating data types #22671

Open
@BillWagner

Description

@BillWagner

Now, with C# 9, there are a number of different ways to create data types in C#:

  • tuples
  • records
  • anonymous types
  • classes
  • structs

Tuples and records, in particular, are great concepts for beginners to learn to build data structures. They both should be introduced before classes.

Open question: Should structs and interfaces be part of this series, or in the fundamentals section?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 400547

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions