if I have these three classes:
public class PropertyDouble
{
private double _value;
public double Value
{ get; set;}
}
public class PropertyInt
{
private int _value;
public int Value
{ get; set;}
}
public class PropertyFloat
{
private float _value;
public float Value
{ get; set;}
}
Is it possible and how to create a single generic class that I can construct it either: Double, Int or Float?
1 Answer