Stan:
First, when you say VB, are referring to Visual Basic or VB .Net?
If your answer is VB .NET then, my answers are:
1) Is it just a matter of preference as to with language is used.
C# tends to be a little more robust than VB .Net. Although many will
disagree, that said, try both and see which you are the most comfortable
with.
2) Can I convert sample code from the books I am looking at from C# to VB.?
There are many C# to VB .Net converters:
A. APP: Instant VB: C# to VB.NET Converter -
http://www.instantcsharp.com/ (Not Free)
B. OnLine: Visual C# to Visual Basic .NET Converter - utility:
http://csharpconverter.claritycon.com/ (Seems Free)
C. OnLine: Convert C# 2.0 Code to VB.NET 8.0 -
http://developer.sharpdevelop.net/codeconvert.net/convertcsharp20tovbnet80.a
spx (Free)
Beware, no two languages are 1:1 translatable, you may have to do a little
cleaning up when you build.
Happy converting.
--------------------
Thread-Topic: C# and vb
thread-index: AcX8RI3D28MUzfBRS72oev/msS8e1g==
X-WBNR-Posting-Host: 67.101.74.178
From: "=?Utf-8?B?U3RhbmxleQ==?=" <slevy@newyorkny>
Subject: C# and vb
Date: Thu, 8 Dec 2005 14:13:01 -0800
Lines: 9
Message-ID: <1A1462CF-3BCF-472A-8163-F4877877BA2C@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.general:184142
X-Tomcat-NG: microsoft.public.dotnet.general
I have been using vb in visual studiio (windows programming), but now I am
looking at asp. I notice that most of the books I look at use C#. I know
booth languages are very similar execept for syntax, but I am more
confortable with VB. My questions are: 1) Is it just a matter of preference
as to with language is used and 2) can I convert sample code from the books I
am looking at from C# to VB.
Thanks,
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0
MS Sans Serif;}{\f1\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs20 Cheers,\par
\par
johnKn [MS-SDK]\par
\par
\par
\par
-Please do not send email directly to this alias. This alias is for \par
newsgroup purposes only\par
\par
-This posting is provided "AS IS" with no warranties, and confers no
rights.\par
\par
-To provide additional feedback about your community experience please send
\par
e-mail to: (e-mail address removed)\par
\f1\par
}