C# C# Basics (Retired) Perfect Integers and Doubles

A system.double is the full name of the double? To be sure is system a namespace in this context or something different?

.

1 Answer

Keegan Usher
PRO
Keegan Usher
Pro Student 26,222 Points

Yes, System is a namespace but double is something different. Double is not a class but a struct. Here is a link for more details on Structs. https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/using-structs

Hope this helps.