Click here to Skip to main content
15,923,087 members
Home / Discussions / C#
   

C#

 
GeneralRe: Predefined Macros Pin
Christian Graus19-Jul-05 10:32
protectorChristian Graus19-Jul-05 10:32 
GeneralOptional Parameter in C# Pin
arechno18-Jul-05 18:55
arechno18-Jul-05 18:55 
GeneralRe: Optional Parameter in C# Pin
Christian Graus18-Jul-05 19:02
protectorChristian Graus18-Jul-05 19:02 
GeneralRe: Optional Parameter in C# Pin
arechno18-Jul-05 19:27
arechno18-Jul-05 19:27 
GeneralRe: Optional Parameter in C# Pin
Christian Graus18-Jul-05 19:29
protectorChristian Graus18-Jul-05 19:29 
GeneralRe: Optional Parameter in C# Pin
DavidNohejl19-Jul-05 3:08
DavidNohejl19-Jul-05 3:08 
GeneralRe: Optional Parameter in C# Pin
Dave Doknjas19-Jul-05 16:45
Dave Doknjas19-Jul-05 16:45 
GeneralRe: Optional Parameter in C# Pin
Christian Graus19-Jul-05 16:52
protectorChristian Graus19-Jul-05 16:52 
Hi David. Have I bought your program ? Whichever VB->C# converter I bought, it truly rocked !!!

David Anton wrote:
allows unsafe code (I've yet to meet anyone who does this in C# though)

You're talking to one right now. Vital for image processing, although I'm told there's a non-unsafe way, I am yet to see the code to know what it is ( setpixel does NOT count ).

David Anton wrote:
has the 'as' operator (but VB has it in 2005 - 'TryCast')

Trouble is, most VB.NET users prefer to use the older casting operators, the ones that were in VB6. The problem with VB.NET is not lack of features, it's terrible hacks that have been maintained for legacy support ( and which Microsoft initally wanted to remove ).


David Anton wrote:
VB.NET : has optional parameters

Yeah, these would be nice, although I read a rationale against them online which made sense. All about performance.

David Anton wrote:
And this one is a doubtful benefit of VB: it gives you half a dozen ways to do a lot of things - some regard it as a benefit, while others hate it since it makes it harder to produce standard code in teams.

A problem that VB.NET only intensifies. It's my experience, from working on projects that are already in progress, that on average, VB.NET users know a hell of a lot less about good design and coding standards than C# users. It's also my experience that they don't use the new VB.NET features, because they are coding as if it was still VB6. I doubt many of them even know what it is they are asking the compiler to do.

Whichever converter I bought, it won me a whole lot of work, because I was able to convert a huge VB.NET program to C#, and I have worked on it ever since. I agree, style is an issue, I hate VB.NET syntax, but there's more to it than that, and the core issue is the sort of people who are using each language, on average. I'm sure there are good VB.NET coders and bad C# coders in the world, but overall, the trend is in the other direction.



Christian Graus - Microsoft MVP - C++
GeneralMy XmlFile looses its tree hierarchy after saving it Pin
rudy.net18-Jul-05 15:01
rudy.net18-Jul-05 15:01 
GeneralGetLParam function Pin
manhuber18-Jul-05 14:56
manhuber18-Jul-05 14:56 
GeneralRe: GetLParam function Pin
Luis Alonso Ramos18-Jul-05 15:30
Luis Alonso Ramos18-Jul-05 15:30 
GeneralASP('Cache-Control') Pin
felopater18-Jul-05 14:04
felopater18-Jul-05 14:04 
GeneralStatic Objects - Stupid Question Pin
Tristan Rhodes18-Jul-05 13:53
Tristan Rhodes18-Jul-05 13:53 
GeneralRe: Static Objects - Stupid Question Pin
leppie19-Jul-05 0:27
leppie19-Jul-05 0:27 
GeneralListView and VScrollBar. Pin
93Current18-Jul-05 13:36
93Current18-Jul-05 13:36 
GeneralRe: ListView and VScrollBar. Pin
Christian Graus18-Jul-05 13:45
protectorChristian Graus18-Jul-05 13:45 
GeneralRe: ListView and VScrollBar. Pin
Jano Petras18-Jul-05 14:36
Jano Petras18-Jul-05 14:36 
GeneralSolution is very simple! Pin
93Current19-Jul-05 9:14
93Current19-Jul-05 9:14 
QuestionThis program will self destruct in 10 sec....??? Pin
WetRivrRat18-Jul-05 12:22
WetRivrRat18-Jul-05 12:22 
AnswerRe: This program will self destruct in 10 sec....??? Pin
Christian Graus18-Jul-05 13:07
protectorChristian Graus18-Jul-05 13:07 
AnswerRe: This program will self destruct in 10 sec....??? Pin
Luis Alonso Ramos18-Jul-05 15:34
Luis Alonso Ramos18-Jul-05 15:34 
GeneralSNMP Pin
palwhatsup18-Jul-05 12:13
palwhatsup18-Jul-05 12:13 
GeneralRe: SNMP Pin
leppie19-Jul-05 0:32
leppie19-Jul-05 0:32 
QuestiondeSerialization is slow why? Pin
erdsah8818-Jul-05 11:48
erdsah8818-Jul-05 11:48 
AnswerRe: deSerialization is slow why? Pin
Robert Rohde18-Jul-05 18:42
Robert Rohde18-Jul-05 18:42 

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.