
- C# Basic Tutorial
- C# - Home
- C# - Overview
- C# - Environment
- C# - Program Structure
- C# - Basic Syntax
- C# - Data Types
- C# - Type Conversion
- C# - Variables
- C# - Constants
- C# - Operators
- C# - Decision Making
- C# - Loops
- C# - Encapsulation
- C# - Methods
- C# - Nullables
- C# - Arrays
- C# - Strings
- C# - Structure
- C# - Enums
- C# - Classes
- C# - Inheritance
- C# - Polymorphism
- C# - Operator Overloading
- C# - Interfaces
- C# - Namespaces
- C# - Preprocessor Directives
- C# - Regular Expressions
- C# - Exception Handling
- C# - File I/O
- C# Advanced Tutorial
- C# - Attributes
- C# - Reflection
- C# - Properties
- C# - Indexers
- C# - Delegates
- C# - Events
- C# - Collections
- C# - Generics
- C# - Anonymous Methods
- C# - Unsafe Codes
- C# - Multithreading
- C# Useful Resources
- C# - Questions and Answers
- C# - Quick Guide
- C# - Useful Resources
- C# - Discussion
How to convert Upper case to Lower Case using C#?
To convert Upper case to Lower case, use the ToLower() method in C#.
Let’s say your string is −
str = "TIM";
To convert the above uppercase string in lowercase, use the ToLower() method −
Console.WriteLine("Converted to LowerCase : {0}", str.ToLower());
The following is the code in C# to convert character case −
Example
using System; using System.Collections.Generic; using System.Text; namespace Demo { class MyApplication { static void Main(string[] args) { string str; str = "TIM"; Console.WriteLine("UpperCase : {0}", str); // convert to lowercase Console.WriteLine("Converted to LowerCase : {0}", str.ToLower()); Console.ReadLine(); } } }
- Related Articles
- How to convert Lower case to Upper Case using C#?
- MySQL Query to change lower case to upper case?
- C program to convert upper case to lower and vice versa by using string concepts
- Convert mixed case string to lower case in JavaScript
- How to convert a string into upper case using JavaScript?
- How to convert a string into the lower case using JavaScript?
- Convert a C++ String to Upper Case
- Python program to count upper and lower case characters without using inbuilt functions
- Python regex to find sequences of one upper case letter followed by lower case letters
- How to convert std::string to lower case in C++?
- How to change the case to UPPER/lower/Proper in an Excel Sheet?
- Convert vowels from upper to lower or lower to upper using C program
- Java Program to check whether the entered character a digit, white space, lower case or upper case character
- Count upper and lower case characters without using inbuilt functions in Python program
- Java program to count upper and lower case characters in a given string

Advertisements