Quote:
Originally Posted by hello..
Btw: you can directly put the condition in the if-Statement you don't need to make a new bool variable 
|
Decompilers don't see the exact same code, for example:
Code:
//normal code
List<User> Players = new List<User>();
Players.First(p => p.UserID == 14000);
// decompiler code:
List<User> Players = new List<User>();
IEnumerable<User> user = Players.First<User>((User p) =>
{
bool userid = p.UserID == 14000;
return userid;
});