
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
8K+ Views
The Decimal.Round() method in C# is used to round a value to the nearest integer or specified number of decimal places.SyntaxFollowing is the syntax −public static decimal Round (decimal d); public static decimal Round (decimal d, int decimals); public static decimal Round (decimal d, MidpointRounding mode); public static decimal Round ... Read More

AmitDiwan
253 Views
The Decimal.Remainder() method in C# is used to calculate the remainder after dividing two Decimal values.SyntaxFollowing is the syntax −public static decimal Remainder (decimal val1, decimal val2);Above, val1 is the dividend, whereas val2 is the divisor.ExampleLet us now see an example to implement the Decimal.Remainder() method −using System; public class ... Read More

AmitDiwan
685 Views
The Decimal.Negate() method in C# is used to return the result of multiplying the specified Decimal value by negative one.SyntaxFollowing is the syntax −public static decimal Negate (decimal val);Above, Val is the value to negate.ExampleLet us now see an example to implement the Decimal.Negate() method −using System; public class Demo ... Read More

AmitDiwan
1K+ Views
The Decimal.Add() method in C# is used to multiply two specified Decimal values.SyntaxFollowing is the syntax −public static decimal Multiply (decimal val1, decimal val2);Above, va1 is the multiplicand, whereas val2 is the multiplier.ExampleLet us now see an example to implement the Decimal.Multiply() method −using System; public class Demo { ... Read More

AmitDiwan
147 Views
The Int64.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 Int64.GetHashCode() method −using System; public class Demo { public static void Main(){ long val1 = ... Read More

AmitDiwan
148 Views
The Int64.Equals() method in C# is used to return a value indicating whether this instance is equal to a specified object or Int64.SyntaxFollowing is the syntax −public bool Equals (long ob); public override bool Equals (object ob);Above, the parameter ob is an Int64 value to compare to this instance, whereas ... Read More

AmitDiwan
228 Views
The Int64.CompareTo() method in C# is used to compare this instance to a specified object or Int64 and returns an indication of their relative values.SyntaxFollowing is the syntax −public int CompareTo (long val); public int CompareTo (object val);Above, in the 1st syntax, the value Val is an integer to compare. ... Read More

AmitDiwan
371 Views
The Int32.MaxValue field in C# is used to represent the smallest possible value of an Int32.SyntaxFollowing is the syntax −public const int MinValue = -2147483648;ExampleLet us now see an example to implement the Int32.MinValue field &miuns;sing System; public class Demo { public static void Main(){ int ... Read More

AmitDiwan
194 Views
The UInt32.MinValue field in C# represents the minimum value of the 32-bit unsigned integer.SyntaxFollowing is the syntax −public const uint MinValue = 0;ExampleLet us now see an example to implement the UInt32.MinValue field −using System; public class Demo { public static void Main(){ uint val1 = ... Read More

AmitDiwan
306 Views
The UInt32.MaxValue field in C# represents the maximum value of the 32-bit unsigned integer.SyntaxFollowing is the syntax −public const uint MaxValue = 4294967295;ExampleLet us now see an example to implement the UInt32.MaxValue field −using System; public class Demo { public static void Main(){ uint val1 = ... Read More