I have a requirement in the C# app to find if a byte exists as part of byte array and take decision based on that.

I came across few of two ways to do that.

Use the basic byte[] Array and use for loop to find the existence of the byte i am looking for

(Or)

Use some thing like List<byte> byteList and then "byteList.Conta ins((byte)byteV ar)" .

Not very sure...