# call .net method
[System.Console]::Write("asf")
System.Reflection.Assembly]::LoadFile("D:\SCHOOL\VerSupport.dll").FullName
VerificationSupport, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
本文介绍了一种通过C#调用System.Console.Write方法输出文本到控制台的方式,并演示了如何使用System.Reflection.Assembly.LoadFile加载指定路径下的DLL文件。
# call .net method
[System.Console]::Write("asf")

被折叠的 条评论
为什么被折叠?