Use of unassigned local variable 'fileData'?
<p>The compiler is reading Error: Use of unassigned local variable 'fileData'.</p>

<p>I have searched but none of the things I have tried solved my problem.</p>

<pre><code> private ScrPrnData ParseTemperatureFileLine(string sLine)
    {
        char[] delimiter = { '\t' };
        string[] elements = sLine.Split(delimiter, 200);

        ScrPrnData fileData; 

        fileData.dTempZone1 = double.Parse(elements[0].Trim());
        fileData.dTempZone2 = double.Parse(elements[1].Trim());
        fileData.dTempZone3 = double.Parse(elements[2].Trim());
        fileData.dTempZone4 = double.Parse(elements[3].Trim());

        return fileData;
    }
</code></pre>
