G
Guest
internal struct ConstantValue
{
internal DateTime EffectiveFrom;
internal DateTime EffectiveThrough;
internal DateTime DateValue;
internal double DoubleValue;
}
internal struct Constant
{
internal ConstantValue[] Value;
internal String Name;
}
From inside a function, when I try to do the following,
i = 0;
constant.Value.EffectiveThrough = new DateTime
(2004,1,1,0,0,0);
I am getting the exception, "object reference not set to
an instance of an object". Please give your valuable
suggestions. Thanks a lot.
{
internal DateTime EffectiveFrom;
internal DateTime EffectiveThrough;
internal DateTime DateValue;
internal double DoubleValue;
}
internal struct Constant
{
internal ConstantValue[] Value;
internal String Name;
}
From inside a function, when I try to do the following,
i = 0;
constant.Value.EffectiveThrough = new DateTime
(2004,1,1,0,0,0);
I am getting the exception, "object reference not set to
an instance of an object". Please give your valuable
suggestions. Thanks a lot.