How can I check if a string contains all question marks? Like this:
string input = \"????????\";
You can use Enumerable.All:
bool isAllQuestion = input.All(c => c=='?');