Properties in C# is a faster mechanism of reading and updating the private data. Properties generally considered as faster compared to methods . This is because for every instance method an entry will be created in the method table. Usually for CLR searching in method table is cumbersome and time consuming , hence Properties are faster.
GuideLine: See the article in msdn
GuideLine: See the article in msdn
http://msdn.microsoft.com/en-us/library/bzwdh01d(VS.71).aspx
No comments:
Post a Comment