473,385 Members | 1,569 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,385 software developers and data experts.

CSharp

I need help for a problem regarding CSharp. Could anyone tell me what it is?

ma**********@assess4.co.uk
Feb 28 '07 #1
25 2226
On Feb 28, 1:39 pm, Mark Campbell wrote:
I need help for a problem regarding CSharp. Could anyone tell me what it is?

markcampb...@assess4.co.uk
http://en.wikipedia.org/wiki/Csharp

Feb 28 '07 #2
All systems are "GO", Mark. Go ahead and ask your question.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Mark Campbell" wrote:
I need help for a problem regarding CSharp. Could anyone tell me what it is?

ma**********@assess4.co.uk
Feb 28 '07 #3
<Mark Campbellwrote in message
news:Of**************@TK2MSFTNGP03.phx.gbl...
>I need help for a problem regarding CSharp. Could anyone tell me what it
is?
This forum, like all the Microsoft technical support peer-to-peer forums, is
visited by lots of people, most of whom have a great deal of knowledge about
the subject of the forum... in this, case, C#. They will all be glad to try
to help you...

However, as far as I am aware, most of them aren't psychic.

All you have to do is, er, actually ask a question...

Go on - give it a go! It's really easy...
Feb 28 '07 #4
Mark Rae wrote:
<Mark Campbellwrote in message
news:Of**************@TK2MSFTNGP03.phx.gbl...
>I need help for a problem regarding CSharp. Could anyone tell me
what it is?

This forum, like all the Microsoft technical support peer-to-peer
forums, is visited by lots of people, most of whom have a great deal
of knowledge about the subject of the forum... in this, case, C#.
They will all be glad to try to help you...

However, as far as I am aware, most of them aren't psychic.

All you have to do is, er, actually ask a question...

Go on - give it a go! It's really easy...
Perhaps the question is "What is CSharp?" It's a programming language very
similar to Java.
Feb 28 '07 #5
"Mike Schilling" <ap@newsgroup.nospamwrote in message
news:Ov****************@TK2MSFTNGP03.phx.gbl...
Perhaps the question is "What is CSharp?" It's a programming language
very similar to Java.
Is it...?

In what way(s) is C# "very similar" to Java...?
Mar 1 '07 #6
Precisely, my good fellow. That IS the question! We should all take a lesson
in the virtues of brevity from this kind person!

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Mike Schilling" wrote:
Mark Rae wrote:
<Mark Campbellwrote in message
news:Of**************@TK2MSFTNGP03.phx.gbl...
I need help for a problem regarding CSharp. Could anyone tell me
what it is?
This forum, like all the Microsoft technical support peer-to-peer
forums, is visited by lots of people, most of whom have a great deal
of knowledge about the subject of the forum... in this, case, C#.
They will all be glad to try to help you...

However, as far as I am aware, most of them aren't psychic.

All you have to do is, er, actually ask a question...

Go on - give it a go! It's really easy...

Perhaps the question is "What is CSharp?" It's a programming language very
similar to Java.
Mar 1 '07 #7
Mark Rae wrote:
"Mike Schilling" <ap@newsgroup.nospamwrote in message
news:Ov****************@TK2MSFTNGP03.phx.gbl...
>Perhaps the question is "What is CSharp?" It's a programming
language very similar to Java.

Is it...?
Yes. Ask anyone who programs in both.
Mar 1 '07 #8
PS

"Mike Schilling" <ap@newsgroup.nospamwrote in message
news:u2*************@TK2MSFTNGP02.phx.gbl...
Mark Rae wrote:
>"Mike Schilling" <ap@newsgroup.nospamwrote in message
news:Ov****************@TK2MSFTNGP03.phx.gbl...
>>Perhaps the question is "What is CSharp?" It's a programming
language very similar to Java.

Is it...?

Yes. Ask anyone who programs in both.
If it's similar then aren't C# programmer already programming in both?

PS
Mar 1 '07 #9
PS <ec***********@hotmail.comwrote:
Is it...?
Yes. Ask anyone who programs in both.

If it's similar then aren't C# programmer already programming in both?
No. "Similar" doesn't mean "the same".

I'd agree that the two languages are very similar though. Anyone
competent in one will find that the biggest hurdle in moving to the
other isn't the language, but the framework.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Mar 1 '07 #10
On Wed, 28 Feb 2007 12:39:14 -0800, Mark Campbell wrote:
>I need help for a problem regarding CSharp. Could anyone tell me what it is?

