Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ListOfIntegers
- {
- class ListOfIntegers
- {
- static void Main()
- {
- IntegersList();
- }
- public static void IntegersList()
- {
- List<int> numbers = new List<int>()
- {
- 10,20,30,40,50
- };
- Console.WriteLine(string.Join(" | ",numbers));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment