C# Convert ToUInt32(UInt32)
Description
Convert ToUInt32(UInt32)
returns the specified 32-bit
unsigned integer; no actual conversion is performed.
Syntax
Convert.ToUInt32(UInt32)
has the following syntax.
[CLSCompliantAttribute(false)]
public static uint ToUInt32(
uint value
)
Parameters
Convert.ToUInt32(UInt32)
has the following parameters.
value
- The 32-bit unsigned integer to return.
Returns
Convert.ToUInt32(UInt32)
method returns value is returned unchanged.
Example
//w w w. j a v a2s.c o m
using System;
public class MainClass{
public static void Main(String[] argv){
Console.WriteLine(Convert.ToUInt32((UInt32)123));
}
}
The code above generates the following result.