Thursday, January 29, 2015

How do I write a proper if statement like so..

Hello,


I am writing this if statement for comparing grades and I have to use A+ as a grade while comparing how can I implement it into and if statement for c#?


i.e.


if ((t2g1.SelectedItem) == A+ || A)


{


Do blah blah blah;


}


Thanks in advance! :)


No comments:

Post a Comment