Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
C# string methods ๐Ÿ”ค
Play lesson

C# tutorial for beginners ๐ŸŽต - C# string methods ๐Ÿ”ค

5.0 (6)
48 learners

What you'll learn

This course includes

  • 4 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

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(); } } }

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere