Q:

How to read chars from a file - c#

How to read an array of numbers from a file? I mean, how to read chars from a file?
Update: 
Yes, I can. :) 
Just: "1 2 3 4 5 6 7 8" and etc. I just do not know how to read chars from a file.

A:

string[] numbers = File.ReadAllText("yourfile.txt").Split(' ');

or you could convert these to integers:
int[] numbers = File
    .ReadAllText("yourfile.txt")
    .Split(' ')
    .Select(int.Parse)
    .ToArray();

