DesktopLiveStreamer.ListGames.find C# (CSharp) Method

find() public method

public find ( String caption ) : int
caption String
return int
        public int find(String caption)
        {
            for (int i = 0; i < listGames.Count; i++)
            {
                if (listGames[i].Caption == caption)
                    return i;
            }

            return -1;
        }