sma-smk.pts-ptn.net 17 Hours Information Services
Tel/Fax : 021-8762002, 8762003, 8762004, 87912360
Mobile/SMS : 081 1110 4824 27, 0812 9526 2009, 08523 1234 000, 0815 145 78119
WhatsApp : 0817 0816 486, 0812 9526 2009, 0815 145 78119
email : _Contact Us__ please click
Chatting dengan Staf :
ggkarir.com
ggiklan.com
Select Language :     ID   EN   Request Catalog / Brochure (free via post)   Employee Class   Regular
World Encyclopedia ➪ AgricultureAnimalArtAstronomyBiographyCharacterChemicalCultureEcologyEconomicsEducationElectronics
EnvironmentFilmGeographyHistoryIndonesiaJabodetabekLanguageLawLiteratureMathematicsMedical
MilitaryMusicMythologyPhilosophyPhysicsPlantPoliticalPuppetReligionScienceSocietySportsTechnology
Manual / Tutorial   ➪ AntApache ServerHTML 4HTML 5JavaScriptMySQLPerlPHPLinuxShell       Network Encyclopedia
Web Network ➪ Employee ClassRegularEvening ClassS2PTSPartyGeneral    
Reference ➪ Internet, Computers, ICT, OS, etc

  » Cyber University   » Fakultas Pertanian UMJ Jakarta   » Fakultas Teknik UMJ   » FE Universitas MH. Thamrin Jakarta   » FISIP UMJ Jakarta   » FK Universitas MH. Thamrin Jakarta   » IAI Al-Ghurabaa Jakarta
  » IAI Muhammad Azim Jambi   » IBISA Purworejo   » IKIP Widya Darma Surabaya   » Institut Agama Islam Sukabumi   » Institut Teknologi Sains Bandung   » ISIF Cirebon   » ISTA Jakarta
  » ISTN Jakarta   » ITB Muhammadiyah Purbalingga   » ITB STIKOM Bali   » ITB STIKOM Jimbaran Bali   » ITBU Jakarta   » ITEKES Tri Tunas Nasional Makassar   » ITESA Muhamadiyah Semarang
  » ITM Purwakarta   » MA UNHI Denpasar   » Magister Teknik ISTN Jakarta   » Magister Universitas Buddhi Dharma   » Magister Universitas Satyagama   » MH UM SURABAYA   » MH UNKRIS Jakarta
  » MIA FISIP UMJ Jakarta   » MIA UNKRIS Jakarta   » MIKOM FISIP UMJ Jakarta   » MM Patria Artha Makassar   » MM STIE ABI Surabaya   » MM STIE Ganesha Jakarta   » MM STIE GICI Business School Jakarta
  » MM STIE IGI Jakarta   » MM UMIBA Jakarta   » MM UNHI Denpasar   » MM UNKRIS Jakarta   » MPD UM SURABAYA   » MPD UNHI Denpasar   » Mpu Tantular Kedoya Jakarta
  » MT UNKRIS Jakarta   » Politeknik Semen Indonesia   » Polnas Denpasar   » S2 FISIP UMJ Jakarta   » S2 FT UMJ   » S2 NUSA MANDIRI   » S2 STMIK Jakarta
  » S2 UIN Al-Azhaar Lubuklinggau   » S2 UM SURABAYA   » S2 UNHI Denpasar   » S2 UNKRIS Jakarta   » S2 UNSURYA   » Sekolah Tinggi Bisnis Runata   » STAI Al-Akbar Surabaya
  » STAI Al-Andina Sukabumi   » STAI Al-Hidayah Tasikmalaya   » STAI Al-Ittihad Cianjur   » STAI Al-Muhajirin Purwakarta   » STAI Muhammadiyah Tulungagung   » STAI Terpadu Yogyakarta   » STEBI Bina Essa Bandung
  » STEI SEBI Cikarang   » STEI SEBI Depok   » STEI Yogyakarta   » STIBADA MASA Surabaya   » STIE ABI Surabaya   » STIE Al-Rifaie Malang   » STIE Cendekia Semarang
  » STIE Dharma Nasional Jember   » STIE Ganesha Jakarta   » STIE GEMA Bandung   » STIE GICI Business School Bogor   » STIE GICI Business School Depok   » STIE GICI Business School Bekasi   » STIE GICI Business School Jakarta
  » STIE Hidayatullah Depok   » STIE IGI Jakarta   » STIE Indocakti Malang   » STIE Nusantara Makassar   » STIE PASIM Sukabumi   » STIE PEMUDA Surabaya   » STIE Pioneer Manado
  » STIE Trianandra Pemuda Jakarta   » STIE Widya Darma Surabaya   » STIE Widya Persada Jakarta   » STIEKIA Bojonegoro   » STIH Awang Long Samarinda   » STIH Gunung Jati Tangerang   » STIH Litigasi Jakarta
  » STIKI Malang   » STIPER Jember   » STISIP Guna Nusantara Cianjur   » STIT Al-Hikmah Lampung   » STIT Tarbiyatun Nisa Sentul Bogor   » STMIK Jakarta   » STT Bina Tunggal Bekasi
  » STT Mandala Bandung   » STT STIKMA Internasional   » UHAMZAH Medan   » UICM Bandung   » UIN Al-Azhaar Lubuklinggau   » UM Palangkaraya   » UM Surabaya
  » UNAKI Semarang   » UNDARIS Ungaran Semarang   » UNHI Denpasar   » UNIBA Banyuwangi   » UNISA Kuningan Jawa Barat   » UNISMU Purwakarta   » Univ. Bali Dwipa Denpasar Bali
  » Universitas Boyolali   » Universitas Buddhi Dharma   » Universitas Cokroaminoto Makassar   » Universitas Deli Sumatera   » Universitas Dr. Soebandi Jember   » Universitas IVET Semarang   » Universitas Kahuripan Kediri
  » Universitas Mahakarya Asia Yogyakarta   » Universitas MH. Thamrin Jakarta   » Universitas Mitra Bangsa   » Universitas Mochammad Sroedji Jember   » Universitas Mpu Tantular Jakarta   » Universitas Muhammadiyah Jakarta   » Universitas Musi Rawas Lubuklinggau
  » Universitas Nurul Huda Oku Timur   » Universitas Nusa Mandiri Jatiwaringin   » Universitas Nusa Mandiri Kramat   » Universitas Nusa Mandiri Margonda   » Universitas Nusa Mandiri Tangerang   » Universitas Nusantara Manado   » Universitas Pandanaran Semarang
  » Universitas Parna Raya Manado   » Universitas Patria Artha Makassar   » Universitas Saintek Muhammadiyah   » Universitas Satyagama   » Universitas Tanri Abeng Jakarta   » Universitas Teknologi Bandung   » Universitas Teknologi Nusantara
  » Universitas Teknologi Sulawesi Makassar   » Universitas Ubudiyah Indonesia Aceh   » Universitas Yuppentek Indonesia   » UNKRIS Jakarta   » UNSUB Subang   » UNSURYA Jakarta   » UNTARA Cikokol Tangerang
  » UNTARA Tigaraksa Tangerang   » UNU Cirebon   » UNU Kalbar Pontianak   » UNU Kaltim Samarinda   » UNUGHA Cilacap   » UNUSA Surabaya   » UNUSIDA
  » USM Indonesia Medan   » UWIKA SurabayaCombined Information Employee Class entire PTS

