c# check if object i string code example Example: C# check something is string if(value is string) { }