C
cody
The new .NET 2.0 methods in class System.IO.File WriteAllLines and
ReadAllLines are both taking a string[] as argument or return value.
Wouldn't it be more flexible to use IEnumerable<string> for that? Aren't
there guidelines which are saying so? Am I missing something?
Am I the only one with the feeling that lot of the additions to the 2.0
framework are not well thought through, like the funny DateTime2
structure or System.String now having a Contains(string) method but no
method for containing a char?
ReadAllLines are both taking a string[] as argument or return value.
Wouldn't it be more flexible to use IEnumerable<string> for that? Aren't
there guidelines which are saying so? Am I missing something?
Am I the only one with the feeling that lot of the additions to the 2.0
framework are not well thought through, like the funny DateTime2
structure or System.String now having a Contains(string) method but no
method for containing a char?