Resharper teaches me a lot of things, here is one

Normally when i tried to code, and i want to put a if-else block in my code, i do it normally like this.

if (chkD4.Items[5].Selected == true)
{
txtD5.Visible = true;
}
else
{
txtD5.Visible = false;
}

Resharper let me code the same thing in one line.

txtD5.Visible = chkD4.Items[5].Selected == true;

Its a common thing, usually we code like above, but we should code like below to code like gentleman programmers.