CarData1.Malaysia = bool.Parse(radioMalaysia.Checked.ToString()); // this is your bool //this is your string converter
Description
- above coding i use for “RadioButton” toolbox.
- “bool” coding use for several toolbox such as “RadioButton” and “CheckBox”.
- this coding also can be use for this error ” Cannot Impicitly type ‘string’ to ‘bool’ “.
- this coding mostly use during writing Open and Save button.
It’s hard to find knowledgeable people for this subject,
however, you seem like you know what you’re talking about!
Thanks
Incredible points. Sound arguments. Keep up the good spirit.