Manas Sahu

Manas Sahu

  • 1.8k
  • 206
  • 20.6k

How to check boolean array in vb.net

Aug 22 2021 3:09 AM

Private TestOverride As Boolean()

TestOverride = AutofixFile(change)

Here AutofixFile is holding the below code

----------------------------

Private Function AutofixFile As Boolean()
 Dim Override() As Boolean = {False, False, False, False, False, False} 
 -----------------------------------

I want to check wheather TestOverride is holding atleast one value before proceeding . so if TestOverride is holding any true value and (this will be the if condition) so then i can call some other method inside. can anyone help me on that. if any linq query or any if condition is also ok .. help me on this. This in VB.net


Answers (2)