vb.net - Is it OK to return as object when using generics? -


i'm trying grasp on generics , interfaces. there performance implications accepting generic , returning object?

public interface interface1     sub load(reader sqldatareader) end interface  public interface interface2         function insert(of t)(byval record t) object               end interface 

the object returned need access load() method.


Popular posts from this blog