Hi guys
the first question :
in C# .NET 2010 when i write string the compiler tell me that there is two type of strings
1- string
2- String
so what the difference between them ??
the second question :
i don't know what programming language have to learn ??
in the university we learned c++ (we learned the basics only) after that i read (HOW TO PROGRAM IN C++) for Ditel & Ditel in thats time i was working in Visual studio c++ 6
but when i started to write a practice programming using Microsoft Visual Studio 2010 .NET i found that C# is more benefit and easier .
but i feel that c++ is strongest from C# !!
so i want an advice what i have to do exactly ?? >>
thanks :>
simple question about strings in c#
Page 1 of 15 Replies - 351 Views - Last Post: 21 June 2011 - 12:07 AM
Replies To: simple question about strings in c#
#2
Re: simple question about strings in c#
Posted 20 June 2011 - 02:51 PM
First Question:
http://stackoverflow...-vs-string-in-c
Second:
Although I have little experience with C# and no experience with C++, I love the syntax of C#. However, with Windows 8 (possibly) limiting/deleting support for C# applications, I would suggest C++, due to it be more cross-platform.
http://stackoverflow...-vs-string-in-c
Second:
Although I have little experience with C# and no experience with C++, I love the syntax of C#. However, with Windows 8 (possibly) limiting/deleting support for C# applications, I would suggest C++, due to it be more cross-platform.
#3
Re: simple question about strings in c#
Posted 20 June 2011 - 03:15 PM
That SO link sums it up better than I could. Short version: there's no actual difference.
That's not going to happen. At the moment, the speculation is that it possibly might not be supported to develop the fancy new UI apps, it will absolutely be supported for the standard desktop applications. And even that's not confirmed (the bit about the UI). Let's not start saying the sky is falling.
There's honestly no good way to answer this question. We're mostly C# developers on this sub-forum, so guess what's the most popular answer you're going to get? But what matters is what you want to do. You aren't going to be writing drivers with C#. C++ is simply more powerful, in the sense that it's unmanaged, and very low level. C# is much more high level, working within the confines of the .NET framework, but it's also significantly simpler and easier to use. And it's still pretty damn powerful. I've never needed to do something that I couldn't with C# (at worst, P/Invoking the Win32 C DLLs).
The lines are blurring a bit. I would have said game programming is best done in C++, but with XNA, that's not necessarily true anymore. Just try them both and see which you enjoy working with more.
Quote
However, with Windows 8 (possibly) limiting/deleting support for C# applications, I would suggest C++, due to it be more cross-platform.
That's not going to happen. At the moment, the speculation is that it possibly might not be supported to develop the fancy new UI apps, it will absolutely be supported for the standard desktop applications. And even that's not confirmed (the bit about the UI). Let's not start saying the sky is falling.
There's honestly no good way to answer this question. We're mostly C# developers on this sub-forum, so guess what's the most popular answer you're going to get? But what matters is what you want to do. You aren't going to be writing drivers with C#. C++ is simply more powerful, in the sense that it's unmanaged, and very low level. C# is much more high level, working within the confines of the .NET framework, but it's also significantly simpler and easier to use. And it's still pretty damn powerful. I've never needed to do something that I couldn't with C# (at worst, P/Invoking the Win32 C DLLs).
The lines are blurring a bit. I would have said game programming is best done in C++, but with XNA, that's not necessarily true anymore. Just try them both and see which you enjoy working with more.
#4
Re: simple question about strings in c#
Posted 20 June 2011 - 04:11 PM
the problem that i am studying computer and automation engineering
so the most projects that we studied depends on low programming language level.(programming a micro-controller and FPGA in C)
but the all programming companies in my city using C# and all programmers that working in it know C# only .
they looks at C++ that is a very hard language and it's only for hard-ware.
so when i see that i say to my self that i should learn C#.
My mainly problem that i am fond of computer and it's all sciences.
so i learned web development science (php,css,html,javascript,jquery)
and learned C++ and C# (not very perfect).
and learned Micro-controller programming in C .
hahaha i feel that i will be crazy
i know this way is worng , so what you advice me ??
Sorry for the inconvenience
thanks
so the most projects that we studied depends on low programming language level.(programming a micro-controller and FPGA in C)
but the all programming companies in my city using C# and all programmers that working in it know C# only .
they looks at C++ that is a very hard language and it's only for hard-ware.
so when i see that i say to my self that i should learn C#.
My mainly problem that i am fond of computer and it's all sciences.
so i learned web development science (php,css,html,javascript,jquery)
and learned C++ and C# (not very perfect).
and learned Micro-controller programming in C .
hahaha i feel that i will be crazy
i know this way is worng , so what you advice me ??
Sorry for the inconvenience
thanks
#5
Re: simple question about strings in c#
Posted 20 June 2011 - 07:59 PM
Well, at least this part isn't true:
"and it's only for hard-ware"
C++ is able to do pretty much anything C# is, just not always as simply. C++ is incredibly versatile, but that's one of the reasons it's complex. I wish I could give you more insight, but maybe you could just learn both.
"and it's only for hard-ware"
C++ is able to do pretty much anything C# is, just not always as simply. C++ is incredibly versatile, but that's one of the reasons it's complex. I wish I could give you more insight, but maybe you could just learn both.
#6
Re: simple question about strings in c#
Posted 21 June 2011 - 12:07 AM
OK Curtis Rutland
thank you very much
thank you very much
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|