curiouswebster
asked on
What dos this syntax mean: Default = f.@default == "yes"
Default is a boolean but I am confused by the @ in front of "default".
Is that just the variable name?
It follows this line:
[System.Xml.Serialization. XmlAttribu teAttribut e()]
Thanks.
Is that just the variable name?
It follows this line:
[System.Xml.Serialization.
Thanks.
ASKER
Yes, I understand C#.
I was asking about the @ in front of default.
I was asking about the @ in front of default.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. I now remember I used to know that :)
-->
Default = (f.@default == "yes")
-->
if (f.@default == "yes") then Default = true else Default=false