Попытка установки
ASP.NET MVC Release Candidate 1
добавлено 3 февраля: и
Windows PowerShell V2 Community Technology Preview 3 (CTP3)
на Vista 64 не увенчалась успехом.
пятница, 30 января 2009 г.
понедельник, 19 января 2009 г.
Date difference in C#
There is a very useful function for quantative comparing of dates in VisualBasic - DateDiff. This is a cause of a tiny envy of a numerous C#-coders, because there aren't an analog in C#. Well, in C# we could make a little workaround:
C#:
C#:
C#:
TimeSpan dateDiff(DateTime firstDate,DateTime secondDate)
{
return secondDate - firstDate;
}
Then, just take a necessary time unit (from days to milliseconds) from the Timespan structure:C#:
TimeSpan ts = dateDiff(today, DateTime.Parse('1999-01-01'));
int days=ts.Days;
int minutes=ts.Minutes;
пятница, 16 января 2009 г.
четверг, 15 января 2009 г.
errors
- "This solution is offline. [Team Foundation Server:"
- HELPed: devenv.exe /ResetSkipPkgs
- "The language-neutral solution package was not found."
was after: WSS Extensions util /uninstall
HELPed: setup.bat /install
Подписаться на:
Сообщения (Atom)