GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  VB.NET
Go To First  |  Previous Question  |  Next Question 
 VB.NET  |  Question 49 of 60    Print  
VB.NET 2-dimensional array
How do you search within a 2-dimensional array using VB.NET? How can I know that a value already exists in the array?


  
Total Answers and Comments: 1 Last Update: December 29, 2007     Asked by: Myra13 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 29, 2007 06:15:22   #1  
pradeepadkm Member Since: December 2007   Contribution: 4    

RE: VB.NET 2-dimensional array
Dim arr(1 2) As String
arr(0 0) "Sandip"
arr(0 1) "India"
arr(1 0) "Jon Doe"
arr(1 1) "US"

Console.WriteLine(arr.GetUpperBound(0).ToString())
Console.WriteLine(arr.GetUpperBound(1).ToString())

 
Is this answer useful? Yes | No

 Related Questions

What is the difference between a "jagged array" and "multidimensional array" ?Can anyone show me it practically ?
Read Answers (2) | Asked by : Rajesh

Sort an array of ten 30 character items into ascending order of surname. Each line contains a name in the form e.g. Mr J Smith, Dr John R Smith or John Smith. There are no field or record delimiters, qualifications, suffixes, double-barrelled names or similar complications. Define names and values for the items in the array, using any programming language you choose. Using low level string and record manipulation and not higher level functions such as SORT, either draw a flowchart to show how
View Question | Asked by : btbdance

How do you search within a 2-dimensional array using VB.NET? How can I know that a value already exists in the array? 
Latest Answer : Dim arr(1, 2) As String       arr(0, 0) = "Sandip"       arr(0, 1) = "India"       arr(1, 0) = "Jon Doe"       arr(1, 1) = "US"  ...
Read Answers (1) | Asked by : Myra13


 Sponsored Links

 
Related Articles

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

JavaScript Array Operations

JavaScript Array Operations In this JavaScript tutorial you will learn about different operations with array in JavaScript how to use the for in statement Combining Operations between arrays and within elements of an array joining two or more arrays and joining elements of an arrays along with synta
 

JavaScript Array Object Methods – Part II

JavaScript Array Object Methods Part II In this JavaScript tutorial you will learn about on array object methods slice splice toString shift and unshift methods along with general syntax and examples mosgoogle center slice By using the methods of the array object the programmer is able to retriev
 

JavaScript Array Object Methods – Part I

JavaScript Array Object Methods Part I In this JavaScript tutorial you will learn about Array Object Methods concat join pop push and reverse methods  along with general syntax and examples mosgoogle center concat The concat method is used to join two or more Array objects together to pro
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

JavaScript Two Dimensional Arrays

JavaScript Two Dimensional Arrays In this JavaScript tutorial you will learn about two dimensional arrays  how to define and access two dimensional array in JavaScript mosgoogle center Two Dimensional Arrays in JavaScript Two Dimensional Arrays are storing elements in a structure similar
 

JavaScript Array Object

JavaScript Array Object In this JavaScript tutorial you will learn about JavaScript Array Object its properties and methods mosgoogle center Usage of the Array Object The Array object is used to store a set of values in a single variable name There are many operations involved with Array object De
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape