Hi
Im having trouble understanding the following code:-
public new ViewStateProviderBase this[string name]
{
get { return base[name] as ViewStateProviderBase; }
}
Please could I get an explanation of each part, especially the this after the method name and the [string name].
Ive not come across a method wrote this way, how is it invoked?
Thanks
Steven
Method explanation
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Mar 28, 2012, 6:05 AM EDT