C# txt file to 2D char array
I have a text file which looks like this: abc def ghi jkl Now I want to put it in a 2D char array. I thought about a nested for-loop but this works only, when the height and width is the same, i.e. [3,3] or [5,5]. Has someone any idea how to realize this in C# as simple as possible?