Click here to Skip to main content
14,550,145 members
   

C#

 
GeneralRe: A generic error occurred in GDI+ Pin
Luc Pattyn27-Jul-08 8:18
sitebuilderLuc Pattyn27-Jul-08 8:18 
QuestionC# code for optimal path, given adjacency matrix/cost values? Pin
sherifffruitfly26-Jul-08 18:51
Membersherifffruitfly26-Jul-08 18:51 
AnswerRe: C# code for optimal path, given adjacency matrix/cost values? Pin
Paul Conrad26-Jul-08 19:41
subeditorPaul Conrad26-Jul-08 19:41 
AnswerRe: C# code for optimal path, given adjacency matrix/cost values? Pin
Robert.C.Cartaino27-Jul-08 6:14
MemberRobert.C.Cartaino27-Jul-08 6:14 
QuestionDays until next birthday Pin
DFlat4Now26-Jul-08 16:59
MemberDFlat4Now26-Jul-08 16:59 
AnswerRe: Days until next birthday Pin
Reza Raad26-Jul-08 17:36
MemberReza Raad26-Jul-08 17:36 
GeneralRe: Days until next birthday Pin
DFlat4Now26-Jul-08 18:31
MemberDFlat4Now26-Jul-08 18:31 
QuestionRe: Days until next birthday Pin
DFlat4Now26-Jul-08 18:55
MemberDFlat4Now26-Jul-08 18:55 
JimBDay does not show up on Console.WriteLine("Jim's Birthdate is... ", JimBDay); it just says "Jim's Birthday is..."
and
"span" shows as 9132.03:46:30.4287493 / How can I format this to say...

This many months...
This many days...
This many hours...
and
This many minuts until your next birthday?


using System;

class myApp
{
public static void Main()
{
DateTime CurrTime = DateTime.Now;

Console.WriteLine("Right now the date and time are: {0:F}", CurrTime);

DateTime JimBDay = new DateTime(1983, 7, 26, 20, 0, 0);

Console.WriteLine("Jim's Birthdate is... ", JimBDay);

TimeSpan span = CurrTime.Subtract(JimBDay);

Console.WriteLine(span);

Console.Read();
}
}
AnswerRe: Days until next birthday Pin
Paul Conrad26-Jul-08 19:52
subeditorPaul Conrad26-Jul-08 19:52 
AnswerRe: Days until next birthday Pin
Reza Raad26-Jul-08 21:43
MemberReza Raad26-Jul-08 21:43 
AnswerRe: Days until next birthday Pin
Guffa27-Jul-08 2:59
MemberGuffa27-Jul-08 2:59 
QuestionExe Control DLL Pin
nedracix26-Jul-08 16:20
Membernedracix26-Jul-08 16:20 
AnswerRe: Exe Control DLL Pin
Paul Conrad26-Jul-08 17:55
subeditorPaul Conrad26-Jul-08 17:55 
QuestionWhere is HttpUtility.HtmlDecode ? Pin
Mohammad Dayyan26-Jul-08 12:06
MemberMohammad Dayyan26-Jul-08 12:06 
AnswerRe: Where is HttpUtility.HtmlDecode ? Pin
Jacek Gajek26-Jul-08 12:22
MemberJacek Gajek26-Jul-08 12:22 
GeneralRe: Where is HttpUtility.HtmlDecode ? Pin
Mohammad Dayyan26-Jul-08 12:28
MemberMohammad Dayyan26-Jul-08 12:28 
Questioncheckedlistbox binding Pin
bfis10813726-Jul-08 10:45
Memberbfis10813726-Jul-08 10:45 
Questioncouldn't remove controls [modified] Pin
netJP12L26-Jul-08 9:54
MembernetJP12L26-Jul-08 9:54 
AnswerRe: couldn't remove controls Pin
Mark Salsbery26-Jul-08 10:08
MemberMark Salsbery26-Jul-08 10:08 
GeneralRe: couldn't remove controls Pin
Jacek Gajek26-Jul-08 12:01
MemberJacek Gajek26-Jul-08 12:01 
GeneralRe: couldn't remove controls Pin
Mark Salsbery26-Jul-08 12:22
MemberMark Salsbery26-Jul-08 12:22 
GeneralRe: couldn't remove controls Pin
Jacek Gajek26-Jul-08 12:46
MemberJacek Gajek26-Jul-08 12:46 
AnswerRe: couldn't remove controls Pin
Luc Pattyn26-Jul-08 10:21
sitebuilderLuc Pattyn26-Jul-08 10:21 
GeneralRe: couldn't remove controls Pin
netJP12L26-Jul-08 10:46
MembernetJP12L26-Jul-08 10:46 
GeneralRe: couldn't remove controls Pin
Mark Salsbery26-Jul-08 10:51
MemberMark Salsbery26-Jul-08 10:51 

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.