csharp generic return type in interface
Code Example - csharp generic return type in interface
public interface IExample
{
int GetInteger();
T GetAnything<T>();
}
convert generic to type csharp
(SomeClass)Convert.ChangeType(T, typeof(SomeClass));
csharp generic type converter
yes to f
generic interface csharp
public interface IWhatever<T>
{
T Anything();
}