Solved

really simple question

Posted on 2003-10-26
2
197 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
Comment Utility
smallString = Console.ReadLine().ToLower();
0
 

Author Comment

by:chilled2003
Comment Utility
Cool, Thanks :)
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Object Oriented Best Practice 5 32
Visual Studio Front End "Web Forms" For SQL Server Tables 5 38
Hide Tab Page 3 18
Create XML 5 30
Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now