public class Test public Shared Sub Main Dim Dec1, Dec2 As Decimal Dec1 = 100 Dec2 = 200 Dec1 = Dec1 + Dec2 Console.WriteLine(Dec1) Dec1 = --Dec1 Console.WriteLine(Dec1) Dec1 = ++Dec2 Console.WriteLine(Dec1) End Sub End class
300 300 200