Que: The following code is used will perform _________ operation in LINQ.

public bool IsValidUser(string userName, string passWord)
{
       DBNameDataContext myDB = NEW DBNameDataContext();
       List users = myDB.Users.Where(u => u.Username == userName && u.Password==passWord);
       IF(users.Count>0)
       {
             RETURN TRUE;
       }
       RETURN FALSE;
}
a. update
b. select
c. insert
d. All of the mentioned
Answer: select

Leave a Comment