easy code in vb and C#