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
  • 954,112
  • 185
  • 2,315
  • 2,367
Steve Rogers
  • 506
  • 1
  • 7
  • 21

0 Answers0