コード例 #1
0
        public CustomAccount login(string uname, string pwd)

        {
            CustomAccount useracctl = Custaccts.Find(u => u.Username.Equals(uname) && u.password.Equals(pwd));

            return(useracctl);
        }
コード例 #2
0
        public CustomAccount finduseracct(string uname)

        {
            CustomAccount useracct = Custaccts.Find(u => u.Username.Equals(uname));

            return(useracct);
        }