我是初学者,正在学习C#的asp.net。现在我需要解决一个问题。
在PHP中,我可以像这样创建一个数组:
$arr[] = array('product_id' => 12, 'process_id' => 23, 'note' => 'This is Note');
//Example
Array
(
[0] => Array
(
[product_id] => 12
[process_id] => 23
[note] => This is Note
)
[1] => Array
(
[product_id] => 5
[process_id] => 19
[note] => Hello
)
[2] => Array
(
[product_id] => 8
[process_id] => 17
[note] => How to Solve this Issue
)
)
我想在C#的asp.net中创建与此相同的数组结构。
请帮我解决这个问题。
[1] => 数组 ( [product_id] => 5 [process_id] => 19 [note] => 你好 ) [2] => 数组 ( [product_id] => 8 [process_id] => 17 [note] => 如何解决这个问题 )
)我想做类似于这样的事情... - rkaartikeyan