- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Char.ConvertFromUtf32(Int32) Method in C#
The Char.ConvertFromUtf32(Int32) method in C# is used to converts the specified Unicode code point into a UTF-16 encoded string.
Syntax
Following is the syntax −
public static string ConvertFromUtf32 (int utf32);
Above, the parameter utf32 is a 21-bit Unicode code point.
Example
Let us now see an example to implement the Char.ConvertFromUtf32(Int32) method −
using System; public class Demo { public static void Main(){ int utf = 0x0051; string str = Char.ConvertFromUtf32(utf); Console.WriteLine("Value = "+str); } }
Output
This will produce the following output −
Value = Q
Example
Let us now see another example −
using System; public class Demo { public static void Main(){ int utf = 0x0046; string str = Char.ConvertFromUtf32(utf); Console.WriteLine("Value = "+str); } }
Output
This will produce the following output −
Value = F
- Related Articles
- Array.BinarySearch(Array, Int32, Int32, Object) Method with examples in C#
- Char.IsControl(String, Int32) Method in C#
- Char.ConvertToUtf32(String, Int32) Method in C#
- Char.IsLowSurrogate(String, Int32) Method in C#
- Char.IsSurrogate(String, Int32) Method in C#
- Char.IsSurrogatePair(String, Int32) Method in C#
- Char.IsHighSurrogate(String, Int32) Method in C#
- Int32.GetTypeCode Method in C# with Examples
- Int32.CompareTo Method in C# with Examples
- Int32. Equals Method in C# with Examples
- Int32.GetHashCode Method in C# with Examples
- Char.GetUnicodeCategory(String, Int32) Method with Examples in C#
- C# Int32 Struct
- Represent Int32 as a String in C#
- Int32.MaxValue Field in C# with Examples

Advertisements