J
Julia
Hi
I have class named Property:
enum PropertyType
{
text,
numeric
}
class Property
{
string stringValue;
long numericValue;
PropertyType type;
}
and a collection of properties,in the example the collection hold two
properties
a Url which is string type,and Size which is long type
I would like to be able to do something like the following
string Value1=Properties["Url"].value //this should return a string type
value
long Value2=Properties["Size"].value //this should return a long type
value
can't it be done?
thanks.
I have class named Property:
enum PropertyType
{
text,
numeric
}
class Property
{
string stringValue;
long numericValue;
PropertyType type;
}
and a collection of properties,in the example the collection hold two
properties
a Url which is string type,and Size which is long type
I would like to be able to do something like the following
string Value1=Properties["Url"].value //this should return a string type
value
long Value2=Properties["Size"].value //this should return a long type
value
can't it be done?
thanks.