Asp.net mvc Razor fill values to textarea from text file
<p>I am trying to read a text file and fill those values in a text area. What is my mistake here</p>

<pre><code> @{
        var dataFile = Server.MapPath("~/Files/myFile.txt");
        var ListFromFile= File.ReadAllLines(dataFile);
        @Html.TextArea("name", "", ListFromFile)
    }
    &lt;textarea&gt;
        @ListFromFile.ToList();
    &lt;/textarea&gt;
</code></pre>