In C# a struct is a bit like a class, but most of the time used for little items you might have. A struct is also a value type, while a class is a reference type. Now .NET is poorly equipped with math features. As I wanted to play around with complex numbers(yes I know I'm a wierd guy:icon_eek: ) I searched the web. Found lots of things, but one was missing this, the other was missing that, different naming conventions were used for the same thing, so I decided(just for fun:icon_eek: ) to write my own. Now the most implementations out there use a struct to implement a complex number.
So I did too.
But as I'm writing and testing my struct, I'm over 60 methods and properties for the moment and growing. (Among others I still have to implement the complex inverse trigonometric hyperbolic functions;) )
My question is: Should I not change my struct, which seems to become bigger and bigger to a class?
In other words, should I struct or should I Clash?