DoUNo: Operator overloading in Size and Point

You can add two Size or Point members directly using the + key. Did you know that ?? You can even do -, == and != on these memebers. You cannot do * or / on them thou’. If  you find anyother class / struct in C# that enables operator overloading, you can add it to the above it. Hope you find this useful.

Tags: , , ,

Leave a comment