YBaseExtensionsGetAlphabet Method
|
Returns the alphabet of the given
YBase.
Namespace: Upsilon.Common.LibraryAssembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntaxpublic static string GetAlphabet(
this YBase base
)
Parameters
- base YBase
- The YBase to return the alphabet.
Return Value
String
The alphabet :
- For YBase.None : string.Empty
- For YBase.Binary : "01"
- For YBase.Octal : "01234567"
- For YBase.Decimal : "0123456789"
- For YBase.Hexadecimal : "0123456789ABCDEF"
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
YBase. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also