S
Søren M. Olesen
Hi
Can someone tell me how to implement something similar to String.Empty ??
Given a class called myValue
Public class myValue
private id as integer
private value as string
end class
how do I make it possible to write something like:
dim val as myValue
if val=myValue.Empty then
....
end if
where the expression evaluated equal to:
if val.id=-1 then
....
end if
TIA
Søren
Can someone tell me how to implement something similar to String.Empty ??
Given a class called myValue
Public class myValue
private id as integer
private value as string
end class
how do I make it possible to write something like:
dim val as myValue
if val=myValue.Empty then
....
end if
where the expression evaluated equal to:
if val.id=-1 then
....
end if
TIA
Søren