Relative Content

Tag Archive for visual-basic

Most efficient multiple condition IF statement

I am using a function to compare over 100 variables inside of classes to each other an am curious if one method of comparing multiple condition statements is more efficient than another. I am currently considering one of these methods. I think the ‘single If using And/Or’ looks the cleanest but performance is more important. (my code is VB.Net)

Most efficient multiple condition IF statement

I am using a function to compare over 100 variables inside of classes to each other an am curious if one method of comparing multiple condition statements is more efficient than another. I am currently considering one of these methods. I think the ‘single If using And/Or’ looks the cleanest but performance is more important. (my code is VB.Net)

Most efficient multiple condition IF statement

I am using a function to compare over 100 variables inside of classes to each other an am curious if one method of comparing multiple condition statements is more efficient than another. I am currently considering one of these methods. I think the ‘single If using And/Or’ looks the cleanest but performance is more important. (my code is VB.Net)