Al Quran onlineAdvertisingBarter Link232 CountriesCat Info CenterCity & Province WebsitesCPNSComplete POS codeCorruption Rating
Embassy:  KBRI  Foreign  • Exercise Psychotest  • Civitasbook.com  • Hosting: ID World  • Info Prov, City, District, Village  • International Organizations
Islands in NKRIJob VacancyLibrariesNews & Magazine: ID ForeignNKRI, KPK, MA, etc.Political PartyPatriotPTAPTNPTSHospitalRanch
ScholarshipSholat & Imsak ScheduleSMASMKSMPTV & Radio : Foreign IDFootballWorld Statistics     Academic : Majors Prospectus

Department/Study Program (D3, S1, S2), Curriculum, Prospectus (Career Prospects), and Title/Degree
Undergraduate Programs (S-1)
¤ S1 Accounting
¤ S1 Agribusiness
¤ S1 Agricultural Sciences
¤ S1 Agroteknologi (Agricultural Industry Technology)
¤ S1 Akhwal al Syakhsiyyah / Civil Law of Islam (Sharia)
¤ S1 Animal Sciences
¤ S1 Architectural Engineering
¤ S1 Biology Education
¤ S1 Business/Commerce Administration Science
¤ S1 Chemical Engineering
¤ S1 Civil Engineering
¤ S1 Communication Studies
¤ S1 Computer Engineering / Computer Systems
¤ S1 ECD (Early Childhood Teacher Education)
¤ S1 Electrical Engineering
¤ S1 English Education
¤ S1 English Language / Literature
¤ S1 Food Technology
¤ S1 Indonesian Language and Literature Education
¤ S1 Industrial Engineering
¤ S1 Industrial Product Design
¤ S1 Informatics Engineering
¤ S1 Information System
¤ S1 International Relations
¤ S1 Law/Legal Studies
¤ S1 Management
¤ S1 Mathematics Education
¤ S1 Mechanical Engineering
¤ S1 Nursing
¤ S1 OPJKR (Physical Education, Health, Recreation)
¤ S1 Pancasila and Citizenship Education (PPKN)
¤ S1 Petroleum Engineering
¤ S1 Pharmaceuticals
¤ S1 Planning / Urban and Regional Planning Engineering
¤ S1 Political Sciences
¤ S1 Psychology
¤ S1 Public Health
¤ S1 Public/State Administration Science
¤ S1 Shipping Engineering
¤ S1 Social Welfare Studies
¤ S1 Sociology
¤ S1 Tarbiyah / Islamic Education
¤ S1 Ushuludin / Comparative Religion
¤ S1 Visual Communication Design
Graduate Programs (S-2)
¤ S2 Master of Management / MM

