帮小弟我看看这个数组如何传呀

帮我看看这个数组怎么传呀
Branch.GetAllBranchs()反回的是Branch[]
Branch里有一个Code属性(string)


现在声明一个string   []str
怎么样和上边的Branch里边的Code匹配呀?

------解决方案--------------------
str[0]?
------解决方案--------------------
Branch [] b = Branch.GetAllBranchs();
string [] str = new string[b.Length];

for(int i = 0; i < str.Length; i++)
{
str[i] = b[i].Code;
}