473,508 Members | 2,212 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Everything has to be complicated?!

Why is something as simple as #region diffrent in vb and c#?!
I know they are two totally dif languages, but come on!

vb:
#Region "Title"
#End Region

c#:
#Region Title
#Endregion
They should have made standards in all the platforms
Nov 20 '05 #1
5 1004
Well .. it could be asked, "Why have two languages when they are supposed to
be exactly the same?" ;-)

I think either viewpoint could be argued either way.

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.ma.../13/63199.aspx
----------------------------------------------------------------------------


"Hareth" <ab******@hotmail.com> wrote in message
news:e8*************@TK2MSFTNGP09.phx.gbl...
Why is something as simple as #region diffrent in vb and c#?!
I know they are two totally dif languages, but come on!

vb:
#Region "Title"
#End Region

c#:
#Region Title
#Endregion
They should have made standards in all the platforms

Nov 20 '05 #2
B
I think you answered your own question with this sentence: "I know they are
two totally dif languages, but come on!"

--Brendon

"Hareth" <ab******@hotmail.com> wrote in message
news:e8*************@TK2MSFTNGP09.phx.gbl...
Why is something as simple as #region diffrent in vb and c#?!
I know they are two totally dif languages, but come on!

vb:
#Region "Title"
#End Region

c#:
#Region Title
#Endregion
They should have made standards in all the platforms

Nov 20 '05 #3
lol....thanks plato
"Sahil Malik [MVP]" <co*****************@nospam.com> wrote in message
news:eU**************@TK2MSFTNGP14.phx.gbl...
Well .. it could be asked, "Why have two languages when they are supposed
to be exactly the same?" ;-)

I think either viewpoint could be argued either way.

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.ma.../13/63199.aspx
----------------------------------------------------------------------------


"Hareth" <ab******@hotmail.com> wrote in message
news:e8*************@TK2MSFTNGP09.phx.gbl...
Why is something as simple as #region diffrent in vb and c#?!
I know they are two totally dif languages, but come on!

vb:
#Region "Title"
#End Region

c#:
#Region Title
#Endregion
They should have made standards in all the platforms


Nov 20 '05 #4
LOL :) You're welcome Aristotle. Now lets get coffee.

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.ma.../13/63199.aspx
----------------------------------------------------------------------------

"Hareth" <ab******@hotmail.com> wrote in message
news:O1**************@TK2MSFTNGP12.phx.gbl...
lol....thanks plato
"Sahil Malik [MVP]" <co*****************@nospam.com> wrote in message
news:eU**************@TK2MSFTNGP14.phx.gbl...
Well .. it could be asked, "Why have two languages when they are supposed
to be exactly the same?" ;-)

I think either viewpoint could be argued either way.

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.ma.../13/63199.aspx
----------------------------------------------------------------------------


"Hareth" <ab******@hotmail.com> wrote in message
news:e8*************@TK2MSFTNGP09.phx.gbl...
Why is something as simple as #region diffrent in vb and c#?!
I know they are two totally dif languages, but come on!

vb:
#Region "Title"
#End Region

c#:
#Region Title
#Endregion
They should have made standards in all the platforms



Nov 20 '05 #5
Actually, it's this in C#:
#region Title
#endregion

Capitalization for keywords is avoided consistently in C#. In VB, keywords
are capitalized consistently, but VB lets you have type it either way.
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant C++: C# to C++ Converter
Instant J#: VB.NET to J# Converter

"Hareth" wrote:
Why is something as simple as #region diffrent in vb and c#?!
I know they are two totally dif languages, but come on!

vb:
#Region "Title"
#End Region

c#:
#Region Title
#Endregion
They should have made standards in all the platforms

Nov 20 '05 #6

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

Similar topics

14
2434
by: New_aspect | last post by:
Hello, Aspect oriented Software development seems to be expanding in the popular vision of developers, with more and more IDE 'add-ons' and even more specialized tools,Jboss etc. I've seen more...
7
2376
by: Bo Peng | last post by:
Dear Python group: I am planning on an application that involves several complicated C++ classes. Basically, there will be one or two big data objects and some "action" objects that can act on...
15
4509
by: Agoston Bejo | last post by:
Hi, I'm having trouble with implementing some constraints on the database level. An example: --Table A(AID, BID ref. B.BID, ATXT) --Table B(BID, CID ref. C.CID) --Table C(CID) upon insertion...
161
7686
by: KraftDiner | last post by:
I was under the assumption that everything in python was a refrence... so if I code this: lst = for i in lst: if i==2: i = 4 print lst I though the contents of lst would be modified.....
5
1263
by: str1ker | last post by:
Hi again, This problem is a little more complicated, and once again is in C#. I've create a form, with a groupbox, and in it, a picturebox. In the picturebox's paint event, I've drawn a black...
0
7227
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
7127
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
7331
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
7391
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
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.