Hi Everyone,
Below are the few questions in which i found difficulty :-
Q.1) Program in which we apply partial in interface?
Q.2) Why foreach loops are preffered over for loops?
Q.3) why "public static" is necessary in operator overloading?
Q.4) why interface support multiple inheritance whereas classes are
not ? Cant we do explicit implementation in classes?
Thanks and Regards
Loading
VulpesPosted Oct 20, 2012, 7:19 PM
If you're not satisfied with my other answers, then you'll need to indicate why not.
Regarding #3 and #4, these are design decisions made by the C# or .NET design teams and, unless something was said at the time or in the language specification, then one can only guess why things are done the way they are.
Rushal AroraPosted Oct 20, 2012, 2:36 PM
can u please tell me the scenario for 1st question and for rest of the questions i am not satisfied please give me some more details. Please dont get disheartened by such reply.
VulpesPosted Oct 20, 2012, 1:54 PM
http://www.artima.com/intv/dotnetP.html