Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Byte.MinValue Field in C#
The Byte.MinValue field in C# is used to represent the smallest possible value of a Byte.
Syntax
Following is the syntax −
public const byte MinValue = 0;
Example
Let us now see an example to implement the Byte.MinValue method −
using System;
public class Demo {
public static void Main(){
byte val;
val = Byte.MinValue;
Console.WriteLine("Minimum Value (Byte) = "+val);
}
}
Output
This will produce the following output −
Minimum Value (Byte) = 0
Advertisements
