- Joined
- 2/21/10
- Messages
- 50
- Points
- 18
Hello everybody!
Please explain me one issue in C#
If i have a method that takes 2 parameters X and Y and both can be either int type or double type at the same time or either int and either double.
Do I have to define the method in all the combination to get a full protection that the correct arguments are passed?
Thank you
Please explain me one issue in C#
If i have a method that takes 2 parameters X and Y and both can be either int type or double type at the same time or either int and either double.
Do I have to define the method in all the combination to get a full protection that the correct arguments are passed?
Thank you