一条语句的转换
有一条.NET2003 C#的语句,我如何转为.NET 2003 VB.NET的语句?
Sunmast.Hardware.HardDiskInfo hdd = AtapiDevice.GetHddInfo(0)
[解决办法]
应该是这样的
dim hdd as Sunmast.Hardware.HardDiskInfo = AtapiDevice.GetHddInfo(0)
或
dim hdd as Sunmast.Hardware.HardDiskInfo
hdd= AtapiDevice.GetHddInfo(0)