AmitDiwan has Published 10744 Articles

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

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 06:36:31

153 Views

The Char.IsSurrogatePair() method in C# is used to indicate whether two adjacent Char objects at a specified position in a string form a surrogate pair.SyntaxFollowing is the syntax −public static bool IsSurrogatePair (string str, int index);Above, the string str is a string, whereas the index is the starting position of ... Read More

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

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 06:33:51

184 Views

The Char.IsSurrogate() method in C# indicates whether the specified character has a surrogate code unit.SyntaxFollowing is the syntax −public static bool IsSurrogate (string str, int index);Above, the parameter str is the string, whereas the index is the position of the character to evaluate in str.ExampleLet us now see an example ... Read More

Char.IsSeparator () Method in C#

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 06:31:40

166 Views

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

Char.IsPunctuation() Method in C#

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 06:28:45

549 Views

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

MathF.Acos() Method in C# with Examples

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 06:27:23

141 Views

The MathF.Acos() method in C# is used to return the angle whose cosine is given as a float value argument.SyntaxFollowing is the syntax −public static float Acos (float val);Above, Val is the floating-point number.ExampleLet us now see an example to implement the MathF.Acos() method −using System; public class Demo { ... Read More

MathF.Abs() Method in C# with Examples

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 06:24:47

179 Views

The MathF.Abs() method in C# is used to return the absolute value of a float number.SyntaxFollowing is the syntax −public static float Abs (float val);Above, the parameter Val is the specified float number.ExampleLet us now see an example to implement the MathF.Abs() method −using System; public class Demo {   ... Read More

Int64.MinValue Field in C# with Examples

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 06:21:48

148 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

Int64.MaxValue Field in C# with Examples

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 06:16:50

344 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

Int64.GetTypeCode Method in C# with Examples

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 06:14:59

124 Views

The Int64.GetTypeCode() method in C# is used to return the TypeCode for value type Int64.SyntaxFollowing is the syntax −public TypeCode GetTypeCode ();ExampleLet us now see an example to implement the Int64.GetTypeCode() method −using System; public class Demo {    public static void Main(){       long val1 = 0; ... Read More

Decimal.Subtract() Method in C#

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 06:12:52

587 Views

The Decimal.Subtract() method in C# is used to subtract two specified Decimal values.SyntaxFollowing is the syntax −public static decimal Subtract (decimal val1, decimal val2);Above, va1 is the minuend, whereas val2 is the subtrahend.ExampleLet us now see an example to implement the Decimal.Subtract() method −using System; public class Demo {   ... Read More

Advertisements