Tuesday, April 3, 2012

Use of Template and where in C#

public abstract class BaseDA where T : BaseEntity
{

}

where T:BaseEntity defines it should be of type BaseEntity only otherwise it would give runtime exceptions

No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog