I\'m just learning about generics and have a question regarding method return values.
Say, I want a generic method in the sense that the required generic part of the
You could do something like ...
public TResult Parse(string parameter) { /* do stuff */ }
And use it like ...
int result = Parse("111");
And then it will depend on your implementation in the Parse method.
Hope it helps.