ma**********@assess4.co.uk
People don't get the joke because your ironic troll is too similar to
many of the serious questions that get posted to this group. I don't
really know how could satirize them, honestly -- they're already the
perfect self-parody!
--
http://www.kynosarges.de
Mar 1 '07 #11
PS

"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP************************@msnews.microsoft.c om...
PS <ec***********@hotmail.comwrote:
>Is it...?

Yes. Ask anyone who programs in both.

If it's similar then aren't C# programmer already programming in both?

No. "Similar" doesn't mean "the same".

I'd agree that the two languages are very similar though. Anyone
competent in one will find that the biggest hurdle in moving to the
other isn't the language, but the framework.
The orignal post was "very similar" which implies to me "almost the same".
This I would have to disagree with. I would tend to say "somewhat similar",
like Spanish and Italian.

PS
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Mar 1 '07 #12
PS wrote:
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP************************@msnews.microsoft.c om...
>PS <ec***********@hotmail.comwrote:
>>>>Is it...?

Yes. Ask anyone who programs in both.

If it's similar then aren't C# programmer already programming in
both?

No. "Similar" doesn't mean "the same".

I'd agree that the two languages are very similar though. Anyone
competent in one will find that the biggest hurdle in moving to the
other isn't the language, but the framework.

The orignal post was "very similar" which implies to me "almost the
same". This I would have to disagree with. I would tend to say
"somewhat similar", like Spanish and Italian.
Natural languages make unclear analogies.

I would say that Java and C# are more similar than Wirth's original Pascal
and ISO Pascal.
Mar 2 '07 #13
Mark Rae wrote:
"Mike Schilling" <ap@newsgroup.nospamwrote in message
news:Ov****************@TK2MSFTNGP03.phx.gbl...
>Perhaps the question is "What is CSharp?" It's a programming language
very similar to Java.

Is it...?

In what way(s) is C# "very similar" to Java...?
Language syntax. And some of the basic libraries.

A Java console program and a C# console program
doing the same is often very identical. Moving the
start curly brackets is one the biggest
tasks in a conversion between two such.

Arne
Mar 2 '07 #14
Arne Vajhøj wrote:
Moving the
start curly brackets is one the biggest
tasks in a conversion between two such.
How do you mean? Aren't indentation and "where you put the braces"
merely a cosmetic and personal preference in both Java and C#?

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

The opinions stated above are not necessarily representative of
those of my cats. All opinions expressed are entirely your own.
Mar 2 '07 #15
Dylan Parry wrote:
Arne Vajhøj wrote:
>Moving the
start curly brackets is one the biggest
tasks in a conversion between two such.

How do you mean? Aren't indentation and "where you put the braces"
merely a cosmetic and personal preference in both Java and C#?
Both SUN and MS has published coding conventions.

I follow SUN coding concvention for Java and MS coding
convention for C# (unless told otherwise).

So I move the start curly brackets when I convert
code between Java and C#.

And sometimes that take longer time that actually
getting the code to compile.

And the point is that sometimes the conversion effort
is very small.

Arne
Mar 4 '07 #16
Arne Vajhøj <ar**@vajhoej.dkwrote:
How do you mean? Aren't indentation and "where you put the braces"
merely a cosmetic and personal preference in both Java and C#?
Both SUN and MS has published coding conventions.

I follow SUN coding concvention for Java and MS coding
convention for C# (unless told otherwise).

So I move the start curly brackets when I convert
code between Java and C#.
There's a lot of point in following *naming* conventions when writing
your own code, as it means it fits in well with the rest of the
framework. Brace position, however, is more of a private matter IMO.
It's good to have consistency within a project, but it makes no
difference otherwise.

(Personally I can't stand the "opening brace at the end of the line"
style.)

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Mar 4 '07 #17
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP************************@msnews.microsoft.c om...

(Personally I can't stand the "opening brace at the end of the line"
style.)

