and or logic symbol c# .netcore code example Example: c# or // The or statement in C# is || if (a == b || a == c) { // Do something }