C# C# Basics 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
Keegan Usher
Pro Student 22,388 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.