AmitDiwan has Published 10744 Articles

Int32.MaxValue Field in C# with Examples

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 05:46:35

559 Views

The Int32.MaxValue field in C# is used to represent the largest possible value of an Int32.SyntaxFollowing is the syntax −public const int MaxValue = 2147483647;ExampleLet us now see an example to implement the Int32.MaxValue field −using System; public class Demo {    public static void Main(){       int ... Read More

Uri.Equals(Object) Method in C#

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 05:45:18

108 Views

The Uri.Equals() method in C# compares two Uri instances for equality.SyntaxFollowing is the syntax −public override bool Equals (object comparand);Above, the parameter comparand is the Uri instance or a URI identifier to compare with the current instance.ExampleLet us now see an example to implement the Uri.Equals() method −using System; public ... Read More

Uri.CheckSchemeName(String) Method in C#

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 05:42:50

153 Views

The Uri.CheckSchemeName() method in C# is used to determine whether the specified scheme name is valid.syntaxFollowing is the syntax −public static bool CheckSchemeName (string schemeName);Above, the parameter scheme name is the scheme name to validate.ExampleLet us now see an example to implement the Uri.CheckSchemeName() method −using System; public class Demo ... Read More

Uri.CheckHostName(String) Method in C#

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 05:40:50

373 Views

The Uri.CheckHostName() method in C# is used to determine whether the specified hostname is a valid DNS name.SyntaxFollowing is the syntax −public static UriHostNameType CheckHostName (string host_name);ExampleLet us now see an example to implement the Uri.CheckHostName() method −using System; public class Demo {    public static void Main(){     ... Read More

UInt64.ToString() Method in C# with Examples

AmitDiwan

AmitDiwan

Updated on 13-Nov-2019 05:39:06

490 Views

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

jQuery addClass() with Example

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 12:48:53

547 Views

The addClass() method in jQuery is used to add one or more class names to the selected elements.ExampleLet us now see an example to implement the jQuery addClass() method −    .demo * {       display: block;       border: 3px dashed red;   ... Read More

jQuery finish() with Example

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 12:44:51

201 Views

The finish() method in jQuery is used to stop the currently-running animations. It removes all queued animations and completes all animations for the selected elements.SyntaxThe syntax is as follows −$(selector).finish(queue)Above, the queue parameter is the name of the queue to stop animation.ExampleLet us now see an example to implement the ... Read More

jQuery focusin() with Example

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 12:40:28

199 Views

The focusin() method in jQuery occurs when an element gets focus.SyntaxThe syntax is as follows −$(selector).focusin(function)ExampleLet us now see an example to implement the jQuery focusin() method −    .demo {       color: blue;    } $(document).ready(function(){    $("input").focusin(function(){       ... Read More

jQuery first() with Example

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 12:19:29

168 Views

The first() method in jQuery selects the first element from the specified elements.SyntaxThe syntax is as follows −$(selector).first()ExampleLet us now see an example to implement the jQuery first() method −    $(document).ready(function(){       $("p").first().css("color", "blue");    }); Demo Heading This is ... Read More

jQuery fadeToggle() Method

AmitDiwan

AmitDiwan

Updated on 12-Nov-2019 11:59:17

266 Views

The fadeToggle() method in jQuery is used to toggle between the fadeIn() and fadeOut() methods.SyntaxThe syntax is as follows −$(selector).fadeToggle(speed, easing, callback)Above, speed is the speed of the fading effect. The easing can be swing or linear for speed at different animation points. Callback is the function to be executed ... Read More

Advertisements