Показать сообщение отдельно
Старый 19.05.2012, 03:26   #8
moka
.
 
Регистрация: 05.08.2006
Сообщений: 10,429
Написано 3,454 полезных сообщений
(для 6,863 пользователей)
Ответ: Array.ConstrainedCopy

Наверное.

В общем это и есть различие между struct и class.
int - value type, lol - reference type.

От сюда: http://msdn.microsoft.com/en-us/libr...=vs.71%29.aspx
Unlike C++, you cannot declare a class using the keyword struct. In C#, classes and structs are semantically different. A struct is a value type, while a class is a reference type. For more information on the features of value types, see Value Types.
И ещё: http://msdn.microsoft.com/en-us/library/saxz13w4.aspx
(Offline)
 
Ответить с цитированием