Me neither...
Mar 4 '07 #18
Jon Skeet [C# MVP] wrote:
(Personally I can't stand the "opening brace at the end of the line"
style.)
I used that convention until only a week or so ago. Then for some reason
I decided that I couldn't stand it and went back to putting the opening
brace on the next line, without a tab, as I had been told to use about
seven years previous.

Luckily, being the only programmer at work, this means I am free to
change my coding style whenever I feel like it[1], but even then it can
be a pain to change old code to conform to this week's whim :)

As luck would have it though, Visual Studio is nice enough to force
specific formatting on your code when you have set the correct options
in the preferences menu. This meant that, in the above situation, all I
had to do was open up my projects, then delete and re-write the final
brace in each .cs file, and VS formatted all my code nicely.

_____
[1] Which is generally never. I tend to write down exactly how I will
format the code in my projects right at the outset, and then stick to it
vigorously. I'll only make changes to my style if I find that some other
style is actually better than my own. Saying that, I did download a few
coding style guides back when I started learning C# and haven't deviated
much from them since then.

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

The opinions stated above are not necessarily representative of
those of my cats. All opinions expressed are entirely your own.
Mar 4 '07 #19
Jon Skeet [C# MVP] wrote:
Arne Vajhøj <ar**@vajhoej.dkwrote:
>>How do you mean? Aren't indentation and "where you put the braces"
merely a cosmetic and personal preference in both Java and C#?
Both SUN and MS has published coding conventions.

I follow SUN coding concvention for Java and MS coding
convention for C# (unless told otherwise).

So I move the start curly brackets when I convert
code between Java and C#.

There's a lot of point in following *naming* conventions when writing
your own code, as it means it fits in well with the rest of the
framework. Brace position, however, is more of a private matter IMO.
It's good to have consistency within a project, but it makes no
difference otherwise.
It is not particular funny for maintenance programmers if
half the code uses K&R and the other half Allman.

Arne

Mar 5 '07 #20
Arne Vajhøj wrote:
Jon Skeet [C# MVP] wrote:
>Arne Vajhøj <ar**@vajhoej.dkwrote:
>>>How do you mean? Aren't indentation and "where you put the braces"
merely a cosmetic and personal preference in both Java and C#?
Both SUN and MS has published coding conventions.

I follow SUN coding concvention for Java and MS coding
convention for C# (unless told otherwise).

So I move the start curly brackets when I convert
code between Java and C#.

There's a lot of point in following *naming* conventions when writing
your own code, as it means it fits in well with the rest of the
framework. Brace position, however, is more of a private matter IMO.
It's good to have consistency within a project, but it makes no
difference otherwise.

It is not particular funny for maintenance programmers if
half the code uses K&R and the other half Allman.
Which I believe is why Jon said "Within a project".

Today's IDEs make it simple enough to make brace style, indenting, etc.
consistent within a file. Unfortunately, the weird disconnect that exists
between IDEs, which know enough about language syntax to make reformatting,
renaming variables, etc a snap, and SCM systems, which know nothing but
lines and bytes in lines [1] means that this sort of reformatting can
introduce many spurious diffs that obfuscate the history of the file.

1. And in many cases, even treat CR vs. CRLF line-termination as a
significant difference.
Mar 5 '07 #21
Mike Schilling wrote:
Arne Vajhøj wrote:
>Jon Skeet [C# MVP] wrote:
>>Arne Vajhøj <ar**@vajhoej.dkwrote:
How do you mean? Aren't indentation and "where you put the braces"
merely a cosmetic and personal preference in both Java and C#?
Both SUN and MS has published coding conventions.

I follow SUN coding concvention for Java and MS coding
convention for C# (unless told otherwise).

So I move the start curly brackets when I convert
code between Java and C#.
There's a lot of point in following *naming* conventions when writing
your own code, as it means it fits in well with the rest of the
framework. Brace position, however, is more of a private matter IMO.
It's good to have consistency within a project, but it makes no
difference otherwise.
It is not particular funny for maintenance programmers if
half the code uses K&R and the other half Allman.

Which I believe is why Jon said "Within a project".
Is it unusual with 1 project, >1 developer and 1 maintainer ?

Arne
Mar 6 '07 #22
Arne Vajhøj <ar**@vajhoej.dkwrote:
Which I believe is why Jon said "Within a project".
Is it unusual with 1 project, >1 developer and 1 maintainer ?
No - which is why I said it's important to be consistent within a
project. All the developers and maintainers within a project should use
the same bracing style, but so long as they agree, it doesn't matter
too much what it is.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Mar 6 '07 #23
Jon Skeet [C# MVP] wrote:
Arne Vajhøj <ar**@vajhoej.dkwrote:
>>Which I believe is why Jon said "Within a project".
Is it unusual with 1 project, >1 developer and 1 maintainer ?

No - which is why I said it's important to be consistent within a
project. All the developers and maintainers within a project should use
the same bracing style, but so long as they agree, it doesn't matter
too much what it is.
Assuming that maintenance programmers does not have to switch
between projects ...

Arne
Mar 15 '07 #24
Arne Vajhøj <ar**@vajhoej.dkwrote:
Jon Skeet [C# MVP] wrote:
Arne Vajhøj <ar**@vajhoej.dkwrote:
>Which I believe is why Jon said "Within a project".
Is it unusual with 1 project, >1 developer and 1 maintainer ?
No - which is why I said it's important to be consistent within a
project. All the developers and maintainers within a project should use
the same bracing style, but so long as they agree, it doesn't matter
too much what it is.
Assuming that maintenance programmers does not have to switch
between projects ...
If they have to change *often* (an occasional change isn't too hard to
cope with) then the company should certainly standardise on one way or
the other - it would generally be a good idea to do so anyway.

However, my main point was that the style used isn't visible to
external code, and while I believe that a thorough study would show K&R
to be harder to get used to, I don't believe there's sufficient
difference to try to impose one style on *everyone*. Compare that with
naming conventions, where it's useful for everyone to use the same
conventions for one platform.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Mar 15 '07 #25
Jon Skeet [C# MVP] wrote:
Arne Vajhøj <ar**@vajhoej.dkwrote:
>Jon Skeet [C# MVP] wrote:
>>Arne Vajhøj <ar**@vajhoej.dkwrote:
Which I believe is why Jon said "Within a project".
Is it unusual with 1 project, >1 developer and 1 maintainer ?
No - which is why I said it's important to be consistent within a
project. All the developers and maintainers within a project should use
the same bracing style, but so long as they agree, it doesn't matter
too much what it is.
Assuming that maintenance programmers does not have to switch
between projects ...

If they have to change *often* (an occasional change isn't too hard to
cope with) then the company should certainly standardise on one way or
the other - it would generally be a good idea to do so anyway.

However, my main point was that the style used isn't visible to
external code, and while I believe that a thorough study would show K&R
to be harder to get used to, I don't believe there's sufficient
difference to try to impose one style on *everyone*.
I do. I does not really cost much in effort. And it prepares
better for future code and project changes.

"One Coding Convention to rule them all"

:-)

Arne
Mar 17 '07 #26

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

Similar topics

0
by: Jonathan Grobe | last post by:
From: Nigel Perry <nigel@cosc.canterbury.ac.nz> Newsgroups: news.announce.newgroups,news.groups Subject: RFD: comp.std.csharp Date: Tue, 08 Jul 2003 00:26:01 +0000 REQUEST FOR DISCUSSION (RFD)...
7
by: Eric Gunnerson | last post by:
If you would like to see this group created, please reply to this post, making sure you leave news.groups on the newsgroups line. "Nigel Perry" <nigel@cosc.canterbury.ac.nz> wrote in message...
5
by: Mr. x | last post by:
Hello, where can I find csharp tutorial/help/samples. *.chm file is preffered. Thanks :)
8
by: Nicolas | last post by:
How do I do a RaiseEvent in csharp I'm ok in VB but csharp confused me a lot. ******* code ******** private FileSystemWatcher watcher = new FileSystemWatcher(); public delegate void...
4
by: light_wt | last post by:
Hi I am taking the 2555 class and a lot of the material is over my head. I don't like the MS's book because there is no step-by-step on interacting with the VS.NET Is there good free resource...
2
by: anand | last post by:
Hi All, Are ownerdraw buttons supported in C# ? I have an active X control which I would like to use in CSharp. Buttons have a style BS_OWNERDRAW, and to do custom drawing you have to...
7
by: Peter Smirnov | last post by:
Sorry for this newbie question but as far as I heard one need at least VisualStudio to develop CSharp applications. Is this correct? Are there otherwise some command line tools like javac.exe and...
1
by: Preston | last post by:
hello all... My friend using vb.net made a DLL file which contains a Property Kkk(ByVal key As Object) in it, I use CSharp and reference this DLL file, but in csharp object browser, there is no...
2
by: news.microsoft.com | last post by:
Hi: I work in Csharp's parser files by LEX/YACC.Now I have only CSharp-lex.l and CSharp.y file,but they not have CSharp'comment Parse. this is a part of CSharp-lex.l. ........................
2
by: Karl | last post by:
Hi all, I'm reasonably new to csharp so you have to forgive me asking what may be a stupid question... As I said, I'm new to CSharp but in VB I was able to click anywhere on a DataGridView...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.