player.io - C# Error Operator '||' cannot be applied to operands of type 'string' and 'string' -


c# hey i'm trying or statement gift code system kota or jojo123 or example123 can have multiple codes without multiple if , else statements try || , error

operator '||' cannot applied operands of type 'string' , 'string'

playerdb.key != playerdb.getstring("sc-ehgdtih" || playerdb.getstring("sc-kota123"))) 

the conditional operator || must applied boolean expressions, can do

if ( == "123" || == "456") 

Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -