回答編集履歴

1

修正

2017/05/26 03:49

投稿

退会済みユーザー
test CHANGED
@@ -64,14 +64,6 @@
64
64
 
65
65
  }
66
66
 
67
- static List<string> data(List<string> input, string search)
68
-
69
- {
70
-
71
- return input.Where(x => x.ToUpper().Contains(search.ToUpper())).ToList();
72
-
73
- }
74
-
75
67
  private void List_Add(object sender, RoutedEventArgs e)
76
68
 
77
69
  {
@@ -88,6 +80,16 @@
88
80
 
89
81
 
90
82
 
83
+ List<string> data(List<string> input, string search)
84
+
85
+ {
86
+
87
+ return input.Where(x => x.ToUpper().Contains(search.ToUpper())).ToList();
88
+
89
+ }
90
+
91
+
92
+
91
93
  combox.ItemsSource = data(list, txtbox.Text);
92
94
 
93
95
  }