Computer Hack Generation
ForumCalendarPytësoriKërkoLista AnëtarëveGrupet e AnëtarëveRegjistrohuidentifikimi

Share | 

  Editing Visual Basic .NET (section)

Shko poshtë 


Numri i postimeve : 26
Join date : 22/10/2010

MesazhTitulli: Editing Visual Basic .NET (section)   Sun Oct 24, 2010 11:41 am

==Versions of Visual Basic .NET==
There are four versions and five releases of Visual Basic .NET implemented by the [ Visual Basic Team]

===Visual Basic .NET (VB 7)===
The original Visual Basic .NET was released alongside [[C Sharp (programming language)|Visual C#]] and [[ASP.NET]] in 2002. Significant changes broke [[backward compatibility]] with older versions and caused a rift within the developer community.<ref>{{cite web|url= |title=Petition to Microsoft | |date=8 March 2005 |accessdate=16 June 2009}}</ref>

===Visual Basic .NET 2003 (VB 7.1) ===
Visual Basic .NET 2003 was released with ''version 1.1'' of the .NET Framework. New features included support for the [[.NET Compact Framework]] and a better VB upgrade [[wizard (software)|wizard]]. Improvements were also made to the performance and reliability of the .NET IDE (particularly the [ background compiler]) and runtime. In addition, Visual Basic .NET 2003 was available in the ''Visual Studio .NET 2003 Academic Edition'' (VS03AE). VS03AE is distributed to a certain number of scholars from each country without cost.

===Visual Basic 2005 (VB 8.0)===
Visual Basic 2005 is the name used to refer to the update to Visual Basic .NET, Microsoft having decided to drop the .NET portion of the title.

For this release, Microsoft added many features, including:
* ''Edit and Continue''
* Design-time expression evaluation.
* The ''My'' pseudo-[[namespace (computer science)|namespace]] ([ overview], [ details]), which provides:
** easy access to certain areas of the .NET Framework that otherwise require significant code to access
** dynamically-generated classes (notably ''My.Forms'')
* Improvements to the VB-to-VB.NET converter <ref>[ What's New with the Visual Basic Upgrade Wizard in Visual Basic 2005<!-- Bot generated title -->]</ref>
* The ''Using'' keyword, simplifying the use of objects that require the Dispose [[Design pattern (computer science)|pattern]] to free resources
* ''Just My Code'', which when debugging hides (steps over) boilerplate code written by the Visual Studio .NET IDE and system library code
* Data Source binding, easing [[database]] client/server development

The above functions (particularly ''My'') are intended to reinforce Visual Basic .NET's focus as a [[rapid application development]] platform and further differentiate it from [[C Sharp (programming language)|C#]].

Visual Basic 2005 introduced features meant to fill in the gaps between itself and other "more powerful" .NET languages, adding:
* [ .NET 2.0 languages features] such as:
** [[Generic programming|generics]] <ref>[ Defining and Using Generics in Visual Basic 2005<!-- Bot generated title -->]</ref>
** [[Partial classes]], a method of defining some parts of a class in one file and then adding more definitions later; particularly useful for integrating user code with auto-generated code
** [[Nullable Types]]
* [[XML]] comments that can be processed by tools like [[NDoc]] to produce "automatic" documentation
* [[Operator overloading]] <ref>[ Operator Overloading in Visual Basic 2005<!-- Bot generated title -->]</ref>
* Support for [[integer (computer science)|unsigned integer]] data types commonly used in other languages

==== 'IsNot' operator patented ====
One other feature of Visual Basic 2005 is the <code>IsNot</code> operator that makes <code>'If X IsNot Y'</code> equivalent to <code>'If Not X Is Y'</code>, which gained notoriety<ref>{{cite web|url= |title=Real Software slams MS IsNot patent application |last=Sherriff |first=Lucy |publisher=The Register |date=22 February 2005 |accessdate=6 April 2009}}</ref> when it was found to be the subject of a Microsoft patent application.<ref>{{cite web|url=,1759,1766949,00.asp |title=Real Software Slams Microsofts Patent Effort |last=Taft |first=Darryl K. |publisher=eWeek |date=21 February 2005 |accessdate=6 April 2009}}</ref><ref>{{cite web|url= |title=United States Patent Application: 20040230959 |last=Vick |first=Paul A. Jr. |coauthors=Barsan, Costica Corneliu; Silver, Amanda K. |date=14 May 2003 |work=IS NOT OPERATOR |publisher=US Patent & Trademark Office |accessdate=6 April 2009}}</ref>

====Visual Basic 2005 Express====
Part of the Visual Studio product range, Microsoft created a set of free development environments for hobbyists and novices, the [[Visual Studio Express|Visual Studio 2005 Express]] series. One edition in the series is Visual Basic 2005 Express Edition, which was succeeded by Visual Basic 2008 Express Edition in the 2008 edition of Visual Studio Express.<ref>[ Microsoft Brings Programming to the Masses With Visual Studio Express: Company brings the power of code to growing community of hobbyist programmers who seek to integrate technology and software into their everyday lives<!-- Bot generated title -->]</ref>

The Express Editions are targeted specifically for people learning a language. They have a streamlined version of the user interface, and lack more advanced features of the standard versions. On the other hand, Visual Basic 2005 Express Edition ''does'' contain the Visual Basic 6.0 converter, so it is a way to evaluate feasibility of conversion from older versions of Visual Basic.

===Visual Basic 2008 (VB 9.0)===
Visual Basic 9.0 was released together with the [[.NET Framework#.NET Framework 3.5|Microsoft .NET Framework 3.5]] on November 19, 2007.

For this release, Microsoft added many features, including:
* A true [[conditional operator]], "If(boolean, value, value)", to replace the "IIf" function.
* [[Anonymous type]]s
* Support for [[LINQ]]
* [[Lambda expression]]s
* [[XML Literals]]
* [[Type inference|Type Inference]]
* [[Extension method]]s

===Visual Basic 2010 (VB 10.0)===
In April 2010, Microsoft released Visual Basic 2010. Microsoft had planned to use the [[Dynamic Language Runtime|Dynamic Language Runtime (DLR)]] for that release<ref>{{cite web
| url = ... 20383.aspx
| title = What the heck is "VBx"?
| date=1 May 2007
| quote=''With the new DLR, we have support for IronPython, IronRuby, Javascript, and the new dynamic VBx compile''
| accessdate = 12 August 2009}}</ref> but shifted to a co-evolution strategy between Visual Basic and sister language C# to bring both languages into closer parity with one another. Visual Basic's innate ability to interact dynamically with CLR and COM objects has been enhanced to work with dynamic languages built on the DLR such as [[IronPython]] and [[IronRuby]].<ref>{{cite web
| url = ... 00%29.aspx
| title = What's New in Visual Basic 2010
| date=[[2009]]
| publisher=[[Microsoft]]
| quote=''Visual Basic binds to objects from dynamic languages such as IronPython and IronRuby''
| accessdate = 12 August 2009}}</ref> The Visual Basic compiler was improved to infer line continuation in a set of common contexts, in many cases removing the need for the " _" line continuation character. Also, existing support of inline Functions was complemented with support for inline Subs as well as multi-line versions of both Sub and Function lambdas.<ref>{{cite web | url= | title=What's New in Visual Basic 2010 | date=2010 | publisher=Microsoft | accessdate=August 1, 2010}}</ref>
Mbrapsht në krye Shko poshtë
Shiko profilin e anëtarit
Editing Visual Basic .NET (section)
Mbrapsht në krye 
Faqja 1 e 1

Drejtat e ktij Forumit:Ju nuk mund ti përgjigjeni temave të këtij forumi
CHG-CREW :: Programim :: | C | C++ |-
Kërce tek: