What does this syntax mean?

  • Thread starter Thread starter mike
  • Start date Start date
M

mike

What does {";"c} mean in the following statement?


For Each role In ticket.UserData.Split(New Char() {";"c})
 
mike said:
What does {";"c} mean in the following statement?

For Each role In ticket.UserData.Split(New Char() {";"c})

It initializes a character array with one 'Char' element. The suffix 'c'
marks the literal as a character literal.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top