TestUtilitiesConvertToBitString Method (Int32, Int32) |
Converts a value to a binary representation of a given length.
Namespace: Test.FrameworkAssembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static string ConvertToBitString(
int value,
int countDigits
)
Public Shared Function ConvertToBitString (
value As Integer,
countDigits As Integer
) As String
public:
static String^ ConvertToBitString(
int value,
int countDigits
)
static member ConvertToBitString :
value : int *
countDigits : int -> string
Parameters
- value
- Type: SystemInt32
- countDigits
- Type: SystemInt32
Return Value
Type:
StringThe value, expressed as a sequence of binary digits, within a string of countDigits length.
See Also