static string Technology(string post)
{
if (post.Contains("Twitter") || post.Contains("elon"))
{
return "loser";
}
else
{
return "cool";
}
}
static string Technology(string post)
{
if (post.Contains("Twitter") || post.Contains("elon"))
{
return "loser";
}
else
{
return "cool";
}
}
Please, be reasonable:
Order of operations is too ambiguous, needs more parentheses
Yes, but the original is better for us who have just barely scatched python or bash scripting at some point.