Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

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.XmlAttributeAttribute()]

Thanks.
Avatar of HainKurt
HainKurt
Flag of Canada image

Default = f.@default == "yes"

-->

Default = (f.@default == "yes")

-->

if (f.@default == "yes") then Default = true else Default=false
Avatar of curiouswebster

ASKER

Yes, I understand C#.

I was asking about the @ in front of default.
SOLUTION
Avatar of Bill Nolan
Bill Nolan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks. I now remember I used to know that :)