0

Remember in VB something like Struct. I need to be able to set Class values like "Value1", "Value2" and so. then to be able to use an IF statement.

As for example

public class myClass{
value1 //string
value2 //string
value3 //string
}

And from any other class check it like

    if(myClass == myClass.value1){
    //anything
    }

And also assign the value

myClass = myClass.value2
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
WizardingStudios
  • 554
  • 2
  • 7
  • 22

0 Answers0