/******************************************************/ /* Introduction to Programming */ /* By Dr. ANTF */ /* www.antf.net */ /* Copyright 2015 */ /* */ /* C# 302 - Problem 1: Counter (b) */ /******************************************************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DOS { class Program { static void Main(string[] args) { int i; i = 1; while(i < 100) { Console.Write("{0}, ", i); i = i + 1; } Console.Write("{0}.", i); Console.ReadKey(); } } }