Culture-Sensitive C# Method
using System
public static uint ToUInt32(bool value);
public static uint ToUInt32(byte value);
public static uint ToUInt32(char value);
public static uint ToUInt32(DateTime value);
public static uint ToUInt32(decimal value);
public static uint ToUInt32(double value);
public static uint ToUInt32(short value);
public static uint ToUInt32(int value);
public static uint ToUInt32(long value);
public static uint ToUInt32(Object value);
public static uint ToUInt32(sbyte value);
public static uint ToUInt32(float value);
public static uint ToUInt32(string value);
public static uint ToUInt32(string value, int fromBase);
public static uint ToUInt32(ushort value);
public static uint ToUInt32(uint value);
public static uint ToUInt32(ulong value);
public static uint ToUInt32(Object value, IFormatProvider provider);
public static uint ToUInt32(string value, IFormatProvider provider);
Internationalization (I18n) Method Overview
The ToUInt32 method converts the passed in parameter to an equivalent 32-bit unsigned integer.
For more information see Microsoft's
MSDN online documentation.
I18n Issues
To ensure that culture-sensitive formatting is done properly, call the versions that pass in the Culture (IFormatProvider ).
|