I thought Math is not a static class? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I thought Math is not a static class?

on the static class lesson they had Math as am example for static class. While it does contain many static methods and variables, it is not a static class, is it? UPDATE: Thanks! it is a static class. Maybe I read some outdated material

14th Jul 2016, 12:17 PM
Hans Xu
Hans Xu - avatar
2 Answers
+ 2
system.math is a static class. http://referencesource.microsoft.com/#mscorlib/system/math.cs,a4407e67b9a5afad
14th Jul 2016, 4:35 PM
Aaron Olds
Aaron Olds - avatar
- 1
I don't actually know right now, but I see no reason why it shouldn't be
14th Jul 2016, 2:10 PM
LetSPlaYRagE23
LetSPlaYRagE23 - avatar