Solved

really simple question

Posted on 2003-10-26
2
209 Views
Last Modified: 2010-04-16
Is there a way to combine these two lines so that the user imput is automaticly put into the variable as lowercase without adding the second line?

smallString = Console.ReadLine();
smallString = smallString.ToLower();
0
Comment
Question by:chilled2003
2 Comments
 
LVL 2

Accepted Solution

by:
smitty22 earned 50 total points
ID: 9623854
smallString = Console.ReadLine().ToLower();
0
 

Author Comment

by:chilled2003
ID: 9623870
Cool, Thanks :)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.NET (2008) - Refactoring Question 2 24
MediaHelp 4 26
.NET 2008 VB and C# 6 39
Why do I get the message "Message has been thrown by target of an invocation"? 22 53
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question