Hi folks,
can you please explain what (Of T) is after function name in following line:
I am using visual basic 2012 .
I understand that this function will extend IEnumerable(Of T) and gets one delegate as parameter, but I could not get what is (Of T) in this declaration
can you please explain what (Of T) is after function name in following line:
Code:
Public Function StdDev(Of T)( source As IEnumerable(Of T), selector As Func(Of T, Decimal)) As Decimal
I understand that this function will extend IEnumerable(Of T) and gets one delegate as parameter, but I could not get what is (Of T) in this declaration
Comment