The Blogram

Nav Bar

Communication

About

Blog

Submissions

Chat

Languages

Webpage Languages

C, C++, & C#

Python

Blog

.Post1 {
Username: C#SS;
Website: https://arightmemeswath.neocities.org;
Language: C#;
Date: 05/13/24;
Class: Discovery;
}

Hey everyone, I just learned that instead of using if then statements, you can use the ?: syntax to shorten the space needed like so:

result = (condition) ? (if expression is true) : (if expression is false);