AmitDiwan has Published 10744 Articles

UInt64.MinValue Field in C# with Examples

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 10:37:40

116 Views

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

UInt64.MaxValue Field in C# with Examples

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 10:34:39

195 Views

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

Decimal.ToInt64() Method in C#

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 10:30:37

149 Views

The Decimal.ToInt64() method in C# is used to convert the value of the specified Decimal to the equivalent 64-bit signed integer.SyntaxFollowing is the syntax −public static long ToInt64 (decimal val);Above, Val is the decimal number to convert.ExampleLet us now see an example to implement the Decimal.ToInt64() method −using System; public ... Read More

Decimal.ToInt32() Method in C#

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 10:28:34

105 Views

The Decimal.ToInt32() method in C# is used to convert the value of the specified Decimal to the equivalent 32-bit signed integer.SyntaxFollowing is the syntax −public static int ToInt32 (decimal val);Above, Val is the decimal number to convert.ExampleLet us now see an example to implement the Decimal.ToInt32() method −using System; public ... Read More

Char.IsLowSurrogate(String, Int32) Method in C#

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 10:26:51

108 Views

The Char.IsLowSurrogate() method in C# indicates whether the Char object at the specified position in a string is a low surrogate.SyntaxFollowing is the syntax −public static bool IsLowSurrogate (string str, int index);Above, str is a string, whereas the index is the position of the character to evaluate in str.ExampleLet us ... Read More

Char.IsLower() Method in C#

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 10:25:13

307 Views

The Char.IsLower() method in C# is used to indicate whether the specified Unicode character is categorized as a lowercase letter.SyntaxFollowing is the syntax −public static bool IsLower (char ch);Above, the parameter ch is the Unicode character to evaluate.ExampleLet us now see an example to implement the Char.IsLower() method −using System; ... Read More

Char.IsLetterOrDigit() Method in C#

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 10:23:35

830 Views

The Char.IsLetterOrDigit() method in C# indicates whether the specified Unicode character is categorized as a letter or a decimal digit.SyntaxFollowing is the syntax −public static bool IsLetterOrDigit (char ch);Above, ch is the Unicode character to evaluate.ExampleLet us now see an example to implement the Char.IsLetterOrDigit() method −using System; public class ... Read More

MathF.Atanh() Method in C# with Examples

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 10:21:29

115 Views

The MathF.Atanh() method in C# returns the hyperbolic arc-tangent of a floating-point value.SyntaxFollowing is the syntax −public static float Atanh (float val);ExampleLet us now see an example to implement the MathF.Atanh() method −using System; public class Demo {    public static void Main(){       float val1 = 25f; ... Read More

UInt16.ToString Method in C# with Examples

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 09:57:26

162 Views

The UInt16.ToString() method in C# is used to convert the numeric value of the current UInt16 instance to its equivalent string representation.SyntaxFollowing is the syntax −public override string ToString();ExampleLet us now see an example to implement the UInt16.ToString() method −using System; public class Demo {    public static void Main(){ ... Read More

MathF.Sign() Method in C# with Examples

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 09:53:33

326 Views

The MathF.Sign() method in C# returns an integer specifying the sign of the number.SyntaxFollowing is the syntax −public static int Sign (float val);Above, Val is the floating-point number whose sign is to be calculated.The return value is 0 if Val is zero. It’s -1 if the value is less than ... Read More

Advertisements