C# program to perform the string operations
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run ——————————————————————————————————————————— Program to perform the string operations ——————————————————————————————————————————— Length of string is 11 Reverse string is DLROW OLLEH Uppercase string is HELLO WORLD Lowercase string is hello world Strings are not equal HELLO WORLD String is not palindrome Substring - ORLD String replaced - HELLO Programmers IndexOf string - 6 ——————————————————————————————————————————— kodingwindow@kw:~/csharp$
What Next?
C# Arrays
Advertisement