Three Diploma Programs (D-III)
¤ D3 Accounting
¤ D3 Accounting Computer
¤ D3 Business Travel (Business Tourism & Hospitality)
¤ D3 Computer Engineering (Computer Systems)
¤ D3 Electrical Engineering
¤ D3 Finance and Banking
¤ D3 Health Analyst
¤ D3 Informatics Management
¤ D3 Midwifery
¤ D3 MPRS (Hospital Services Management)
¤ D3 Nursing
¤ D3 Nutrition
¤ D3 Pharmaceutical and Food Analysts

Home       Debate : BuddhistChristian, CatholicConfucianFengshuiHinduHobbiesHumorIslamLawMiscellaneousTechniques

   
Search  
    Informatics & Computer

    Prev  (Comparison of C Sharp and Java) (Comparison of code generation tools)  Next    

Comparison of C Sharp and Visual Basic .NET

C# and Visual Basic .NET are the two primary languages used to program on the .NET Framework.

Contents

Language history

C# and VB.NET are syntactically very different languages with very different history. As the name suggests, the C# syntax is based on the core C language originally developed by Dennis Ritchie at Bell Labs (AT&T) in the 1970s[1] and eventually evolved into the fully object oriented C++ language still in use today. Much of the Java syntax is also based on this same C++ language,[2] which is one of the reasons the two share a common look and feel. See Comparison of Java and C Sharp for more on this topic.

VB.NET has its roots in the BASIC language of the '60s with its name being an acronym for "Beginner's All-purpose Symbolic Instruction Code". In its beginning, BASIC was used in the college community as a "basic" language for first exposure to computer programming and the acronym represented the language accurately.[3] In the '70s, the language was picked up by microcomputer manufacturers of the era to be used as both a simple ROM embedded programming language as well as a quasi operating system for input/output control.[4] In the early '80s, the language was picked up by Microsoft and expanded significantly beyond its original intent into their "Visual Basic" language/platform that was sold throughout the 1990s as a "rapid application development" (RAD) tool for Windows programming.[5] It competed directly against other RAD tools of the 1990s such as PowerBuilder.[6] Even though Visual Basic was a successful development platform, it was discontinued after its 6th version (VB6) when Microsoft introduced the .NET Framework and its related Visual Studio development platform in the early 2000s.

Language comparison

Though C# and VB.NET are syntactically very different, that is where the differences mostly end. Microsoft developed both of these languages to be part of the same .NET Framework development platform. They are both developed, managed, and supported by the same language development team at Microsoft.[7] They compile to the same intermediate language (IL), which runs against the same .NET Framework runtime libraries.[8] Although there are some differences in the programming constructs (discussed further below), their differences are primarily syntactic and, assuming one avoids the Visual Basic "Compatibility" libraries provided by Microsoft to aid conversion from VB6, almost every command in VB has an equivalent command in C# and vice versa. Lastly, both languages reference the same Base Classes of the .NET Framework to extend their functionality. As a result, with few exceptions, a program written in either language can be run through a simple syntax converter to translate to the other. There are many open source and commercially available products for this purpose.

