RE: [NF] C# vs VB

Author: Grigore Dolghin

Posted: 2010-06-16 at 17:51:13

Because we're talking about ASP.NET, there is a directive to specify the language used in code-behind file; that means one can build a 2 pages ASP.NET website, first page in VB, second in C#, both in application's root folder, by specifying these two directives (each in corresponding page):

<%@ Page Language="VB" %>

<%@ Page Language="C#" %>

-----Original Message-----

From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On Behalf Of Stephen Russell

Sent: Thursday, June 17, 2010 12:33 AM

To: profoxtech@leafe.com

Subject: Re: [NF] C# vs VB

On Wed, Jun 16, 2010 at 3:58 PM, James E Harvey <jharvey@hanoverpa.com> wrote:

> I wonder of you can mix and match the languages, use VB for some

> pages, and C# for others, or is that a stupid idea...

----------------

A project has a base language. With in a Solution can mix different projects, some can be VB, C#, F#, etc......

I'd do C# because 90% of the code base you see coming out of Redmond is C# these days. It use to be VB but has evolved over.

--

Stephen Russell

Sr. Production Systems Programmer

CIMSgts

901.246-0159 cell

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/000001cb0d9e$0b6c6c80$22454580$@gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Grigore Dolghin