
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
143 Views
The UInt32.Equals() method in C# returns a value indicating whether this instance is equal to a specified object or UInt32.SyntaxFollowing is the syntax −public override bool Equals (object ob); public bool Equals (uint ob);Above, the parameter ob for the 1st syntax is an object to compare to this instance and ... Read More

AmitDiwan
333 Views
The UInt32.CompareTo() method in C# is used to compare the current instance to a specified object or UInt32 and returns an indication of their relative values.SyntaxFollowing is the syntax −public int CompareTo (object val); public int CompareTo (uint val;Above, the Val for the 1st syntax is an object to compare. ... Read More

AmitDiwan
134 Views
Use the Console.WindowLeft Property to change the WindowLeft of the Console in C#.ExampleLet us now see an example −using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Demo { public static void Main (string[] args) { Console.InputEncoding = Encoding.ASCII; Console.WriteLine("Input Encoding ... Read More

AmitDiwan
143 Views
Use the Console.WindowHeight Property to change the WindowHeight of the Console.ExampleLet us now see an example −using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Demo { public static void Main (string[] args) { Console.InputEncoding = Encoding.ASCII; Console.WriteLine("Input Encoding Scheme = ... Read More

AmitDiwan
409 Views
To change the visibility of the Cursor, use the Console.CursorVisible property.ExampleLet us see an example −using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Demo { public static void Main (string[] args) { Console.BackgroundColor = ConsoleColor. Black; Console.WriteLine("Background color changed = ... Read More

AmitDiwan
73 Views
The MathF.Log10() method in C# is used to return the base 10 logarithm of a specified number.SyntaxFollowing is the syntax −public static float Log10 (float val);Above, Val is the number whose logarithm is to be calculated.ExampleLet us now see an example to implement the MathF.Log10() method −using System; public class ... Read More

AmitDiwan
68 Views
The MathF.Log() method in C# is used to return the logarithm of a specified number.SyntaxFollowing is the syntax −public static float Log (float val);Above, Val is the specified number whose natural (base e) logarithm to be calculated.ExampleLet us now see an example to implement the MathF.Log() method −using System; public ... Read More

AmitDiwan
59 Views
The MathF.IEEERemainder() method in C# is used to return the remainder resulting from the division of a specified number by another number.SyntaxFollowing is the syntax −public static float IEEERemainder (float dividend, double float);ExampleLet us now see an example to implement the MathF.IEEERemainder() method −using System; public class Demo { ... Read More

AmitDiwan
144 Views
The MathF.Floor() method in C# is used to find the largest integer, which is less than or equal to the specified float value.SyntaxFollowing is the syntax −public static float Floor (float val);Above, the Val is the floating-point value.ExampleLet us now see an example to implement the MathF.Floor() method −using System; ... Read More

AmitDiwan
351 Views
Use the Console.OutputEncoding property in C# to change the Output Encoding Scheme in C#.ExampleLet us see an example −using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Demo { public static void Main (string[] args) { Console.BackgroundColor = ConsoleColor. Black; Console.WriteLine("Background ... Read More