Mega Code Archive

 
Categories / C# Tutorial / Development
 

Math defines several standard mathematical operations

All of the methods defined by Math are static. All angles are in radians. Math also defines these two fields: public const double E public const double PI E is the value of the natural logarithm base, commonly referred to as e. PI is the value of pi. The Math class is sealed and it cannot be inherited.