Monday, July 28, 2014

Overloading Members ?

Hi irw,


I think it's a got thing to get a compiler-error for that. The Method you could use for example in an Action-Delegate without brackets. Now you've some ambiguity, it's not totally clear to the reader if the property or the method is used.


But from point of the Intermediate Language you're right, as Properties are translated into setXXX and getXXX-Methods, and so the Overload should be fine.




Thomas Claudius Huber



"If you can't make your app run faster, make it at least look & feel extremly fast"



My latest Pluralsight-course: Windows Store Apps - Data Binding in Depth



twitter: @thomasclaudiush

homepage: http://ift.tt/1fArvuE

author of: ultimate Windows Store Apps handbook | ultimate WPF handbook | ultimate Silverlight handbook


No comments:

Post a Comment