How to make Console.readeline() non-case-sensitive

Nov 12, 2011 at 9:46 PM

How do I make it non-case-sensitive?

Coordinator
Nov 12, 2011 at 9:51 PM
> How do I make it non-case-sensitive?

Your question at worst doesn't make sense, and at best is a C# question
not a Cosmos one.
Nov 12, 2011 at 10:00 PM

Yeah, but everything I've found on Google so far is useless, and Cosmos is a C# based OS. So, how do I make it so that when I type help or hElp or HElP, etc. it will do the same thing. I know u can use ToUpper, but I don't know the correct syntax (Im still learning). Could u give an example please?

Developer
Nov 12, 2011 at 11:16 PM

try using string.ToLower()?  It makes everything lowercase.  That should help you.

Coordinator
Nov 12, 2011 at 11:20 PM
> Yeah, but everything I've found on Google so far is useless, and Cosmos
> is a C# based OS. So, how do I make it so that when I type help or hElp
> or HElP, etc. it will do the same thing. I know u can use ToUpper, but I
> don't know the correct syntax (Im still learning). Could u give an
> example please?

C# runs on Windows, but that doesnt meant its appropriate to ask on
Windows forums. Please keep this list for Cosmos specific questions.

We all started somewhere but your C# question is a very beginning
question. Please use the more appropriate C# forums for C# questions.