I am new to my project, in the project they used Entity Framework & LINQ to manipulate the DB data. Here I am not able to understand why the question mark (?) is used after get() method in the following query. Is it possible to use the (?) mark as like below ?. If yes, then could you please explain in detail.
uOW.ApplicationDetailsRepository.Get()? .Where (x=>x.Name=="SomeConditions").Tolist();
When the question mark is used this way (in combination with the period:
?.), it is called the Null-conditional operator. It is a check for
null before attempting the rest of the statement.
Here is a reference explaining in detail.