コード例 #1
0
        public bool Verified(string name, string pass)
        {
            IDictionary <string, string> userDetails = UserDetails.GetDetails();

            for (int i = 0; i < 3; i++)
            {
                if (name == userDetails.ElementAt(i).Key&& pass == userDetails.ElementAt(i).Value)
                {
                    return(true);
                }
            }
            return(false);
        }