![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
137 Views
The Math.Exp() method in C# is used to return e raised to the specified power.Syntaxpublic static double Exp (double val);Here, Val is the power.If Val equals NaN or PositiveInfinity, that value is returned. However, if d equals NegativeInfinity, 0 is returned.Let us now see an example to implement Math.Exp() method ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
2K+ Views
The Math.DivRem() method in C# is used to divide and calculate the quotient of two numbers and also returns the remainder in an output parameter.Syntaxpublic static int DivRem (int dividend, int divisor, out int remainder); public static long DivRem (long dividend, long divisor, long remainder);Let us now see an example ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
276 Views
The Char.IsWhiteSpace() method in C# is used to indicate whether the specified Unicode character is white space.Syntaxpublic static bool IsWhiteSpace (char ch);Above, the parameter ch is the Unicode character to evaluate.Let us now see an example to implement the Char.IsWhiteSpace() method −Exampleusing System; public class Demo { public static ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
2K+ Views
The Dictionary.Clear() method in C# removes all key/value pairs from the Dictionary.Syntaxpublic void Clear();Let us now see an example to implement the Dictionary.Clear() method −Exampleusing System; using System.Collections.Generic; public class Demo { public static void Main(){ Dictionary dict = new Dictionary(); ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
63 Views
The CharEnumerator.Dispose() method in C# is used to release all resources used by the current instance of the CharEnumerator class.Syntaxpublic void Dispose ();Let us now see an example to implement the CharEnumerator.Dispose() method −Exampleusing System; public class Demo { public static void Main(){ string strNum = ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
42 Views
The CharEnumerator.Clone() method in C# is used to create a copy of the current CharEnumerator object.Syntaxpublic object Clone();Let us now see an example to implement the CharEnumerator.Clone() method −Exampleusing System; public class Demo { public static void Main(){ string strNum = "356"; CharEnumerator ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
258 Views
The Array.Clear() method in C# is used to clear the elements in an array and set them to its default. The elements are cleared in a range. The syntax is as follows −Syntaxpublic static void Clear (Array arr, int index, int len);Here, arr is the array whose elements are to ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
147 Views
The Array.AsReadOnly(T[]) method in C# returns a read-only wrapper for the specified array, which is the read-only ReadOnlyCollection.Syntaxpublic static System.Collections.ObjectModel.ReadOnlyCollection AsReadOnly (T[] array);Here, T is the type of the elements of the array, whereas array T[] is the one-dimensional zero-based array.Let us now see an example to implement the Array.AsReadOnly(T[]) ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
1K+ Views
The Char.IsUpper() method in C# indicates whether the specified Unicode character is categorized as an uppercase letter.Syntaxpublic static bool IsUpper (char ch);Above, the parameter ch is the Unicode character to evaluate.Let us now see an example to implement the Char.IsUpper() method −Exampleusing System; public class Demo { public static ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
297 Views
The Char.IsSymbol() method in C# is indicating whether the character at the specified position in a specified string is categorized as a symbol character.Syntaxpublic static bool IsSymbol (string str, int index);Above, str is a string, whereas the position of the character to evaluate in str.Let us now see an example ... Read More