Сообщение Re: Кортежи в С# от 29.04.2015 10:59
Изменено 29.04.2015 10:59 Serginio1
Здравствуйте, s22, Вы писали:
s22>http://habrahabr.ru/post/256825/
s22>Мне понравилось
s22>
Сейчас есть
по аналогии
var res = new {sum= 0, count=0, option = new { sum= 0, count = 0}};
s22>http://habrahabr.ru/post/256825/
s22>Мне понравилось
s22>
s22>var res = (sum: 0, count: 0, option :( sum: 0, count: 0));
s22>
Сейчас есть
var v = new { Amount = 108, Message = "Hello" };
// Rest the mouse pointer over v.Amount and v.Message in the following
// statement to verify that their inferred types are int and string.
Console.WriteLine(v.Amount + v.Message);
по аналогии
var res = new {sum= 0, count=0, option = new { sum= 0, count = 0}};
Re: Кортежи в С#
Здравствуйте, s22, Вы писали:
s22>http://habrahabr.ru/post/256825/
s22>Мне понравилось
s22>
Сейчас есть
по аналогии
s22>http://habrahabr.ru/post/256825/
s22>Мне понравилось
s22>
s22>var res = (sum: 0, count: 0, option :( sum: 0, count: 0));
s22>
Сейчас есть
var v = new { Amount = 108, Message = "Hello" };
// Rest the mouse pointer over v.Amount and v.Message in the following
// statement to verify that their inferred types are int and string.
Console.WriteLine(v.Amount + v.Message);
по аналогии
var res = new {sum= 0, count=0, option = new { sum= 0, count = 0}};