Topics

Csharp Char

About this topic: Articles tagged __TAG__

Showing 6 articles

Topics

Articles

Showing 6 articles

How-tos How to Remove a Character From a String in C# There are 4 main methods that can be used to remove a character from a string in C#, the string.Replace() function, the string.Join() and string.Split() functions, the … How-tos How to Get the First Character of a String in C# There are several methods that can be used to get the first character of a string variable in C#. How-tos How to Count Occurrences of a Character Inside a String in C# There are 3 main methods that can be used to calculate the number of occurrences of a character inside a string variable in C#, the linq method, the String.Split() function and the … How-tos How to Convert a Char to an Int in C# This how-to article shows different methods to convert a char to an int in C#. It introduces methods like GetNumericValue(), Difference with 0, Int32.Parse() and … How-tos How to Get ASCII Value of Character in C# We will explore the 2 main methods that can get the ASCII values of all the characters in a string in C#, the typecasting method and the byte[] method. How-tos How to Convert Char to Int in C# This article tackles about the different methods in C# to convert char datatype to int datatype.

← All topics