Click here to Skip to main content
15,878,814 members
Home / Discussions / C#
   

C#

 
GeneralRe: how can i find number of days in a given year and month Pin
Rajesh R Subramanian1-Jun-09 22:01
professionalRajesh R Subramanian1-Jun-09 22:01 
GeneralRe: how can i find number of days in a given year and month Pin
musefan1-Jun-09 22:02
musefan1-Jun-09 22:02 
GeneralRe: how can i find number of days in a given year and month Pin
Ahmed Khallaf1-Jun-09 22:05
Ahmed Khallaf1-Jun-09 22:05 
GeneralRe: how can i find number of days in a given year and month Pin
musefan1-Jun-09 21:58
musefan1-Jun-09 21:58 
GeneralRe: how can i find number of days in a given year and month Pin
Ahmed Khallaf1-Jun-09 22:04
Ahmed Khallaf1-Jun-09 22:04 
GeneralRe: how can i find number of days in a given year and month Pin
musefan1-Jun-09 22:09
musefan1-Jun-09 22:09 
GeneralRe: how can i find number of days in a given year and month Pin
Ahmed Khallaf1-Jun-09 22:14
Ahmed Khallaf1-Jun-09 22:14 
AnswerRe: how can i find number of days in a given year and month Pin
Guffa1-Jun-09 22:43
Guffa1-Jun-09 22:43 
Or if you don't want to reinvent the wheel:
if (DateTime.IsLeapYear(year)) {
   // is leap year
} else {
   // not leap year
}

Wink | ;)

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: how can i find number of days in a given year and month Pin
musefan1-Jun-09 22:45
musefan1-Jun-09 22:45 
AnswerRe: how can i find number of days in a given year and month Pin
stancrm1-Jun-09 22:07
stancrm1-Jun-09 22:07 
GeneralRe: how can i find number of days in a given year and month [modified] Pin
Ahmed Khallaf1-Jun-09 22:09
Ahmed Khallaf1-Jun-09 22:09 
GeneralRe: how can i find number of days in a given year and month Pin
Guffa1-Jun-09 22:38
Guffa1-Jun-09 22:38 
AnswerRe: how can i find number of days in a given year and month Pin
Ahmed Khallaf1-Jun-09 23:21
Ahmed Khallaf1-Jun-09 23:21 
GeneralRe: how can i find number of days in a given year and month Pin
Guffa2-Jun-09 1:25
Guffa2-Jun-09 1:25 
GeneralRe: how can i find number of days in a given year and month Pin
Ahmed Khallaf2-Jun-09 3:10
Ahmed Khallaf2-Jun-09 3:10 
QuestionHow to draw a pdf or postscript files to a graphics object Pin
MarkPhB1-Jun-09 21:05
MarkPhB1-Jun-09 21:05 
QuestionHow to paint a portion of IE window until it gets fully loaded with the requested URL? Pin
svt gdwl1-Jun-09 21:04
svt gdwl1-Jun-09 21:04 
QuestionProject deployment Pin
KIDYA1-Jun-09 21:01
KIDYA1-Jun-09 21:01 
AnswerRe: Project deployment Pin
Vimalsoft(Pty) Ltd1-Jun-09 21:08
professionalVimalsoft(Pty) Ltd1-Jun-09 21:08 
QuestionPerl & c#.net Pin
balu123451-Jun-09 20:44
balu123451-Jun-09 20:44 
QuestionRe: Perl & c#.net Pin
monstale1-Jun-09 20:58
monstale1-Jun-09 20:58 
QuestionHow to change Connection string at runtime for window application while using Linq to Sql Pin
Sanket.Patil1-Jun-09 20:40
Sanket.Patil1-Jun-09 20:40 
AnswerRe: How to change Connection string at runtime for window application while using Linq to Sql Pin
Henry Minute2-Jun-09 2:16
Henry Minute2-Jun-09 2:16 
QuestionError:Project Properties/Resources: There is already another resource with the name 'Project1'. Pin
KIDYA1-Jun-09 20:19
KIDYA1-Jun-09 20:19 
AnswerRe: Error:Project Properties/Resources: There is already another resource with the name 'Project1'. Pin
Christian Graus1-Jun-09 20:27
protectorChristian Graus1-Jun-09 20:27 

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.