Vb.net Windows Phone不支持Microsoft.VisualBasic.Information类?

Vb.net Windows Phone不支持Microsoft.VisualBasic.Information类?,vb.net,silverlight,visual-studio-2012,windows-phone-8,Vb.net,Silverlight,Visual Studio 2012,Windows Phone 8,我试图在我的WindowsPhone8应用程序中使用UBound和LBound功能。但我无法在应用程序中使用Microsoft.VisualBasic.Information类 我签入后发现Silverlight支持它,但没有提供有关Windows phone的信息 我可能出了什么问题?如果不支持,使用UBound和LBound方法的解决方法是什么?UBound和LBound是Visual Basic 6的残余。只需使用它们的.NET等价物: UBound -> array.GetUppe

我试图在我的WindowsPhone8应用程序中使用UBound和LBound功能。但我无法在应用程序中使用Microsoft.VisualBasic.Information类

我签入后发现Silverlight支持它,但没有提供有关Windows phone的信息


我可能出了什么问题?如果不支持,使用UBound和LBound方法的解决方法是什么?

UBound和LBound是Visual Basic 6的残余。只需使用它们的.NET等价物:

UBound -> array.GetUpperBound(0)
LBound -> array.GetLowerBound(0)