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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is server control

1959


How to handle error in asp

1041


What is a form collection in asp?

1089


can any one tell me about dot net framework not basic detail

1845


Name the event handlers of application object?

1041


What does asp stand for in technology?

1010


What are the scripting objects in asp?

983


where should i get free version of Test Director to download

2233


Give an example of how using an HttpHandler could simplify an existing design that serves Check Images from an .aspx page.

3050


What is asp in java?

971


What is servervariables collection in asp?

1111


What is asp format?

912


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

1031


How to convert a string into an integer in .net?

939


How do I save an asp file as a pdf?

981