in c sharp programming language what does the ? symbol do?
i saw it used in an example like :
hour = ((h >= 0 && h< 24) ? h : 0 );
and i have no idea what the question mark symbol means here
THanks
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Threaded View
|
Click Here to Expand Forum to Full Width |