UtilCommerceCreditCardsTestNumbers Field
Contains a collection of credit card numbers for testing purposes.
Namespace: DevCase.Core.Finances.eCommerceAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static readonly Dictionary<string, string[]> CreditCardsTestNumbers
Public Shared ReadOnly CreditCardsTestNumbers As Dictionary(Of String, String())
Dim value As Dictionary(Of String, String())
value = UtilCommerce.CreditCardsTestNumbers
public:
static initonly Dictionary<String^, array<String^>^>^ CreditCardsTestNumbers
static val CreditCardsTestNumbers: Dictionary<string, string[]>
No code example is currently available or this language may not be supported.
Field Value
DictionaryString,
String
This is a code example.
No code example is currently available or this language may not be supported.
For Each card As KeyValuePair(Of String, String()) In CreditCardsTestNumbers
For Each cardnumber As String In card.Value
Dim isValidNumber As Boolean = BusinessUtil.ValidateCreditCardNumber(cardnumber)
Console.WriteLine("Card type: '{0}'; Number: '{1}'; Is Valid?: {2}", card.Key, cardnumber, isValidNumber)
Next cardnumber
Next card
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.