A
Ashish
This is just a thought, may be its not possible , but is it possible to
use generics in method declarations as return type arguments..
for example
public <T> Load(T value)
{
//method body
}
this would specify that the type passed would be type returned...
so at compile time, the compiler would do a static type checking to see
if there are compilation issues...
for exampple
Address addr = DataStore.Load(typeof(Address));
use generics in method declarations as return type arguments..
for example
public <T> Load(T value)
{
//method body
}
this would specify that the type passed would be type returned...
so at compile time, the compiler would do a static type checking to see
if there are compilation issues...
for exampple
Address addr = DataStore.Load(typeof(Address));