twistedm1nd Posted September 18, 2005 Posted September 18, 2005 internal struct data { internal DateTime time_stamp; internal double duration_good; internal int count_good; internal int count_bad; internal double value_sum; internal double value_sum2; internal double? value_min; internal DateTime? value_min_timestamp; internal double? value_max; internal DateTime? value_max_timestamp; } The struct works fine when used but What kind of a decleration is DateTime? or double? I'm using .NET framework v2 beta. Thanks Quote
twistedm1nd Posted September 18, 2005 Author Posted September 18, 2005 lol i just discovered nullable types , didnt know they existed. // Nullable Type Example int? x; if (x != null) Console.WriteLine(x.Value); else Console.WriteLine("Undefined"); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.