If "SomeDATAFile.txt" containing newline separated valid entries that can be parsed into Type double exists on your Desktop, this will work:
private string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
Dictionary<double[] , string> x = new Dictionary<double[] , string>();
double[] xAry = File.ReadAllText(path + @"\SomeDATAFile.txt")
.Split(new string[] {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries)
.Select(s => double.Parse(s)).ToArray();
x.Add(xAry,"x array");
I'd like to suggest that you can get better responses to questions like this (asked on StackOverFlow as well as here) if you:
1. give links to the source code you are using: for the DTW Class: [
^]
2. On CodeProject, use the editor to format your code like you did on StackOverFlow.
3. clearly describe all error messages.
4. respond to questions asked you directly: do not repost code.
As you may know, Visual Studio Express is free; I think your productivity will improve if you can compile off-line.