blah blah blah is here! blah blah » Close

1
votes
4 answers

Compare a string against several values

foamy
2499

Hi all, this has been bothering me for a while now so I decided to ask. Is it possible, in C# (.NET 3.5) to compare one string against several values? The below code doesn't compile, but can this be done? [code] string s = Consol ...

Feedback