AmitDiwan has Published 10740 Articles

Char.IsWhiteSpace() Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 09:59:10

519 Views

The Char.IsWhiteSpace() method in C# is used to indicate whether the specified Unicode character is white space.Syntaxpublic static bool IsWhiteSpace (char ch);Above, the parameter ch is the Unicode character to evaluate.Let us now see an example to implement the Char.IsWhiteSpace() method −Exampleusing System; public class Demo {    public static ... Read More

Dictionary.Clear Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 09:57:21

3K+ Views

The Dictionary.Clear() method in C# removes all key/value pairs from the Dictionary.Syntaxpublic void Clear();Let us now see an example to implement the Dictionary.Clear() method −Exampleusing System; using System.Collections.Generic; public class Demo {    public static void Main(){       Dictionary dict =       new Dictionary();     ... Read More

CharEnumerator.Dispose() Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 09:53:38

137 Views

The CharEnumerator.Dispose() method in C# is used to release all resources used by the current instance of the CharEnumerator class.Syntaxpublic void Dispose ();Let us now see an example to implement the CharEnumerator.Dispose() method −Exampleusing System; public class Demo {    public static void Main(){       string strNum = ... Read More

CharEnumerator.Clone() Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 09:51:58

124 Views

The CharEnumerator.Clone() method in C# is used to create a copy of the current CharEnumerator object.Syntaxpublic object Clone();Let us now see an example to implement the CharEnumerator.Clone() method −Exampleusing System; public class Demo {    public static void Main(){       string strNum = "356";       CharEnumerator ... Read More

Char.IsUpper() Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 08:14:09

2K+ Views

The Char.IsUpper() method in C# indicates whether the specified Unicode character is categorized as an uppercase letter.Syntaxpublic static bool IsUpper (char ch);Above, the parameter ch is the Unicode character to evaluate.Let us now see an example to implement the Char.IsUpper() method −Exampleusing System; public class Demo {    public static ... Read More

Char.IsSymbol() Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 08:10:17

618 Views

The Char.IsSymbol() method in C# is indicating whether the character at the specified position in a specified string is categorized as a symbol character.Syntaxpublic static bool IsSymbol (string str, int index);Above, str is a string, whereas the position of the character to evaluate in str.Let us now see an example ... Read More

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

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 08:06:22

556 Views

The Char.IsControl(String, Int32) method in C# is used to indicate whether the character at the specified position in a specified string is categorized as a control character.Syntaxpublic static bool IsControl (string str, int index);Above, str is a string. The index parameter is the position of the character to evaluate in ... Read More

Dictionary.ContainsValue() Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 07:59:08

4K+ Views

The Dictionary.ContainsValue() method in C# is used to check whether the Dictionary contains a specific value or not.Syntaxpublic bool ContainsValue (TValue val);Above, Val is the value to be searched.Let us now see an example to implement the Dictionary.ContainsValue() method −Exampleusing System; using System.Collections.Generic; public class Demo {    public static ... Read More

Dictionary.ContainsKey() Method in C#

AmitDiwan

AmitDiwan

Updated on 04-Nov-2019 07:49:19

2K+ Views

The Dictionary.ContainsKey() method in C# checks whether the Dictionary

HTML DOM Video currentSrc Property

AmitDiwan

AmitDiwan

Updated on 30-Oct-2019 07:08:30

134 Views

The HTML DOM Video currentSrc property returns a string corresponding to the url of the video.Following is the syntax −Returning string valuemediaObject.currentSrcLet us see an example of HTML DOM Video currentSrc property −Example HTML DOM Video currentSrc    * {       padding: 2px;     ... Read More

Advertisements