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...

Please anyone tell me coding to print prime numbers from 1 to
5000 in c#....

Answer Posted / guest

int i=0;
for(i=0;i<=5000;i++)
console.writeline(i);

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

could you please tell me how to draw the calibration curve for HPLC {the software which we are using}?

1687


what is best way to create a Thread class & why?

2093


1. Consider the following input and generate the object code using single pass assembler. JOHN START 0 USING *,15 L 1,FIVE A 1,FOUR ST 1,TEMP FOUR DC F’4’ FIVE DC F’5’ TEMP DS ‘F END

2768


how to convert infix expression to prefix expression?

4198


How does the TCP handle the issue of multiplexing?

2823


hi This is radhika.Can anyone help me to know the question papers of NATIONAL INFORMATICS CENTRE for the post of scientific officer/engineer? if anyone know plz tell me question paper pattern

2032


when will triggars the at new event in abap and web dybn pro?

1923


Write a pascal program to calculate the sum of the first 100 even number and odd number

4335


Definition of Singleton Class? what is the Purpose of it? what is the advantage?

2029


what is the main usage of an abstract keyword?please follow the program class A { void display() { System.out.println("hai"); } void print() { } } class B extends A { void print() { System.out.println("Hello"); } } In this program i was gives the implementation of print() according to my requirements in subclass.And there is no definition in superclass then why we can use abstract keyword before a method that i want to gives definition in other classes,is any mistakes in the above usage of method?

1920


what is an INI file?

2039


HOW TO FIND NUMBER OF TWOS IN N!(N FACTORIAL)??

2207


when we use mantis? how learn mantis?

2116


What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?

2103


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

7831