c# string number with 4 zeros code example Example: C# string is all zeros bool isAllQuestion = input.All(c => c=='?');