请向我解释下面的代码
问题描述:
While objStreamReader.Peek() <> -1 And i < 5
config(i) = en.DecryptText(objStreamReader.ReadLine())
'config(i) = objStreamReader.ReadLine()
i = i + 1
End While
答
请参阅 http://msdn.microsoft.com/en- us / library / vstudio / system.io.streamreader [ ^ ]有关流阅读器的详细信息。 objcten
看起来像某个类的成员解密加密文本。我假设您确实理解while
循环是如何工作的。
See http://msdn.microsoft.com/en-us/library/vstudio/system.io.streamreader[^] for details on the stream reader. The objcten
looks like it's a member of some class that decrypts encrypted text. I am assuming that you do understand how aWhile
loop works.