![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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
AmitDiwan has Published 11365 Articles
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
84 Views
The Char.ToString() method in C# is used to convert the value of this instance to its equivalent string representation.SyntaxFollowing is the syntax −public override string ToString ();ExampleLet us now see an example to implement the Char.ToString() method −using System; public class Demo { public static void Main(){ ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
69 Views
The Char.ToLowerInvariant() method in C# is used to convert the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture.OutputFollowing is the syntax −public static char ToLowerInvariant (char ch);Above, the parameter ch is the Unicode character to convert.ExampleLet us now see an example ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
4K+ Views
The Char.Parse(String) method in C# is used to convert the value of the specified string to its equivalent Unicode character.SyntaxFollowing is the syntax −public static char Parse (string str);Above, the string str is a string that contains a single character or null.ExampleLet us now see an example to implement the ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
72 Views
The Decimal.ToSingle() method in C# is used to convert the value of the specified Decimal to the equivalent single-precision floating-point number.SyntaxFollowing is the syntax −public static float ToSingle (decimal val);Above, Val is the decimal number to convert.ExampleLet us now see an example to implement the Decimal.ToSingle() method −using System; public ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
31 Views
The Decimal.ToSByte() method in C# is used to convert the value of the specified Decimal to the equivalent 8-bit signed integer.SyntaxFollowing is the syntax −public static sbyte ToSByte (decimal val);Above, Val is the decimal number to convert.ExampleLet us now see an example to implement the Decimal.ToSByte() method −using System; public ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
34 Views
The Decimal.ToOACurrency() method in C# is used to convert the specified Decimal value to the equivalent OLE Automation Currency value, which is contained in a 64-bit signed integer.SyntaxFollowing is the syntax −public static long ToOACurrency (decimal val);Above, Val is the decimal number to convert.ExampleLet us now see an example to ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
62 Views
The Type.GetHashCode() method in C# is used to return the hash code for this instance.SyntaxFollowing is the syntax −public override int GetHashCode ();ExampleLet us now see an example to implement the Type.GetHashCode() method −using System; public class Demo { public static void Main(){ string[] arr = ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
242 Views
The Type.GetField() method in C# is used to get a specific field of the current Type.SyntaxFollowing is the syntax −public System.Reflection.FieldInfo GetField (string name); public abstract System.Reflection.FieldInfo GetField (string name, System.Reflection.BindingFlags bindingAttr);Above, the name is the string containing the name of the data field to get. The bindingAttr parameter is ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
213 Views
The Type.GetEnumValues() method in C# returns an array of the values of the constants in the current enumeration type.SyntaxFollowing is the syntax −public virtual Array GetEnumValues ();ExampleLet us now see an example to implement the Type.GetEnumValues() method −using System; public class Demo { enum Vehicle {Car, Bus, Bike, Airplane} ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
46 Views
The Type.GetEnumUnderlyingType() method in C# is used to return the underlying type of the current enumeration type.SyntaxFollowing is the syntax −public virtual Type GetEnumUnderlyingType ();ExampleLet us now see an example to implement the Type.GetEnumUnderlyingType() method −using System; public class Demo { enum Vehicle {Car, Bus, Bike, Airplane} public ... Read More