When I see SomeText<T> in a programming file, what am I looking at? What's it called when a programmer does that? I'm looking for more info but I don't see any data on it from any of my Googling.
Edit:
Code:
public static TResult SafeInvoke<T, TResult>(this T isi, Func<T, TResult> call) where T : ISynchronizeInvoke
{
if (isi.InvokeRequired) {
IAsyncResult result = isi.BeginInvoke(call, new object[] { isi });
object endResult = isi.EndInvoke(result); return (TResult)endResult;
}
else
return call(isi);
}
For example, in the above C# code, what's going on? Or rather, what terms describe this?
Bookmarks