Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


1)Declare array with five elements
a[]={8,4,6,2,1,10}
Print minimum and maximum no from array.



1)Declare array with five elements a[]={8,4,6,2,1,10} Print minimum and maximum no from array. ..

Answer / prabhanshu srivastava

int [] a= new int[]{8,4,6,2,1,10};
Console.WriteLine(a.Max());
Console.WriteLine(a.Min());

NOTE: CODES ARE IN C#.


Mail id: developerprabhu@gmail.com

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More ASP Interview Questions

Explain the difference between server-side validation and client-side validation?

0 Answers  


what is n tier ?

1 Answers   eSoft, Government,


What happens to asp pages?

0 Answers  


What is the code for closing the form(using controls) instead of directly closing it?

1 Answers   Cisco, CMC,


6) Events in page life cycle?

1 Answers  


Whats the implicit name and type of the parameter that gets passed into the class set method?

0 Answers  


Can anyone give me a clarification about the difference among assembly,namespace,class,dll??????

1 Answers  


what is execute dataset for sp

0 Answers  


how we can create more than one web.config file in our asp.net project

1 Answers   DAS, IBM,


Can be arrays resized by using the keyword redim?

0 Answers  


What is the command to display characters to the HTML page?

1 Answers  


Where is the value-type variables allocated in the computer ram?

0 Answers  


Categories