Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# and null Structs? Pin
James T. Johnson27-Aug-02 18:18
James T. Johnson27-Aug-02 18:18 
GeneralRe: C# and null Structs? Pin
Rodney S. Foley27-Aug-02 18:47
Rodney S. Foley27-Aug-02 18:47 
GeneralRe: C# and null Structs? Pin
leppie27-Aug-02 21:33
leppie27-Aug-02 21:33 
GeneralRe: C# and null Structs? Pin
Rodney S. Foley28-Aug-02 8:18
Rodney S. Foley28-Aug-02 8:18 
GeneralRe: C# and null Structs? Pin
leppie28-Aug-02 8:52
leppie28-Aug-02 8:52 
AnswerRe: C# and null Structs? Pin
Alastair Stell27-Aug-02 21:52
Alastair Stell27-Aug-02 21:52 
GeneralRe: C# and null Structs? Pin
Rodney S. Foley28-Aug-02 7:50
Rodney S. Foley28-Aug-02 7:50 
GeneralRe: C# and null Structs? Pin
Alastair Stell29-Aug-02 4:48
Alastair Stell29-Aug-02 4:48 
Coming from a pure object oriented background (smalltalk and eiffel) I am very sympathetic to your view. Like you I mostly avoid using structures. When I do create structures I generally employ 'new', and I mostly use them for interop with Windows API's.

Obviously value types were retained for speed optimizations and because the second you drop below the rather spartan GDI+ abstraction you will be making extensive use of structures.

Unfortunately C# is still a hybrid language - for instance, it is not truly polymorphic. And it does not use messaging as its primary medium for communicating between objects. However, the inclusion of the Interface 'pattern' has gone some way towards alleviating the lack of full polymorphism. And it does encourage a rather nice 'published' approach to defining component interfaces. I wish that metadata manipulation were a shade better developed. On the odd occasion I cannot be bothered to write an Interface I end up using the 'is' keyword and casting objects to specific class types. Which is a bit of a bore really.

Studio .NET is really just a two trick pony. C# is the primary language and C++ is retained for those occasions you really must drop down to API level (I use C++ to wrap DirectX API code for instance).

VB.NET is just C# with VB-like syntax. Likewise J#. Except that J# is essentially useless to serious Java programmers because it has no support for VM/Swing. I also mourn losing FoxPro database. But hey, that's life.


Only change is constant
GeneralRe: C# and null Structs? Pin
Rodney S. Foley29-Aug-02 9:49
Rodney S. Foley29-Aug-02 9:49 
GeneralCPropertySheet Pin
candan27-Aug-02 17:11
professionalcandan27-Aug-02 17:11 
GeneralRe: CPropertySheet Pin
James T. Johnson27-Aug-02 17:52
James T. Johnson27-Aug-02 17:52 
GeneralRe: CPropertySheet Pin
candan27-Aug-02 20:06
professionalcandan27-Aug-02 20:06 
GeneralRe: CPropertySheet Pin
James T. Johnson27-Aug-02 20:11
James T. Johnson27-Aug-02 20:11 
GeneralRe: CPropertySheet Pin
leppie27-Aug-02 21:42
leppie27-Aug-02 21:42 
GeneralJames, how do i upload? Pin
leppie27-Aug-02 22:00
leppie27-Aug-02 22:00 
GeneralRe: James, how do i upload? Pin
Mazdak27-Aug-02 22:23
Mazdak27-Aug-02 22:23 
GeneralRe: James, how do i upload? Pin
James T. Johnson28-Aug-02 6:06
James T. Johnson28-Aug-02 6:06 
GeneralMouse Capture Pin
Alex Korchemniy27-Aug-02 15:12
Alex Korchemniy27-Aug-02 15:12 
GeneralRe: Mouse Capture Pin
Alastair Stell27-Aug-02 17:04
Alastair Stell27-Aug-02 17:04 
GeneralError when converting to use UDP Pin
Luis Alonso Ramos27-Aug-02 14:34
Luis Alonso Ramos27-Aug-02 14:34 
GeneralRe: Error when converting to use UDP Pin
Michael Mac28-Aug-02 2:15
Michael Mac28-Aug-02 2:15 
GeneralRe: Error when converting to use UDP Pin
Luis Alonso Ramos28-Aug-02 3:04
Luis Alonso Ramos28-Aug-02 3:04 
GeneralRe: Error when converting to use UDP Pin
Michael Mac28-Aug-02 3:51
Michael Mac28-Aug-02 3:51 
GeneralRe: Error when converting to use UDP Pin
Luis Alonso Ramos28-Aug-02 4:14
Luis Alonso Ramos28-Aug-02 4:14 
GeneralRe: Error when converting to use UDP Pin
Russell Morris28-Aug-02 4:36
Russell Morris28-Aug-02 4:36 

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.