当我偶然发现"&<"时,请阅读Quick C#中对C#的简要概述。逻辑运算符。特定的代码片段如下:
object[] objects = new object[2];
objects[0] = "Aisha";
object[1] = new Shape();
string str;
for(int i=0; i&< objects.Length; i++)
{
str = objects[i] as string;
if(str == null)
Console.WriteLine("can not be converted");
else
Console.WriteLine("{0}",str);
}
我不确定操作符的含义。