I want to restrict the possible types N can take-on using a constraint. I wish to restrict N to be either a int or a decimal.
public static Chart PopulateIn
The closet you can get is Where T: struct, IComparable, IFormattable, IConvertible. All value types implements these interfaces.