Runtime multi-language support

One of the main goals of .NET has been its multi-language support. The intent of the design was that all of the various Microsoft languages should have the same level of access to all OS features, should be able to expose the same level of power and usability, and simplify calling from a module in one language to that written in another language.

In implementation, all .NET programming languages share the same runtime engine, uniform Abstract syntax tree, and Common Intermediate Language. Additionally all .NET languages have access to platform features including garbage collection, cross language inheritance, exception handling, and debugging. This allows the same output binary to be produced from any .NET programming language.

Development environment

Visual Studio provides minor differences in the development environment for C# and VB.Net. With each subsequent release of Visual Studio, the differences between development environments for these languages have been reduced. For instance early versions of Visual Studio had poor support for Intellisense in C# compared to Visual Basic .NET, and did not offer background compilation for C#.[9] Currently, the main differences in the development environments are additional features for Visual Basic .NET that originated in VB6, including:

  • The default namespace is hidden (but can be disabled)
  • Certain project files are hidden (the user can show them)
  • The auto-generated My.* namespaces contain many commonly-used shortcuts brought over from VB6, such as methods for operating on the registry and application configuration file

Background compilation is a feature of the Visual Studio IDE whereby code is compiled as it is written by the programmer with the purpose of identifying compilation errors without requiring the solution to be built. This feature has been available for Visual Basic since .NET 1.1 and was present in early versions of Visual Studio for Visual Basic .NET. However, background compilation is a relatively new concept for Visual C# and is available with service pack 1 for Visual Studio 2008 Standard Edition and above. A distinct disadvantage for C# is that the Error List panel does not update until the solution is rebuilt. Refactoring large projects in C# is made more difficult by the need to frequently rebuild the solution in order to highlight compilation errors.[10] Such is not the case with Visual Basic because the Error List panel is synchronised with the background compiler.

Background Compilation is less demanding on system resources and results in faster build cycles.[10] This is a particular advantage with large projects and can significantly reduce the time required to start debugging in the IDE.[10]

Language features

The bulk of the differences between C# and VB.NET from a technical perspective are syntactic sugar.That is, most of the features are in both languages, but some things are easier to do in one language than another. Many of the differences between the two languages are actually centered around the IDE.

