try
try copied to clipboard
Sample Code on page 2 of tutorial should be swapped with page 3 of tutorial
This page: https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/exploration/interpolated-strings?tutorial-step=2 has this code sample : Console.WriteLine($"On {date}, the price of {item.Name} was {item.Price:C2} per {item.perPackage} items.");
That sample should be on page 3 of the Tutorial, while the code on page 3 should be on page 2. i.e. Console.WriteLine($"On {date:d}, the price of {item.Name} was {item.Price} per {item.perPackage} items"); is the "ugly" version.
What kind of error was it?
- [ ] User Interface (UI): For example the output never displayed
- [ ] Service Error: For example "The service is temporarily unavailable. We are working on it"
- [X ] Other: typo.