質問編集履歴

2

listに追加部分を追記

2019/10/06 13:25

投稿

SUPER_SLiNKY
SUPER_SLiNKY

スコア76

test CHANGED
File without changes
test CHANGED
@@ -42,6 +42,8 @@
42
42
 
43
43
  Test1.C = "3"
44
44
 
45
+      Test.Add(Test1)
46
+
45
47
 
46
48
 
47
49
  'こんな感じの事をしたいです (Aが1のものをすべて2に変更する)

1

C#でのやり方を追記

2019/10/06 13:25

投稿

SUPER_SLiNKY
SUPER_SLiNKY

スコア76

test CHANGED
File without changes
test CHANGED
@@ -48,4 +48,10 @@
48
48
 
49
49
  Test.Where(Function(x) x.A = "1").Select(Function(x) x.A = "2").ToList()
50
50
 
51
+
52
+
53
+ 'C#ではこれでいけました
54
+
55
+ Test.Where(x => x.A == "1").Select(x => x.A = "2").ToList();
56
+
51
57
  ```