DIGIT-ARC read-only archive · snapshot: July 23, 2026

Layout Conventions

4 posts · originally from https://geek.digit.in/community/threads/layout-conventions.167576/

C
colenz Original post #1
Dec 15, 2012 at 12:36 AM
layout convention in c# ::


if ((val1 > val2) && (val1 > val3))
{
// Take appropriate action.
}
CyberKID
Dec 15, 2012 at 2:51 PM
^ +1.
@OP: Please be specific with your question if you want an answer.
S
Jan 16, 2013 at 1:29 PM
If you use one (&) symbol then it should satisfy both the condition ,like wise if it is (&&) symbol either one should be satisfied.