Math object doesn't need constructor then Math properties are static properties? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Math object doesn't need constructor then Math properties are static properties?

13th Jul 2016, 4:51 PM
Sergio Zemskov
Sergio Zemskov - avatar
1 Resposta
+ 1
Math is a static class, which means all of its members are also static. Here's some documentation on MSDN: https://msdn.microsoft.com/en-us/library/system.math(v=vs.110).aspx
31st Aug 2016, 6:43 AM
Not Available