2014-03-13 C# ContainsでArrayに要素が有るかを調べる keysはstring[]の型として、 using System.Collections.Generic; をして if (((IList<string>)keys).Contains("確かめたいもの")) { // 入っている }