Category: ASP.Net Tutorials

ASP.Net tutorials with C# language.

String Functions in C#

String Functions in C# In this C#.net post, We will learn some string functions of C# with the help of example. There are a lot…

Continue Reading String Functions in C#

String Trim() Method in C#

String Trim() Method in C# Trim() – The C# Trim() method is used to remove extra whitespace from beginning and ending of string. C# Example…

Continue Reading String Trim() Method in C#

String SubString() Method in C#

String SubString() Method in C# SubString() – The C# SubString() method is used to return a part of string from given string. In this method…

Continue Reading String SubString() Method in C#

String Split() Method in C#

String Split() Method in C# Split() – The C# Split method used to splits a string an array of given string based on the specified…

Continue Reading String Split() Method in C#

String Replace() Method in C#

String Replace() Method in C# Replace() – The C# Replace() method used to replace the character from given string. It returns a new string with…

Continue Reading String Replace() Method in C#

String Equal() Method in C#

String Equals() Method in C# Equals() – The C# Equals() method used to check if the given two strings are same or not. The Equals()…

Continue Reading String Equal() Method in C#

String ToUpper() and ToLower() Method in C#

String ToUpper() and ToLower() Method in C# ToUpper() – The C# ToUpper() string method used to convert string alphabets values to Uppercase alphabets values. ToLower()…

Continue Reading String ToUpper() and ToLower() Method in C#

String StartsWith and EndsWith in C# – String Method C#

String StartsWith() and EndsWith() Method in C# StratsWith() – The C# StartsWith() string method check if the parameter string start with specified string. EndsWith() –…

Continue Reading String StartsWith and EndsWith in C# – String Method C#

String Compare() Method in C#

String Compare Method in C# Compare() – The C# Compare method compare two strings and returns integer value as output. It returns 0 for true…

Continue Reading String Compare() Method in C#

String Contains() Method in C#

String Contains() Method in C# Contains() – The C# Contains method checks whether specified character or string is present inside a given string or not….

Continue Reading String Contains() Method in C#

String Length in C# – String Functions C#

String Length Function in C# Length  – The C# String Length property used to get the length  of string. The string Length property used to…

Continue Reading String Length in C# – String Functions C#

C# Do-While Loop

C# do-while loop  C# do-while loop always execute block of code at least once, then check condition and repeat the loop as long as the…

Continue Reading C# Do-While Loop