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

What are the components of asp?

0 Answers  


How many types of cookies?

0 Answers  


What are the methods in Session Object?

1 Answers   BirlaSoft,


How to include active x controls in asp code?

0 Answers  


What is the difference between server-side validation and client-side validation?

0 Answers  


How we load the page in ASP?

0 Answers   HCL,


Define a cookies collection?

0 Answers  


what is the difference between #include directory in C,C++ and import java.packages in java

0 Answers   Genpact,


How does if-not-modified-since work? How can it be programmatically implemented with ASP.NET?

0 Answers  


Which is the default scripting language on the client side?

0 Answers  


What are the advantages of using ASP?

1 Answers  


different web application and windows application

1 Answers  


Categories