Loading...
DotNetKicks.com
.NET links, community driven
login
register
submit a story
upcoming stories
about
blog
Why not
join our community?
, there are
14 users online
home
users
dmihailescu
comments
DotNetKick.com is an
open-source project
. Please
report any bugs
and let us know
your great suggestions
.
Currently running svn revision
620
(rss)
Kick Spy!
,
Kick Zeitgeist
and
Kick Widgets
dmihailescu
dmihailescu
Profile
Kicked
Submitted
Comments
Tags
Friends
Kicked By Friends
Submitted By Friends
Comments:
How to call a surrogate for Dispose() on StringBuilder objects
As I've shown, it's setting Length = 0, or another less elegant alternative is to call Replace(string.Empty) on the StringBuilder object.
That should clear the internal memory without invoking the finalizer.
posted by
dmihailescu
1 year, 1 month ago
How to perform DateTime calculations in a right way
DateTime d;
d = DateTime.Parse("Oct 26, 2003 12:00:00 AM"); //date assignment
d = d.ToUniversalTime().AddHours(3.0).ToLocalTime();
//' - displays 10/26/2003 02:00:00 AM – Correct!
MessageBox.Show(d.ToString());
I thought that the correct result should be 3 a.m. not 2.a.m.
Am I missing something?
posted by
dmihailescu
1 year, 1 month ago
« Previous
1
Next »
Sponsored Link:
www.carlist.ie
Search:
Ads via The Lounge
DotNetKicks is an open source project from
Incremental Systems