Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.5K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Mathematical
7.8K+ articles
CSharp-Strings-Programs
9 posts
Recent Articles
Popular Articles
C# Program to Display Date in String
Last Updated: 27 December 2021
System namespace and mscorlib.dll assembly in C# language provide a variety of classes and structures. It also provides DateTime struct using which we can initialize Data ...
read more
C#
Picked
C# Programs
CSharp-Strings-Programs
How to Compare Strings in C#?
Last Updated: 24 January 2022
A string is a collection of characters and is used to store plain text. Unlike C or C++, a string in C# is not terminated with a null character. The maximum size of a stri...
read more
C#
CSharp-string
Picked
CSharp-Strings-Programs
How to Get a Comma Separated String From an Array in C#?
Last Updated: 17 January 2022
Given an array, now our task is to get a comma-separated string from the given array. So we can do this task using String.Join() method. This method concatenates the items...
read more
C#
Picked
C# Programs
CSharp-Arrays-Programs
CSharp-Strings-Programs
C# Program For Counting Lines in a String
Last Updated: 15 November 2021
In C#, a string is a sequence of Unicode characters or an array of characters. The range of Unicode characters will be U+0000 to U+FFFF. A string is the representation of ...
read more
C#
Picked
CSharp-programs
CSharp-Strings-Programs
C# Program to Check Given Strings are Equal or Not Using equal to (==) Operator
Last Updated: 11 November 2021
Given two strings we need to check if they are equal by using the == operator. The == Operator compares the reference identity i.e. whether they are referring to the same ...
read more
C#
Picked
CSharp-programs
CSharp-Strings-Programs
How to Replace a Character with the String in C#?
Last Updated: 03 December 2021
Given a string, now our task is to replace a specified character with the string. This task is performed with the help of Replace() method. This method is used to replace ...
read more
C#
Picked
CSharp-programs
CSharp-Strings-Programs
C# - Different Ways to Find All Substrings in a String
Last Updated: 21 October 2021
Given a string as an input we need to find all the substrings present in the given string.Example:Input:geeksOutput:geeksgeeeekksgeeeekeksgeekeeksgeeksInput:abOutput:ababM...
read more
C#
Picked
CSharp-Strings-Programs
C# Program to Count Number of Vowels and Consonants in a Given String
Last Updated: 07 January 2022
C# is a general-purpose programming language it is used to create mobile apps, desktop apps, websites, and games. As we know that a, e, i, o, u are vowels, and the remaini...
read more
C#
Picked
CSharp-programs
CSharp-Strings-Programs
C# Program to Read a String and Find the Sum of all Digits
Last Updated: 19 October 2021
Given a string, our task is to first read this string from the user then find the sum of all the digits present in the given string.ExamplesInput : abc23d4Output: 9Input :...
read more
C#
Picked
CSharp-programs
CSharp-Strings-Programs
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !