473,395 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Question about C#

I am curious where does C# fit in regarding C and C++? Is it an
extension of standard C with just a fancy name to take into account
..NET or is more than that? I am a C programmer so I am curious to know
what it does differently in case I see a job posted for a C# programmer
instead of a C programmer. Any good links on the subject would be
great.

Thanks
Jake

Apr 24 '06 #1
8 1781
C# can't be compared to C. If you are a C programmer who had never seen C#
you can hardly imagine the possibilities C# and .NET is offering. It can be
compared to Java, but C or C++ can't compete with C# in terms of language
cleaniness, productivity and effectiveness.

Maybe you could start your reading here:
http://msdn.microsoft.com/vcsharp/pr.../fundamentals/
and a short introduction to the language may be found here:
http://en.wikipedia.org/wiki/C_Sharp...mming_language
<re***********@hotmail.com> wrote in message
news:11**********************@y43g2000cwc.googlegr oups.com...
I am curious where does C# fit in regarding C and C++? Is it an
extension of standard C with just a fancy name to take into account
.NET or is more than that? I am a C programmer so I am curious to know
what it does differently in case I see a job posted for a C# programmer
instead of a C programmer. Any good links on the subject would be
great.

Thanks
Jake

Apr 24 '06 #2
re***********@hotmail.com wrote:
I am curious where does C# fit in regarding C and
C++? Is it an extension of standard C with just a
fancy name to take into account .NET


No. There's "Managed C++" - the traditional C++ language with
extensions for .NET (e.g. automatic garbage collection for allocated
objects) - but C# has little to do with C or C++ beyond the basic
syntax (curly braces, "for"-loops, and so on). It's actually a lot
more similar to Java: all code must be inside a class, you are
strongly encouraged to use type-safe object references rather than
pointers (which, in C#, can only appear in specially designated
"unsafe code" blocks), and so on.

Eq.
Apr 24 '06 #3
JV
I did C right out of college. Not long later, I coded in nothing but C++ for
somewhere around a decade. At the time I thought I would never want to
program in another language.

Then I did a project in C#.

Now I pray I never have to code in C++ again.

To be more specific, I coded C++ windows applications and we developed our
own custom libraries and RAD system for the client/server world at that
time. And that's the thing about C++. Unless you have a ton of libraries,
you have to do all the grunt work yourself.

C# is like giving C++ all the benefits that VB programmers have been
enjoying while keeping most of the best things about C++. In my first C#
project it was relatively rare for me to encounter a problem that I had to
write my own library class to handle. In C++ it was pretty common.

I WILL say that they need more and better form controls/widgets straight out
of the box, but I think the latest version (2.0) has improved on that.
Apr 24 '06 #4
First of all thanks to all that replied.

Secondly - So you think C# takes more control away from the Programmer?
I have some trainning in Java but have only done minor changes for
about a month. Do you feel that the crossover from C to C# will be
seemless given my understanding of Java and C?
Lebesgue wrote:
C# can't be compared to C. If you are a C programmer who had never seen C#
you can hardly imagine the possibilities C# and .NET is offering. It can be
compared to Java, but C or C++ can't compete with C# in terms of language
cleaniness, productivity and effectiveness.

Maybe you could start your reading here:
http://msdn.microsoft.com/vcsharp/pr.../fundamentals/
and a short introduction to the language may be found here:
http://en.wikipedia.org/wiki/C_Sharp...mming_language
<re***********@hotmail.com> wrote in message
news:11**********************@y43g2000cwc.googlegr oups.com...
I am curious where does C# fit in regarding C and C++? Is it an
extension of standard C with just a fancy name to take into account
.NET or is more than that? I am a C programmer so I am curious to know
what it does differently in case I see a job posted for a C# programmer
instead of a C programmer. Any good links on the subject would be
great.

Thanks
Jake


Apr 24 '06 #5
Given good understanding of Java and OOP principles, the transition should
be very smooth.
But I doubt anyone would be able to move seamlessly from C to C# after
several years of C. The C-habits will remain and won't go away overnight.
Some C programmers would even not appreciate most of the qualities of C#.
Jon Galloway had written a nice blog about this issue a time ago:

4. It [programming in C] can make it hard for you to love framework based
development
5. It [] can teach you philosophies which will prevent you from really
understanding modern programming

The whole article is certainly worth reading.

http://weblogs.asp.net/jgalloway/arc...16/374212.aspx

"Jake Thompson" <re***********@hotmail.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
First of all thanks to all that replied.

Secondly - So you think C# takes more control away from the Programmer?
I have some trainning in Java but have only done minor changes for
about a month. Do you feel that the crossover from C to C# will be
seemless given my understanding of Java and C?
Lebesgue wrote:
C# can't be compared to C. If you are a C programmer who had never seen
C#
you can hardly imagine the possibilities C# and .NET is offering. It can
be
compared to Java, but C or C++ can't compete with C# in terms of language
cleaniness, productivity and effectiveness.

Maybe you could start your reading here:
http://msdn.microsoft.com/vcsharp/pr.../fundamentals/
and a short introduction to the language may be found here:
http://en.wikipedia.org/wiki/C_Sharp...mming_language
<re***********@hotmail.com> wrote in message
news:11**********************@y43g2000cwc.googlegr oups.com...
>I am curious where does C# fit in regarding C and C++? Is it an
> extension of standard C with just a fancy name to take into account
> .NET or is more than that? I am a C programmer so I am curious to know
> what it does differently in case I see a job posted for a C# programmer
> instead of a C programmer. Any good links on the subject would be
> great.
>
> Thanks
> Jake
>

