Click here to Skip to main content
16,008,183 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hiding a process....help guys! Pin
King Julien5-Apr-09 20:55
King Julien5-Apr-09 20:55 
AnswerRe: Hiding a process....help guys! Pin
stancrm5-Apr-09 21:28
stancrm5-Apr-09 21:28 
QuestionFor loop Pin
Sajjad Leo5-Apr-09 19:41
Sajjad Leo5-Apr-09 19:41 
AnswerRe: For loop Pin
Christian Graus5-Apr-09 19:44
protectorChristian Graus5-Apr-09 19:44 
AnswerRe: For loop Pin
King Julien5-Apr-09 20:25
King Julien5-Apr-09 20:25 
QuestionResource file without standard notation [modified] Pin
mayapeter5-Apr-09 19:36
mayapeter5-Apr-09 19:36 
AnswerRe: Resource file without standard notation Pin
King Julien5-Apr-09 20:51
King Julien5-Apr-09 20:51 
QuestionLeap Year Problem... Pin
sah4965-Apr-09 19:25
sah4965-Apr-09 19:25 
Hello everybody,

I am having a problem to solve the following c# exercise:


You will take into account that February can be 29 days if it is during a leap year. Do NOT change the implementation of date_convert. Instead, add additional code in your main so that before you display the output of the method, if the month entered by the user is February, prompt the user for the year, and then use IsLeap to check the year and adjust the output of date_convert accordingly. Write appropriate method calls and statements within your main so that the console session may look as follows:

A valid console session may look as follows:

Please enter a month: March
The number of days in March is 31

Another session may look as follows:

Please enter a month: february
Please enter a year: 2007
The number of days in February is 28

Another session may look as follows:

Please enter a month: february
Please enter a year: 2000
The number of days in February is 29

If anybody can help me to solve the problem then i will be very greatfull.

Syed
AnswerRe: Leap Year Problem... Pin
Christian Graus5-Apr-09 19:41
protectorChristian Graus5-Apr-09 19:41 
AnswerRe: Leap Year Problem... [modified] Pin
akhilonly0075-Apr-09 22:56
akhilonly0075-Apr-09 22:56 
QuestionSort an array list Pin
yesu prakash5-Apr-09 19:24
yesu prakash5-Apr-09 19:24 
AnswerRe: Sort an array list Pin
Christian Graus5-Apr-09 19:42
protectorChristian Graus5-Apr-09 19:42 
GeneralRe: Sort an array list Pin
Tom Deketelaere5-Apr-09 22:47
professionalTom Deketelaere5-Apr-09 22:47 
AnswerRe: Sort an array list Pin
ramz_g8-Apr-09 19:42
ramz_g8-Apr-09 19:42 
QuestionHow to convert Graphics image to Bitmap? Pin
FrankeyJames5-Apr-09 14:42
FrankeyJames5-Apr-09 14:42 
AnswerRe: How to convert Graphics image to Bitmap? Pin
Christian Graus5-Apr-09 14:44
protectorChristian Graus5-Apr-09 14:44 
GeneralRe: How to convert Graphics image to Bitmap? Pin
FrankeyJames5-Apr-09 15:00
FrankeyJames5-Apr-09 15:00 
GeneralRe: How to convert Graphics image to Bitmap? Pin
Christian Graus5-Apr-09 19:43
protectorChristian Graus5-Apr-09 19:43 
AnswerRe: How to convert Graphics image to Bitmap? Pin
Xmen Real 5-Apr-09 15:13
professional Xmen Real 5-Apr-09 15:13 
AnswerRe: How to convert Graphics image to Bitmap? Pin
Guffa5-Apr-09 15:23
Guffa5-Apr-09 15:23 
GeneralRe: How to convert Graphics image to Bitmap? Pin
FrankeyJames5-Apr-09 17:18
FrankeyJames5-Apr-09 17:18 
AnswerRe: How to convert Graphics image to Bitmap? Pin
Luc Pattyn5-Apr-09 16:24
sitebuilderLuc Pattyn5-Apr-09 16:24 
GeneralRe: How to convert Graphics image to Bitmap? Pin
FrankeyJames5-Apr-09 17:21
FrankeyJames5-Apr-09 17:21 
GeneralRe: How to convert Graphics image to Bitmap? Pin
Luc Pattyn5-Apr-09 18:10
sitebuilderLuc Pattyn5-Apr-09 18:10 
QuestionNewbies and databases Pin
stonebergftw5-Apr-09 14:10
stonebergftw5-Apr-09 14:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.