me = new Developer(); me.blogExperience();
int n = 1000;Console.WriteLine(n.ToString("N"));// Will produce1,000.00// If you don't decimals Console.WriteLine(n.ToString("N0"));// Will produce1,000
No comments:
Post a Comment