
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 10744 Articles

AmitDiwan
65 Views
The Double.IsNegativeInfinity() method in C# is used to return a value indicating whether the specified number evaluates to negative infinity.SyntaxThe syntax is as follows −public static bool IsNegativeInfinity (double val);Above, val is a double-precision floating-point number.ExampleLet us now see an example − Live Demousing System; public class Demo { public ... Read More

AmitDiwan
84 Views
The Boolean.GetTypeCode() method in C# is used to return the type code for the Boolean value type.SyntaxThe syntax is as follows −public TypeCode GetTypeCode ();ExampleLet us now see an example − Live Demousing System; public class Demo { public static void Main(String[] args){ string str = "JackSparrow!"; ... Read More

AmitDiwan
147 Views
The StringBuilder.EnsureCapacity() method in C# is used to ensure that the capacity of this instance of StringBuilder is at least the specified value.SyntaxThe syntax is as follows −public int EnsureCapacity (int capacity);Above, the parameter capacity is the minimum capacity to ensure.ExampleLet us now see an example − Live Demousing System; using ... Read More

AmitDiwan
510 Views
The Int64.ToString() method in C# is used to convert the numeric value of this instance to its equivalent string representation.SyntaxThe syntax is as follows −public override string ToString (); public string ToString (string format);Above, the parameter format is a numeric format string.ExampleLet us now see an example − Live Demousing System; ... Read More

AmitDiwan
337 Views
The Random.NextBytes() method in C# is used to fill the elements of a specified array of bytes with random numbers.SyntaxThe syntax is as follows −public virtual void NextBytes (byte[] buffer);Above the buffer is the array of bytes.ExampleLet us now see an example − Live Demousing System; public class Demo { ... Read More

AmitDiwan
134 Views
The Queue.GetEnumerator() method in C# is used to return an enumerator that iterates through the Queue.SyntaxThe syntax is as follows:public virtual System.Collections.IEnumerator GetEnumerator ();ExampleLet us now see an example − Live Demousing System; using System.Collections; public class Demo { public static void Main(){ Queue queue = new ... Read More

AmitDiwan
133 Views
The Single.IsInfinity() method in C# is used to return a value indicating whether the specified number evaluates to negative or positive infinity.SyntaxThe syntax is as follows −public static bool IsInfinity (float val);Above, val is a single-precision floating-point number.ExampleLet us now see an example − Live Demousing System; public class Demo { ... Read More

AmitDiwan
2K+ Views
The Int 64 struct represents a 64-bit signed integer. It is an immutable value type representing signed integers with values: negative 9, 223, 372, 036, 854, 775, 808 through positive 9, 223, 372, 036, 854, 775, 807.Following are the fields of Int 64 −FieldDescriptionMaxValueRepresents the largest possible value of an ... Read More

AmitDiwan
921 Views
The Random.NextDouble() method in C# is used to return a random floating-point number that is greater than or equal to 0.0, and less than 1.0.SyntaxThe syntax is as follows −public virtual double NextDouble ();ExampleLet us now see an example − Live Demousing System; public class Demo { public static void ... Read More

AmitDiwan
130 Views
The SortedDictionary.Remove() method in C# is used to remove the element with the specified key from the SortedDictionary.OutputThe syntax is as follows −public bool Remove (TKey key);Above, the parameter key is the key of the element to remove.ExampleLet us now see an example − Live Demousing System; using System.Collections; using System.Collections.Generic; ... Read More