Click here to Skip to main content
16,006,001 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Sorting of Vehicle Numbers PinPopular
Pete O'Hanlon26-Mar-14 0:35
mvePete O'Hanlon26-Mar-14 0:35 
AnswerRe: Sorting of Vehicle Numbers Pin
jschell26-Mar-14 11:50
jschell26-Mar-14 11:50 
Questionstatic Math vs sealed Application Pin
Mirani Ajay25-Mar-14 23:58
Mirani Ajay25-Mar-14 23:58 
AnswerRe: static Math vs sealed Application Pin
Eddy Vluggen26-Mar-14 4:03
professionalEddy Vluggen26-Mar-14 4:03 
AnswerRe: static Math vs sealed Application Pin
Dave Kreskowiak26-Mar-14 4:18
mveDave Kreskowiak26-Mar-14 4:18 
GeneralRe: static Math vs sealed Application Pin
Eddy Vluggen26-Mar-14 6:08
professionalEddy Vluggen26-Mar-14 6:08 
GeneralRe: static Math vs sealed Application Pin
Dave Kreskowiak26-Mar-14 6:12
mveDave Kreskowiak26-Mar-14 6:12 
AnswerRe: static Math vs sealed Application Pin
Richard Deeming26-Mar-14 6:25
mveRichard Deeming26-Mar-14 6:25 
In .NET 1.0 / 1.1, both the System.Math[^] and System.Windows.Forms.Application[^] classes were sealed with a private constructor.

When static classes were introduced in .NET 2.0, the Math class was updated to take advantage of this new construct, but it looks like the System.Windows.Forms.Application wasn't.

Looking at the source[^], the class doesn't have any instance members, and is never instantiated, so it would have made sense to change it to a static class. However, this change wouldn't make any significant difference, so it's unlikely that it will ever be changed.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


AnswerRe: static Math vs sealed Application Pin
jschell26-Mar-14 11:52
jschell26-Mar-14 11:52 
QuestionNepali Unicode Pin
mebishnu22-Mar-14 22:01
mebishnu22-Mar-14 22:01 
AnswerRe: Nepali Unicode Pin
Richard MacCutchan23-Mar-14 1:46
mveRichard MacCutchan23-Mar-14 1:46 
AnswerRe: Nepali Unicode Pin
Bernhard Hiller23-Mar-14 21:46
Bernhard Hiller23-Mar-14 21:46 
GeneralRe: Nepali Unicode Pin
mebishnu16-Apr-14 0:27
mebishnu16-Apr-14 0:27 
AnswerRe: Nepali Unicode Pin
jschell24-Mar-14 8:26
jschell24-Mar-14 8:26 
Questionhow to set specific time in windows service Pin
ven75322-Mar-14 19:36
ven75322-Mar-14 19:36 
AnswerRe: how to set specific time in windows service Pin
Peter Leow22-Mar-14 20:31
professionalPeter Leow22-Mar-14 20:31 
QuestionFXCop (VS 2013 Pro) and private P/Invoke methods Pin
obermd22-Mar-14 12:00
obermd22-Mar-14 12:00 
AnswerRe: FXCop (VS 2013 Pro) and private P/Invoke methods Pin
Eddy Vluggen26-Mar-14 8:10
professionalEddy Vluggen26-Mar-14 8:10 
GeneralRe: FXCop (VS 2013 Pro) and private P/Invoke methods Pin
obermd26-Mar-14 8:56
obermd26-Mar-14 8:56 
GeneralRe: FXCop (VS 2013 Pro) and private P/Invoke methods Pin
obermd26-Mar-14 13:31
obermd26-Mar-14 13:31 
QuestionError on System.Web.Helpers.WebMail.Send() method in TFS 2012 Pin
trevor1519-Mar-14 4:04
trevor1519-Mar-14 4:04 
AnswerRe: Error on System.Web.Helpers.WebMail.Send() method in TFS 2012 Pin
Richard MacCutchan19-Mar-14 4:19
mveRichard MacCutchan19-Mar-14 4:19 
QuestionGetting "Handle" of DirectX Output inside a WPF Window/Containter... Pin
Christopher Koeber18-Mar-14 11:29
Christopher Koeber18-Mar-14 11:29 
QuestionIOCContainer nested dependencies and failed resolves Pin
preaa10-Mar-14 23:38
preaa10-Mar-14 23:38 
AnswerRe: IOCContainer nested dependencies and failed resolves Pin
Pete O'Hanlon11-Mar-14 12:05
mvePete O'Hanlon11-Mar-14 12:05 

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.