关于C#与VB的一个转化问题!请进来看看吧
DirectoryInfo dire = new DirectoryInfo( "路径 ");
FileInfo[] files = dire.GetFiles();
long length = 0;
for each (FileInfo file in files)
{
length += file.Length;
}
中
FileInfo file in files怎么转化成VB.net语句啊?有没有VB高手帮我看看啊!
------解决方案--------------------file as FileInfo in files
------解决方案--------------------For Each file AS FileInfo In files