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

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 23 '05 #1
5 934
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 23 '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 23 '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 23 '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 23 '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 23 '05 #6

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

Similar topics

14
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
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...
7
by: Max | last post by:
Yeah, I know. It's the price we pay for forsaking variable declarations. But for java programmers like me, Py's scoping is too complicated. Please explain what constitutes a block/namespace, and...
15
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...
3
by: Narine | last post by:
Hi All, I need to write one complicated update statement and I'm looking at maybe finding a simpler way to do it. I have 2 tables: 1.Photo Table PhotoID FileName 1 111.jpg
7
by: windandwaves | last post by:
Hi Gurus I am trying to make this rather complicated maps with an a huge number of mouseovers and the like. I want to set up a function that OnMouseDown swaps the OnMouseOver and OnMouseOut for...
2
by: Just D | last post by:
Hi, I need to write a serialization (to XML string) and restoring (from XML string) of a very complicated object. The object uses a few classes, one class has two ArrayLists, etc. The general...
161
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.....
2
by: fAnSKyer/C# newbie | last post by:
I want use C# or even C++, C to do some complicated math works, like calculaus~~ I wander if C# provide any complicated math package, like MATLAB Thanks a lot Cheers fAnS
5
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.