Datatype Question

twistedm1nd

Active member
Joined
Feb 1, 2005
Messages
30
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?

Im using .NET framework v2 beta.
Thanks
 
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");
 
Back
Top