Features of Visual Basic .NET not found in C#

  • Variables can be declared using the WithEvents construct. This construct is available so that a programmer may select an object from the Class Name drop down list and then select a method from the Declarations drop down list to have the Method signature automatically inserted
  • Auto-wireup of events, VB.NET has the Handles syntax for events
  • Marshalling an object for multiple actions using an unqualified dot reference. This is done using the With ... End With structure
  • IsNumeric evaluates whether a string can be cast into a numeric value (the equivalent for C# requires using int.TryParse)
  • XML Literals[11]
  • Inline date declarations by using #1/1/2000# syntax (M/dd/yyyy).
  • Module (although C#'s sealed static classes with additional semantics, but each field has to individually be declared as static)
  • Members of Modules imported to the current file, can be access with no preceding container accessor (See Now for example)
  • The My namespace
  • COM components and interoperability was more powerful in VB.NET as the Object type is bound at runtime,[12] however C#4.0 added the dynamic type which functions as a late bound form of Object.
  • Namespaces can be imported in project level, so they don't have to be imported to each individual file, like C#
  • In-line exceptions filtering by a Boolean expression, using "When expression" blocks.[13] C# emulates[14] this functionality,using a catch block followed by an if block. It is not just syntax sugar.

Features of C# not found in Visual Basic .NET

  • Allows blocks of unsafe code (like C++/CLI) via the unsafe keyword and support for pointers
  • Partial Interfaces
  • Multi-line comments (note that the Visual Studio IDE supports multi-line commenting for Visual Basic .NET)
  • Static classes (Classes which cannot contain any non-static members, although VB's Modules are essentially sealed static classes with additional semantics)
  • Can use checked and unchecked contexts for fine-grained control of overflow/underflow checking

Other characteristics of Visual Basic .NET not applicable to C#

  • Conversion of Boolean value True to Integer may yield -1 or 1 depending on the conversion used
  • Assigning and comparing variables uses the same token, =. Whereas C# has separate tokens, == for comparison and = to assign a value
  • VB.NET is not case-sensitive.
  • When assigning a value to a variable with a different data type, VB.NET will coerce the value if possible. This automatic coercion can sometimes lead to unexpected results, for example:
Dim i As Integer = "1" 'Compiler automatically converts String to IntegerDim j As String = 1 'Compiler automatically converts Integer to StringIf i = j Then 'Compiler does cast and compare between i and j    MsgBox("Avoid using, but this message will appear!") 'MsgBox() can be used instead of MessageBox.show()End If

It should be noted that although the default is for 'Option Strict' to be off, it is recommended by Microsoft[15] and widely considered to be a good practice to turn 'Option Strict' "on", due to the fact it increases application performance, and eliminates the chance of naming errors and other programming mistakes.[16]

  • Val() function which also parses a null value while converting into double (In c# Convert.ToDouble() is used to convert any object into double type value, but which throws exception in case of a null value)
  • CInt, CStr, CByte, CDbl, CBool, CByte, CDate, CLng, CCur, CObj and a wide variety of converting functions built in the language

Other characteristics of C# not applicable to Visual Basic .NET

  • By default, numeric operations are not checked. This results in slightly faster code, at the risk that numeric overflows will not be detected. However, the programmer can place arithmetic operations into a checked context to activate overflow checking. (It can be done in Visual Basic by checking an option)
  • In Visual Basic .NET property methods may take parameters.
  • C# is case-sensitive.

Syntax comparisons

Visual Basic .NET terminates a block of code with End BlockName statements (or Next statements, for a for loop) which are more familiar for programmers with experience using T-SQL. In C#, the braces, {}, are used to delimit blocks, which is more familiar to programmers with experience in other widely-deployed languages such as C++ and Java. Additionally, in C# if a block consists of only a single statement, the braces may be omitted.

C# is case sensitive while Visual Basic .NET is not. Thus in C# it is possible to have two variables with the same name, for example variable1 and Variable1. Visual Studio will correct the case of variables as they are typed in VB.NET. In many cases however, case sensitivity can be useful. C# programmers typically capitalize type names and leave member and variable names lowercase. This allows, for example, fairly natural naming of method arguments: public int CalculateOrders(Customer customer). Of course, this can cause problems for those converting C# code to a case-insensitive language, such as Visual Basic, or to those unaccustomed to reading a case sensitive language.

Keywords

Visual Basic is not case sensitive, which means any combinations of upper and lower cases in keywords are acceptable. However Visual Studio automatically converts all Visual Basic keywords to the default capitalised forms, e.g. "Public", "If".

C# is case sensitive and all C# keywords are in lower cases.

Visual Basic and C# share most keywords, with the difference being the default (Remember Visual Basic is not case sensitive) Visual Basic keywords are the capitalised versions of the C# keywords, e.g. "Public" vs "public", "If" vs "if".

A few keywords have very different versions in Visual Basic and C#:

  • Friend vs internal - access modifiers allowing inter-class but not intra-assembly reference
  • Me vs this - a self-reference to the current object instance
  • MustInherit vs abstract - prevents a class from being directly instantiated, and forces consumers to create object references to only derived classes
  • MustOverride vs abstract - for forcing derived classes to override this method
  • MyBase vs base - for referring to the base class from which the current class is derived
  • NotInheritable vs sealed - for declaring classes that may not be inherited
  • NotOverridable vs sealed - for declaring methods that may not be overridden by derived classes
  • Overridable vs virtual - declares a method as being able to be overridden in derived classes
  • Shared vs static - for declaring methods that do not require an explicit instance of an object

Some C# keywords such as sealed represent different things when applied to methods as opposed to when they are applied to class definitions. VB.NET, on the other hand, uses different keywords for different contexts.

Comments

C#Visual Basic .NET
//Single line comment  /*Multi-line comment  line 2  line 3*/ ///XML single line comment /**XML multi-line comment   line 2   line 3*/
'Single line comment

Multi-line comment not available

'''XML single line comment

XML multi-line comment not available

Conditionals

C#Visual Basic .NET
if (condition) {    // condition is true } else if (othercondition) {     // condition is false and othercondition is true} else {     // condition and othercondition are false }
If condition Then     ' condition is trueElseIf othercondition Then    ' condition is false and othercondition is trueElse    ' condition and othercondition falseEnd If

Loops

C#Visual Basic .NET
for (int i = 0; i < number; ++i) {    // loop from zero up to one less than number}
For i As Integer = 0 To number - 1    ' loop from zero up to one less than numberNext
for (int i = number; i >= 0; --i) {    // loops from number down to zero}
For i As Integer = number To 0 Step -1    ' loops from number down to zeroNext
break; //breaks out of a loop
Exit For 'breaks out of a for loop
Exit While 'breaks out of a while loop
Exit Do 'breaks out of a do loop

Comparers

Primitive types

C#Visual Basic .NET
if (a == b) {    // equal}
If a = b Then    ' equalEnd If
if (a != b) {    // not equal}

Or:

if (!(a == b)) {    // not equal}
If a <> b Then    ' not equalEnd If

Or:

If Not a = b Then    ' not equalEnd If
 
if (a == b & c == d | e == f) {    // multiple comparisons}
If a = b And c = d Or e = f Then    ' multiple comparisonsEnd If
 
if (a == b && c == d || e == f) {    // short-circuiting comparisons}
If a = b AndAlso c = d OrElse e = f Then    ' short-circuiting comparisonsEnd If
 

Object types

C#Visual Basic .NET
if (object.ReferenceEquals(a, b)) {    // variables refer to the same instance}
If a Is b Then 'Can also be written as If Object.ReferenceEquals(a, b) Then    ' variables refer to the same instanceEnd If
if (!object.ReferenceEquals(a, b)) {    // variables do not refer to the same instance}
If a IsNot b Then    ' variables do not refer to the same instanceEnd If
if (a == b) {    // instances are equivalent}
If a = b Then    ' instances are equivalentEnd If
if (a != b) {    // not equivalent}
If a <> b Then    ' not equivalentEnd If
var type = typeof(int);
Dim type = GetType(Integer)
if (a is b) {    // types of a and b are compatible}
If TypeOf a Is b Then    ' types of a and b are compatibleEnd If
if (!(a is b)) {    // types of a and b are not compatible}
If Not TypeOf a Is b Then    ' types of a and b are not compatibleEnd If

Adoption and community support

Both C# and VB.NET have high adoption rates, and very active developer communities and Microsoft fully supports both communities. .NET Framework developers widely use both VB.NET and C# as primary languages.[17][18] However, C# has more community activity on the Internet and there are more books available for C#. This may indicate either that there is more adoption of C# or that users need more help with it.

Examples of community and industry adoption include:

  • TIOBE Programming Community Index for July 2010 show that C# surpassed Visual Basic[19]
  • An original C# language designer, Scott Wiltamuth, stated in a March 2010 blog that the "most reliable numbers we have... show roughly equal adoption" for VB.NET and C#.[17]
  • A 2007 Forrester Research poll revealed that 59% of .NET developers used only VB.NET to create software.[18]
  • Visual Basic Express is the most popular download of all the Visual Studio Express downloads.[20]
  • According to a survey conducted by Visual Studio Magazine "41 percent said they used C#, 34 percent programmed in VB.NET, while 25 percent responded with 'other.'"[20]
  • Stephen Wiley, marketing product manager at Apress has reported "C# titles outsell VB.NET title books handily, by somewhere between a 2–1 and 3–1 margin."[20]
  • MSDN Blogs, the blogging site for Microsoft employees, has 27,500 posts that discuss C#, while only 8,880 mention VB.Net (as of November 15, 2007)[citation needed]
  • Google Groups, a Usenet search engine, returns 36,900 hits for "VB .Net", and 65,700 for C#[citation needed]

Other languages

C++/CLI (formerly Managed C++)

C++/CLI (a replacement for Managed Extensions for C++) does not have the adoption rate of C# or VB.NET, but does have a significant following. C++/CLI syntactically, stylistically, and culturally is closest to C#. However, C++/CLI stays closer to its C++ roots than C# does. C++/CLI directly supports pointers, destructors, and other unsafe program concepts which are not supported or limited in the other languages. It allows the direct use of both .NET code and standard C++ code. C++/CLI is used for porting native/legacy C++ applications into the .NET framework, or cases where the programmer wants to take more control of the code; but this control comes at a significant cost of ease of use and readability. Many of the automated tools that come with Visual Studio have reduced functionality when interacting with C++ code. This is because reflection cannot provide as much information about the code as it can for C# and VB.net

J#

J# runs a distant fourth in terms of adoption. J# is a language primarily designed to ease the transition of Java applications to the .NET framework; it allows developers to leave much of their Java or J++ code unchanged while still running it in the .NET framework, thus allowing them to migrate small pieces of it into another .NET language, such as C#, individually. J# does not receive the same level of updates as the other languages, and does not have the same level of community support. For example, Visual Studio 2005 Team System supports automatic generation of Unit Tests in C#, VB.Net, and C++, but excludes J#. J# has been discontinued and is not included in Visual Studio 2008 or newer versions, since the existing J# feature set largely meets customer needs and usage of J# is declining.

Additional .NET languages

All .NET languages compile down to Common Intermediate Language (CIL), which contains rich metadata and is functionally and logically equivalent to the original .NET language code. For these reasons, while it is possible to code directly in CIL, it is rarely done. The equivalency of CIL to .NET language code permits tools such as .NET Reflector to transform a .NET assembly into source code that is nearly identical to the original source. Code obfuscators are often used to guard against this, and operate by directly modifying the CIL of an assembly in order to make it difficult or impossible to de-compile to a higher level .NET language.

References

  1. ^ http://cm.bell-labs.com/cm/cs/who/dmr/chist.html
  2. ^ http://www.freejavaguide.com/history.html
  3. ^ http://en.wikipedia.org/wiki/BASIC
  4. ^ http://en.wikipedia.org/wiki/TRS-80
  5. ^ http://www.forestmoon.com/BIRTHofVB/BIRTHofVB.html
  6. ^ http://www.lannigan.org/powersoft_powerbuilder_history.htm
  7. ^ http://www.infoworld.com/article/09/02/27/Microsoft_converging_programming_languages_1.html?R=printThis&A=/article/09/02/27/Microsoft_converging_programming_languages_1.html
  8. ^ http://www.dotnet-guide.com/msintermediate.html
  9. ^ Matthew Gertz. "Scaling Up: The Very Busy Background Compiler". MSDN Magazine. http://msdn.microsoft.com/msdnmag/issues/05/06/AdvancedBasics/. Retrieved 2008-12-16.
  10. ^ a b c "System and methodology providing compiler-assisted refactoring". http://www.freepatentsonline.com/6804682.html.
  11. ^ Jonathan Allen. "Does C# Need VB9's XML Literals?". http://www.infoq.com/news/2007/03/CSharp-XML. Retrieved 2009-01-13.
  12. ^ "Early vs. Late Binding". http://visualbasic.about.com/od/usingvbnet/a/earlybind.htm.
  13. ^ MSDN: Try...Catch...Finally Statement (Visual Basic)
  14. ^ MSDN:VB Catch ... When: Why so special?
  15. ^ MSDN: Option Strict Statement
  16. ^ GetDotNetCode.com:"Option Strict On". http://www.getdotnetcode.com/gdncstore/free/Articles/OPTION%20STRICT%20ON.htm.
  17. ^ a b "VB and C# Coevolution". MSDN. http://blogs.msdn.com/scottwil/archive/2010/03/09/vb-and-c-coevolution.aspx. Retrieved 2010-03-27.
  18. ^ a b "Mono brings Visual Basic programs to Linux". Linux-Watch. http://www.linuxfordevices.com/c/a/News/Mono-brings-Visual-Basic-programs-to-Linux/. Retrieved 2010-03-25.
  19. ^ "C# is rated higher than Visual Basic for the first time in history". http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html.
  20. ^ a b c Patrick Meader. "C#'s Exploding Mindshare". Visual Studio Magazine, November 2007. http://visualstudiomagazine.com/columns/article.aspx?editorialsid=2333. Retrieved 2008-12-16.

External links

    Prev  (Comparison of C Sharp and Java) (Comparison of code generation tools)  Next    





Tags: Comparison of C Sharp and Visual Basic, NET, Informatics, Computer, 466, Comparison of C Sharp and Visual Basic, NET Programming language comparisons General comparison Basic syntax Basic instructions Arrays Associative arrays String operations String functions List comprehension Object oriented programming Object oriented constructors Database access Evaluation strategy List of, Hello World, programs ALGOL 58's influence on ALGOL 60 ALGOL 60: Comparisons wi, Comparison of C Sharp and Visual Basic, NET, English, Instruction Examples, Tutorials, Reference, Books, Guide sma smk, pts-ptn.net
 Online Tuition in the Best 167 PTS
 Download Brochures
 Job Vacancy
 Extension School Program
 Psychological Test Practice
 Tuition Scholarships
 Reference book

 Multifarious Adverts
 Try Out Sample Questions
 Online Registration
 Scholarship Request
 Many Kinds Communities
 Encyclopedia
 Shalat Times
 Quran Online
 Night Course Program
 Morning College
 Postgraduate Degree
Kandungan α-tokoferol (E) pada berbagai makanan, Germinasi biji / benih Nanas, Tabel Komposisi Pangan Indonesia (TKPI), etc.
Tabel Komposisi Pangan Indonesia (TKPI)

Catalog / Brochure Request
(FREE via POS)
Name

Full Address

City & Province

Postal Code

Email (not required)

⍍ must be filled in correctly
Or send name and
Your address via SMS to mobile:
08523 1234 000


FREE DOWNLOAD
Kelas Karyawan Brochure
Combined All Areas of Indonesia

PDF (11,2 MB)Zip (8,8 MB)
JPG (36,2 MB)
Kelas Karyawan Brochure
JABODETABEK

PDF (5,5 MB)Zip (4,4 MB)
JPG (13,2 MB)
Kelas Karyawan Brochure
Java and Bali

PDF (4,4 MB)Zip (3,5 MB)
JPG (14,5 MB)
Kelas Karyawan Brochure
West Java

PDF (2,8 MB)Zip (2,2 MB)
JPG (7,1 MB)
Kelas Karyawan Brochure
SULAWESI

PDF (1,9 MB)Zip (1,5 MB)
JPG (5,6 MB)
Kelas Karyawan Brochure
SUMATERA & BATAM

PDF (2,2 MB)Zip (1,7 MB)
JPG (6,5 MB)
Regular Program Brochure
PDF (4,1 Mb)Zip (8,4 Mb)
National Calendar 2023
JPG (2,1 Mb)PDF (400 kb)
"New Breakthrough" Book
Strategies to Increase Revenue
PTS, Quality Education
& Resources PTS

PDF(6 Mb)JPG(16 Mb)

New Solution
Strategies Increase
PTS revenue,
PTS Education Quality,
and PTS Resources
Full information, click
http://kpt.co.id

Career Opportunities

PT. Gilland Ganesha

  • Design Grafis
  • Senior Programmer

Detailed information visit:
Job Info

Cat photo s, dictionary color cats, way health monitoring cat, etc.
155 popular cat breeds


Maid Goal
(please click)
PTS in Sumut & Aceh
Whole Reader

1. ISTA Jakarta - Institute of Science and Technology Al Kamal Jakarta - Campus ISTA : Jl. Raya Al Kamal No.2, Kedoya Selatan, Tol Kebon Jeruk, Jakarta Barat
(satu area dengan Rumah Sakit Puri Mandiri Kedoya (Al Kamal))
2. Universitas Muhammadiyah Jakar - University of Muhammadiyah Jakarta - Campus : Jl. KH. Ahmad Dahlan, Cirendeu, Ciputat Jakarta Selatan 15419
3. ITBU Jakarta - Budi Utomo Jakarta Institute of Technology - Campus ITBU : Jl. Raya Mawar Merah No. 23, Pondok Kopi, Perumnas Klender, Jakarta Timur 13460
4. UNKRIS Jakarta - University of Krisnadwipayana Jakarta - Campus UNKRIS : Jl. Raya Jatiwaringin, Pondok Gede, Jakarta Timur 13077
ivet.web.id  |  cendekiaku.web.id  |  stipsi.web.id  |  stiemitraindonesia.web.id  |  kuliahdirumah.com  |  kuliahdirumah.web.id  |  kerjadirumah.net  |  kerjadirumah.web.id  |  belajardirumah.net  |  s2-stmikjakarta.web.id