Expressions instead of statements - Mutable

PHOTO EMBED

Sat Oct 16 2021 16:09:09 GMT+0000 (UTC)

Saved by @funcProgramming

public static string GetSalutation(int hour) {
	string salutation; 
	if (hour < 12)
  		salutation = "Good Morning";
	else
 		salutation = "Good Afternoon";
	return salutation;  
}
content_copyCOPY