CSharp examples for System:Array Search
Is Array Contains a char value
using System.Text; using System.Collections.Generic; using System;/*from w w w. j a va2 s . c om*/ public class Main{ public static bool IsArrayContains(char[] chars, char target) { for (int i = 0; i < chars.Length; i++) if (chars[i] == target) return true; return false; } }