Although you can overload the parameters of a method, you can't overload the return type of a method. In other words, you can't declare two methods with the same name that differ only in their return type. (The compiler is clever, but not that clever.)
John Sharp, Microsoft® Visual C#® 2005 Step by Step
0 Comments :
Post a Comment