Apr 24 '06 #6

<re***********@hotmail.com> wrote in message
news:11**********************@y43g2000cwc.googlegr oups.com...
I am curious where does C# fit in regarding C and C++? Is it an
extension of standard C with just a fancy name to take into account
.NET or is more than that? I am a C programmer so I am curious to know
what it does differently in case I see a job posted for a C# programmer
instead of a C programmer. Any good links on the subject would be
great.


Nobody will take you on for a C# job without C# experience (the usual
chicken and egg situation). In fact it's damn hard to get a job even with
some C# experience because most require ASP.NET and that's a difficult
subject to get the hang of from just playing around a bit unlike the rest of
the .NET stuff.
Apr 24 '06 #7
> Secondly - So you think C# takes more control away from the Programmer?

No. In fact, it is better to think of C# as an extension of C than anything
else. Just as C was an extension of Assembler, and C++ was an extension of
C, C# is an extension of C++. Hence, C# could be seen as C++[++] (think of 2
"++" overlapping each other and you get the idea). It's a bit more complex
than that, because the direct underlying code of C# is MSIL, but for all
intents and purposes, it's useful to think of it that way. You still have as
much access to the lower levels of programming as you need. They are just
encapsulated in such a way as to take them "out of the way" for most
programming jobs.
I have some trainning in Java but have only done minor changes for
about a month. Do you feel that the crossover from C to C# will be
seemless given my understanding of Java and C?
It really depends not so much on your knowledge of any language, but more on
your understanding of programming principles. Learning a programming syntax
is much easier than, for example, learning a human language. But all
languages have the same underlying principles behind them. They all perform
the same operations using different syntax.

In other words, the transition should not be difficult if you have a good
understanding of what the syntax of Java and/or C means in terms of what it
does.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

"Jake Thompson" <re***********@hotmail.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com... First of all thanks to all that replied.

Secondly - So you think C# takes more control away from the Programmer?
I have some trainning in Java but have only done minor changes for
about a month. Do you feel that the crossover from C to C# will be
seemless given my understanding of Java and C?
Lebesgue wrote:
C# can't be compared to C. If you are a C programmer who had never seen
C#
you can hardly imagine the possibilities C# and .NET is offering. It can
be
compared to Java, but C or C++ can't compete with C# in terms of language
cleaniness, productivity and effectiveness.

Maybe you could start your reading here:
http://msdn.microsoft.com/vcsharp/pr.../fundamentals/
and a short introduction to the language may be found here:
http://en.wikipedia.org/wiki/C_Sharp...mming_language
<re***********@hotmail.com> wrote in message
news:11**********************@y43g2000cwc.googlegr oups.com...
>I am curious where does C# fit in regarding C and C++? Is it an
> extension of standard C with just a fancy name to take into account
> .NET or is more than that? I am a C programmer so I am curious to know
> what it does differently in case I see a job posted for a C# programmer
> instead of a C programmer. Any good links on the subject would be
> great.
>
> Thanks
> Jake
>

Apr 25 '06 #8
It has already been stated very well. C# is it's own animal...in a
sense. It is based upon already proven concepts, and established
principles of development.

I remember the first Microsoft developer conference I went to where the
"new" C # language was demo'd with some simple examples. Having used
Java for windows and web development, C# sure looked familiar... The
benefits that come from C # are huge to those with a Java & VB
background. C# is Java with a Microsoft wrapper, bringing the benefits
of both together in a very sleek, and intuitive way.

I've been using C# for about 3 years now, and love it. C# by itself it
very very cool. C# in the complete .NET development environment, is
very impressive. I've seen others disagree with that notion, and offer
more complaints than praise for the entire .NET move, but I see it as a
very solid step in the right direction. As developers, the ultimate
and absolute killer app is the solution that anyone anywhere can use,
with little to no instruction beforehand, on any machine, at anytime.
C# in addition to the accompanying design methodoligies, integrated
tools and components, help us take that step much more easily.

It will be sometime before the Framework becomes common enough to make
that a reality; something that will surely be resolved with time.

Apr 25 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mohammed Mazid | last post by:
Can anyone please help me on how to move to the next and previous question? Here is a snippet of my code: Private Sub cmdNext_Click() End Sub Private Sub cmdPrevious_Click() showrecord
3
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question> <question index="1">true</question> </questions>
7
by: nospam | last post by:
Ok, 3rd or is it the 4th time I have asked this question on Partial Types, so, since it seems to me that Partial Types is still in the design or development stages at Microsoft, I am going to ask...
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
53
by: Jeff | last post by:
In the function below, can size ever be 0 (zero)? char *clc_strdup(const char * CLC_RESTRICT s) { size_t size; char *p; clc_assert_not_null(clc_strdup, s); size = strlen(s) + 1;
56
by: spibou | last post by:
In the statement "a *= expression" is expression assumed to be parenthesized ? For example if I write "a *= b+c" is this the same as "a = a * (b+c)" or "a = a * b+c" ?
2
by: Allan Ebdrup | last post by:
Hi, I'm trying to render a Matrix question in my ASP.Net 2.0 page, A matrix question is a question where you have several options that can all be rated according to several possible ratings (from...
3
by: Zhang Weiwu | last post by:
Hello! I wrote this: ..required-question p:after { content: "*"; } Corresponding HTML: <div class="required-question"><p>Question Text</p><input /></div> <div...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.