Dim currencyValues() As Decimal = {}
Dim input As String = String.Empty
Dim currency As Decimal = 0
Console.WriteLine("Enter in a currency value or enter a blank value to stop adding currency values.")
input = Console.ReadLine()
If Decimal.TryParse(input, currency) Then
ReDim Preserve currencyValues(currencyValues.Length)
currencyValues(currencyValues.Length - 1) = currency
ElseIf Not String.IsNullOrWhiteSpace(input)
Console.WriteLine("Your input could not be converted to a decimal.")
Loop Until String.IsNullOrWhiteSpace(input)
For Each value As Decimal In currencyValues
Console.WriteLine(value.ToString("c"))