1
0
Fork 0
mirror of https://gitlab.com/mfocko/CodeWars.git synced 2024-09-19 22:16:57 +02:00
CodeWars/8kyu/enumerable_magic_iii/solution.cs

12 lines
168 B
C#
Raw Normal View History

public class Kata
{
public static bool Include(int[] arr, int item)
{
foreach (var e in arr) {
if (e == item) return true;
}
return false;
}
}