tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code06:52

C# string methods 🔤

Bro Code ↗

From the creator

C# string methods tutorial example explained #C# #string #methods using System; namespace MyFirstProgram { class Program { static void Main(string[] args) { String fullName = "Bro Code"; String phoneNumber = "123-456-7890"; //fullName = fullName.ToUpper(); //fullName = fullName.ToLower(); //Console.WriteLine(fullName); //phoneNumber = phoneNumber.Replace("-",""); //Console.WriteLine(phoneNumber); //String userName = fullName.Insert(0,"Mr."); //Console.WriteLine(userName); //Console.WriteLine(fullName.Length); String firstName = fullName.Substring(0, 3); String lastName = fullName.Substring(4, 4); Console.WriteLine(firstName); Console.WriteLine(lastName); Console.ReadKey(); } } }

Published 2021-07-03 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code