simplify to code initializer rather than ctor #41748
Labels
doc-enhancement
Improve the current content [org][type][category]
dotnet-csharp/svc
fundamentals/subsvc
Pri3
Type of issue
Outdated article
Description
imho the first "public class Taxi" example should be simplified. The existing sample
could be
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/using-constructors
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/programming-guide/classes-and-structs/using-constructors.md
Document Version Independent Id
36d0bf3a-29bf-5162-c700-142b03f9a16c
Article author
@BillWagner
Metadata
The text was updated successfully, but these errors were encountered: