SlideShare a Scribd company logo
New Updates : C# and
VB Features in Visual
Studio 2015 Update 2
This article for those who wish to learn Visual Studio, VB, C#.
At Build 2016, Microsoft discharged Visual Studio 2015 Update 2 and
Visual Studio “15” Preview, this week. Both discharges incorporate
numerous new language includes that you can attempt today. It’s
sheltered to introduce both adaptations of Visual Studio on the same
machine with the goal that you can look at all of the new components
for yourself.
New C# and VB highlights in Visual Studio 2015 Update 2
In Visual Studio 2015 Update 2, you’ll see a few upgrades added to
past elements and additionally included some new re factorings. The
group concentrated on enhancing designer profitability by chopping
down time, mouse-snaps, and keystrokes to make the activities you
play out each day more effective.
Intuitive Improvements (C#)
The C# Interactive window and charge line REPL, CSI, were presented
in Visual Studio Update 1. In Update 2,the intelligent involvement is
matched with the supervisor by permitting engineers to send code
pieces from the editorial manager to be executed in the Interactive
window. Additionally, the developers are empowered to introduce the
Interactive window with an undertaking’s connection.
Feasibility in accessing these components :
Highlight a code bit in the editorial manager, right-snap, and press
Execute in Interactive (or Ctrl+E, Ctrl+E).
Right-tap on an undertaking in the Solution Explorer and press
Initialize Interactive with the task.
Include Imports Utilizing Improvements (VB and C#)
Adding Imports/Using order is enhanced to bolster “fluffy”
coordinating on incorrectly spelled sorts and to look your whole
arrangement and metadata for the right sort—including both an
utilizing/imports and any undertaking/metadata references, if vital.
The sort name should be settled (two letters are transposed) and the
System .Net utilizingshould be included.
Refactorings
A couple refactorings are sprinkled in were :
- Make strategy synchronous (VB and C#)
- Use invalid contingent for representative conjuring (C#)
Along these lines, the executioner situation for this element is
bringing events up in a string safe manner. Before C# 6 the best
possible approach to do this was to duplicate the sponsorship field of
the event to a nearby variable, check the variable for invalidness and
summon the agent inside the if.
Generally, Thread B could set the agent to invalid by expelling the
last handler after Thread A has checked it for invalid bringing about
Thread An unexpectedly tossing a NullReferenceException. Utilizing
the invalid restrictive as a part of C# is a much shorter type of this
example.
Be that as it may, in VB the RaiseEvent explanation effectively
brought the event up in an invalid safe manner, utilizing the same
code-gen. So the executioner situation for this refactoring truly didn’t
exist and more regrettable, in the event that we include the
refactoring individuals may erroneously change their code to be less
colloquial with no advantage. Every now and then we survey tests
that don’t comprehend this and play out the invalid check
unequivocally at any rate so this appears to be prone to strengthen
that excess conduct.
Roslyn Features (VB and C# in Update 2)
Addition of two new compiler banners to the Roslyn compiler :
deterministic: This switch will guarantee works with the same inputs
deliver the same the yields, byte for byte. Beforehand, PE entries–like
MVID, PDB ID and Timestamp–would change on each form yet now
can be figured deterministically taking into account the inputs.
publicSign : Supports another technique for marking that is like
deferral marking aside from it doesn’t have to add skip check
passages to your machine. Doubles can be open marked with just the
general population key and load into settings vital for improvement
and testing. This is otherwise called OSS marking.
For .NET training and placement reviews, please do visit CRB Tech
Reviews.
Most Related Articles :
Top 5 Reasons That Make ASP.NET More Secure Over PHP
ASP.NET LIFE CYCLE IN DEPTH

More Related Content

Viewers also liked

Algiz security corporate services presentation web 2016
Algiz security   corporate services presentation web 2016Algiz security   corporate services presentation web 2016
Algiz security corporate services presentation web 2016
Sascha Kunkel
 
PORTFOLIO_NAIN_LEON_PHOTOGRAPHY_EDITORIAL
PORTFOLIO_NAIN_LEON_PHOTOGRAPHY_EDITORIALPORTFOLIO_NAIN_LEON_PHOTOGRAPHY_EDITORIAL
PORTFOLIO_NAIN_LEON_PHOTOGRAPHY_EDITORIAL
Nain Leon
 
Марина Орлова
Марина ОрловаМарина Орлова
Марина Орлова
Natalia Gulchevskaya
 
Merck Drives Consistency and Reduces Rework Using Blueprint
Merck Drives Consistency and Reduces Rework Using BlueprintMerck Drives Consistency and Reduces Rework Using Blueprint
Merck Drives Consistency and Reduces Rework Using Blueprint
Chris Kelly
 
A Day in the Life of the Project Manager
A Day in the Life of the Project ManagerA Day in the Life of the Project Manager
A Day in the Life of the Project Manager
Chris Kelly
 
JAH: Personal Persona Project
JAH: Personal Persona ProjectJAH: Personal Persona Project
JAH: Personal Persona Project
Jah-Wann Monroe
 
16.06.27 Resume_Jeff Thompson
16.06.27 Resume_Jeff Thompson16.06.27 Resume_Jeff Thompson
16.06.27 Resume_Jeff Thompson
Jeffrey P. Thompson, P.E.
 
Darwin'i yıkan kafatasları. turkish (türkçe)
Darwin'i yıkan kafatasları. turkish (türkçe)Darwin'i yıkan kafatasları. turkish (türkçe)
Darwin'i yıkan kafatasları. turkish (türkçe)
HarunyahyaTurkish
 
Procesadores daf
Procesadores dafProcesadores daf
Procesadores daf
dafnevelazquez
 

Viewers also liked (9)

Algiz security corporate services presentation web 2016
Algiz security   corporate services presentation web 2016Algiz security   corporate services presentation web 2016
Algiz security corporate services presentation web 2016
 
PORTFOLIO_NAIN_LEON_PHOTOGRAPHY_EDITORIAL
PORTFOLIO_NAIN_LEON_PHOTOGRAPHY_EDITORIALPORTFOLIO_NAIN_LEON_PHOTOGRAPHY_EDITORIAL
PORTFOLIO_NAIN_LEON_PHOTOGRAPHY_EDITORIAL
 
Марина Орлова
Марина ОрловаМарина Орлова
Марина Орлова
 
Merck Drives Consistency and Reduces Rework Using Blueprint
Merck Drives Consistency and Reduces Rework Using BlueprintMerck Drives Consistency and Reduces Rework Using Blueprint
Merck Drives Consistency and Reduces Rework Using Blueprint
 
A Day in the Life of the Project Manager
A Day in the Life of the Project ManagerA Day in the Life of the Project Manager
A Day in the Life of the Project Manager
 
JAH: Personal Persona Project
JAH: Personal Persona ProjectJAH: Personal Persona Project
JAH: Personal Persona Project
 
16.06.27 Resume_Jeff Thompson
16.06.27 Resume_Jeff Thompson16.06.27 Resume_Jeff Thompson
16.06.27 Resume_Jeff Thompson
 
Darwin'i yıkan kafatasları. turkish (türkçe)
Darwin'i yıkan kafatasları. turkish (türkçe)Darwin'i yıkan kafatasları. turkish (türkçe)
Darwin'i yıkan kafatasları. turkish (türkçe)
 
Procesadores daf
Procesadores dafProcesadores daf
Procesadores daf
 

Recently uploaded

Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Diana Rendina
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 

Recently uploaded (20)

Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 

New updates : c# and vb features in visual studio 2015 update 2

  • 1. New Updates : C# and VB Features in Visual Studio 2015 Update 2 This article for those who wish to learn Visual Studio, VB, C#. At Build 2016, Microsoft discharged Visual Studio 2015 Update 2 and Visual Studio “15” Preview, this week. Both discharges incorporate numerous new language includes that you can attempt today. It’s sheltered to introduce both adaptations of Visual Studio on the same machine with the goal that you can look at all of the new components for yourself. New C# and VB highlights in Visual Studio 2015 Update 2 In Visual Studio 2015 Update 2, you’ll see a few upgrades added to past elements and additionally included some new re factorings. The group concentrated on enhancing designer profitability by chopping down time, mouse-snaps, and keystrokes to make the activities you play out each day more effective. Intuitive Improvements (C#) The C# Interactive window and charge line REPL, CSI, were presented in Visual Studio Update 1. In Update 2,the intelligent involvement is
  • 2. matched with the supervisor by permitting engineers to send code pieces from the editorial manager to be executed in the Interactive window. Additionally, the developers are empowered to introduce the Interactive window with an undertaking’s connection. Feasibility in accessing these components : Highlight a code bit in the editorial manager, right-snap, and press Execute in Interactive (or Ctrl+E, Ctrl+E). Right-tap on an undertaking in the Solution Explorer and press Initialize Interactive with the task. Include Imports Utilizing Improvements (VB and C#) Adding Imports/Using order is enhanced to bolster “fluffy” coordinating on incorrectly spelled sorts and to look your whole arrangement and metadata for the right sort—including both an utilizing/imports and any undertaking/metadata references, if vital. The sort name should be settled (two letters are transposed) and the System .Net utilizingshould be included. Refactorings A couple refactorings are sprinkled in were : - Make strategy synchronous (VB and C#)
  • 3. - Use invalid contingent for representative conjuring (C#) Along these lines, the executioner situation for this element is bringing events up in a string safe manner. Before C# 6 the best possible approach to do this was to duplicate the sponsorship field of the event to a nearby variable, check the variable for invalidness and summon the agent inside the if. Generally, Thread B could set the agent to invalid by expelling the last handler after Thread A has checked it for invalid bringing about Thread An unexpectedly tossing a NullReferenceException. Utilizing the invalid restrictive as a part of C# is a much shorter type of this example. Be that as it may, in VB the RaiseEvent explanation effectively brought the event up in an invalid safe manner, utilizing the same code-gen. So the executioner situation for this refactoring truly didn’t exist and more regrettable, in the event that we include the refactoring individuals may erroneously change their code to be less colloquial with no advantage. Every now and then we survey tests that don’t comprehend this and play out the invalid check unequivocally at any rate so this appears to be prone to strengthen that excess conduct. Roslyn Features (VB and C# in Update 2) Addition of two new compiler banners to the Roslyn compiler :
  • 4. deterministic: This switch will guarantee works with the same inputs deliver the same the yields, byte for byte. Beforehand, PE entries–like MVID, PDB ID and Timestamp–would change on each form yet now can be figured deterministically taking into account the inputs. publicSign : Supports another technique for marking that is like deferral marking aside from it doesn’t have to add skip check passages to your machine. Doubles can be open marked with just the general population key and load into settings vital for improvement and testing. This is otherwise called OSS marking. For .NET training and placement reviews, please do visit CRB Tech Reviews. Most Related Articles : Top 5 Reasons That Make ASP.NET More Secure Over PHP ASP.NET LIFE CYCLE IN DEPTH