markjprice / cs12dotnet8

Repository for the Packt Publishing book titled "C# 12 and .NET 8 - Modern Cross-Platform Development Fundamentals" by Mark J. Price
564 stars 164 forks source link

Problem with code: Revealing the extent of the C# vocabulary. #19

Closed johnml49 closed 6 months ago

johnml49 commented 7 months ago

When I run the code in page 72-73 it returns 0 methods in each category: System.Linq assembly and System.Console assembly. I understand that System.Runtime should return 0. What am I missing? The code ran without error. [C# 12 and .net 8.pdf] (https://github.com/markjprice/cs12dotnet8/files/14077602/C.12.and.net.8.pdf)

Thanks for your help, I am challenged and enjoying the book.

John Lombardo

markjprice commented 7 months ago

Please show your code.

johnml49 commented 7 months ago

Thank you for your reply so quickly. My bad, I typed "O" instead of "0". Console.WriteLine("{0:N0} types It now reports the values correctly. Did I mention that I am enjoying and challenged by the book.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Mark J. Price @.> Sent: Sunday, January 28, 2024 12:55:58 PM To: markjprice/cs12dotnet8 @.> Cc: johnml49 @.>; Author @.> Subject: Re: [markjprice/cs12dotnet8] Problem with code: Revealing the extent of the C# vocabulary. (Issue #19)

Please show your code.

- Reply to this email directly, view it on GitHubhttps://github.com/markjprice/cs12dotnet8/issues/19#issuecomment-1913719343, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFEL245JXV6DE4VBRJFVDUTYQ23N5AVCNFSM6AAAAABCONVB72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTG4YTSMZUGM. You are receiving this because you authored the thread.Message ID: @.***>

markjprice commented 7 months ago

I'm happy to hear that you're enjoying it. Good luck with your projects. 😃