![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- 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 11365 Articles
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
71 Views
The MathF.Cos() method in C# returns the cosine of a given float value argument.SyntaxFollowing is the syntax −public static float Cos (float val);Above, Val is the floating-point value.ExampleLet us now see an example to implement the MathF.Cos() method −using System; class Demo { public static void Main(){ ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
58 Views
The Uri.IsHexDigit() method in C# determines whether a specified character is a valid hexadecimal digit.SyntaxFollowing is the syntax −public static bool IsHexDigit (char ch);Above, the parameter ch is the character to validate.ExampleLet us now see an example to implement the Uri.IsHexDigit() method −using System; public class Demo { public ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
148 Views
Queue.CopyTo(T[], Int32) Method is used to copy the Queue elements to a 1-D array.ExampleLet us now see an example −using System; using System.Collections.Generic; public class Demo{ public static void Main(){ Queue queue = new Queue(); queue.Enqueue("K"); queue.Enqueue("T"); ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
170 Views
The Console.SetBufferSize() Method in C# is used to set the height and width of the screen buffer area to the specified values.SyntaxThe syntax is as follows −public static void SetBufferSize (int width, int height);Above, the parameter width is the width of the buffer area, whereas height is the height of ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
207 Views
The Console.ResetColor() method in C# is used to set the foreground and background console colors to their defaults.SyntaxThe syntax is as follows −public static void ResetColor ();ExampleLet us now see an example to implement the Console.ResetColor() method in C# −using System; class Demo { public static void Main (string[] ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
781 Views
The Console.ReadLine() method in C# is used to read the next line of characters from the standard input stream.SyntaxThe syntax is as follows −public static string ReadLine ();ExampleLet us now see an example to implement the Console.ReadLine() method in C# −using System; public class Demo{ public static void Main(){ ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
842 Views
The Console.Read() method in C# is used to read the next character from the standard input stream.SyntaxThe syntax is as follows −public static int Read ();ExampleLet us now see an example to implement the Console.Read() method in C# −using System; public class Demo{ public static void Main(){ ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
160 Views
The Console.MoveBufferArea() method in C# is used to copy a specified source area of the screen buffer to a specified destination area.SyntaxThe syntax is as follows −public static void MoveBufferArea (int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop);Here, sourceLeft The leftmost ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
343 Views
The Console.KeyAvailable() property in C# is used to get a value indicating whether a key press is available in the input stream.SyntaxThe syntax is as follows −public static bool KeyAvailable { get; }ExampleLet us now see an example to implement the Console.KeyAvailable() property in C# −using System; using System.Threading; class ... Read More
![AmitDiwan](https://www.tutorialspoint.com/assets/profiles/123055/profile/60_187394-1565938756.jpg)
AmitDiwan
1K+ Views
The Console class in C# is used to represent the standard input, output, and error streams for console applications.Let us see some examples of Console class properties in C# −Console.CursorLeft propertyTo change the CursorLeft of the Console in C#, use the Console.CursorLeft property.ExampleLet us see an example −using System; class ... Read More