我有以下的C#代码片段
string[] lines = File.ReadAllLines(@"C:\test.txt");
for(int i=0; i<lines.Length; i++)
Console.WriteLine(lines[i]);
你能帮我把它转换成C语言吗?
谢谢!