Blog - Title

  • The C# Team

    Roslyn performance (Matt Gertz)

    • 20 Comments
    (For the next few posts, I’m going to introduce readers to the different feature teams in the Managed Languages org. Today, I’m starting this with a focus on the performance team.) Back in 2000, I found myself assigned to be the performance...
  • The C# Team

    Why doesn't C# warn about unused methods?

    • 7 Comments
    Q: Why doesn't C# warn on unused methods? A: This is something that the C# compiler could do, subject to a few caveats: Virtual functions would have to be excluded Interface implementations wouldn have to be excluded You would get false...
  • The C# Team

    Implementing a Code Action using Roslyn

    • 11 Comments
    By Brian Rasmussen The Roslyn Services API makes it easy to implement extensions that detect and fix code issues directly in Visual Studio. The Roslyn Services API is available as part of the Roslyn CTP . In this post we implement a Visual Studio...
  • The C# Team

    Obtain Type Information on the Fly using typeof

    • 2 Comments
    All .NET assemblies contain vivid type information which describes the structure of every internal and external type (this can be verified by loading an assembly into ildasm.exe and clicking the ctrl-m keystroke). On a related note, many methods in the...
  • The C# Team

    Better together: C# 6 and the Visual Studio 2015 Debugger

    • 10 Comments
    "Lambdas! Lambdas! Lambdas! Lambdas! ..." If you hadn't heard , Visual Studio 2015 will support the use of lambda expressions in the debugger windows. We're all very excited to deliver on this longstanding TOP customer request . When LINQ was...
  • The C# Team

    Introducing the Visual Studio 2015 Preview for C# and VB

    • 9 Comments

    Today, we are pleased to announce that this work has culminated with the release of Visual Studio 2015 Preview. Visual Studio 2015 Preview showcases many improvements—new language features, smarter and better IDE experiences, improved debugging, and code-aware "diagnostic analyzers"—that we believe make it the best version of Visual Studio to date. 

    ...
  • The C# Team

    How do I tell C# what kind of literal number I want?

    • 5 Comments
    If you need to tell C# that you want it to treat a literal as a particular type of number, you may do so by adding a number type suffix at the end of the literal you provide. For example: 1u; // An unsigned int 1l; // A signed long 1ul;...
  • The C# Team

    Using the Roslyn Symbol API

    • 1 Comments
    by Kevin Pilch-Bisson I’m back again, to move along to the next stage of the compiler pipeline, and take a look at working with Symbols in the using the Roslyn CTP . The Roslyn CTP’s symbol API provides a top-down view of all the symbols available. Before...
  • The C# Team

    Avoiding Type Name-Clashes using 'using'

    • 10 Comments
    You are already aware that the C# using keyword allows you to supply hints to the compiler regarding the fully qualified name of the types within a given *.cs file. However, what you may not know is that the using keyword also allows you to build aliases...
  • The C# Team

    How are parameters passed in C#? Are they passed by reference or by value?

    • 2 Comments
    By default, all parameters are passed by value in C#. Parameters are only passed by reference if you explicitly include an out or ref modifier. However, you need to be aware that when the type of the parameter is a reference type, you're passing...
  • The C# Team

    C# 2010 Soup to Nuts Series

    • 5 Comments
    By Emily Gibson New! C# 2010 Soup to Nuts Series Explore this webcast series on Visual C# 2010 presented by Developer Evangelist, Bill Steele. Learn about class libraries, operator basics, branching and looping, and more as Bill dives deep into this fantastic...
  • The C# Team

    What's the difference between an event and a delegate?

    • 1 Comments
    Put simply, an event gives more limited access than a delegate. If an event is made public, code in other classes can only add or remove handlers for that event; they can't necessarily fire it, find out all the handlers for it, or remove handlers...
  • The C# Team

    Announcing Microsoft “Roslyn” June 2012 CTP

    • 3 Comments
    Today, we're excited to announce that the Roslyn June 2012 CTP is now available for download ! Since the first public release of Roslyn , we’ve been hard at work implementing new language features , addressing top customer feedback from the Oct...
  • The C# Team

    Visualizing Roslyn Syntax Trees

    • 1 Comments
    Hello everyone! I hope you had a chance to catch the recent announcements around the .NET Compiler Platform (“Roslyn”). If not, I encourage you to view Anders’s presentation at Build 2014 (skip to 1:10:28). If you haven’t already, download the previews...
  • The C# Team

    Async Targeting Pack for Visual Studio 11 now available for .NET 4 and Silverlight 5

    • 4 Comments
    If you’ve held off on trying Visual Studio 11 Beta because your .NET 4 or Silverlight 5 app uses the Async CTP, your wait is over! Today we’ve published the Async Targeting Pack for Visual Studio 11 , a NuGet package that lets your Visual...
  • The C# Team

    Short Videos Demonstrating What’s New in Visual Studio 2015 Preview for C#, VB, and F#

    • 1 Comments
    Our team has put together a set of short videos to highlight some of our work in Visual Studio 2015 Preview . Check them out to learn more about what’s new in C# and VB, how F# can be good for enterprise, and how to improve your code quality with...
  • The C# Team

    .NET Compiler Platform ("Roslyn") for the Rest of Us

    • 3 Comments
    This post is brought to you by Beth Massi , a Program Manager on the Visual Studio team. If you’ve been reading this blog I’m sure you know by now that the .NET Compiler Platform (code named "Roslyn") is the next generation of the Visual Basic...
  • The C# Team

    Edit & Continue and Make Object ID Improvements in CTP 6

    • 19 Comments
    It's the beginning of a new year! According to Back to the Future Part II , everyone will be riding hoverboards in a couple months (and, let's be honest, Doc would love the HoloLens ). In the meantime, let's explore the enhancements we've made to the...
  • The C# Team

    Microsoft Help Viewer 1.1 - Updates Planned for Visual Studio 2010 SP1

    • 1 Comments
    Learn about the upcoming changes to the Help Viewer planned for Visual Studio 2010 SP1.  Paul O’Rear, a Program Manager on the Library Experience team, describes the changes planned and demonstrates the new functionality of the viewer in an early...
  • The C# Team

    Visual Studio is Hiring

    • 7 Comments
    Do you want to work on a product used by millions of developers around the world? I do! Come join me to deliver Visual Studio, the set of developer tools used across Microsoft and around the world. We have open positions available across Test, Dev and...
  • The C# Team

    Roslyn Syntax Visualizers

    • 0 Comments
    Hi All! A few weeks ago, we announced the Microsoft "Roslyn" CTP . I hope many of you have had a chance to download the CTP and take it for a spin :) If you haven’t, do give it a try . To recap – in the Roslyn CTP, we are previewing a powerful...
  • The C# Team

    New Async Programming Videos

    • 2 Comments
    Some great new video's on MSDN showing how to do async programming using the Async CTP. http://msdn.microsoft.com/en-us/vstudio/hh378091.aspx There are different versions of video's for both VB and C#. This is a great opportunity to see the power...
  • The C# Team

    Why don't namespace using directives import nested namespaces?

    • 5 Comments
    In C#, when you specify a “using” clause, such as using System.Text; the compiler only imports the types in System.Text into the global namespace - it doesn't do the same with any namespaces inside of System.Text. So, while that using...
  • The C# Team

    Roslyn ships v1.0-rc2 with "Go-Live" license

    • 18 Comments
    For the last six years you've heard us go on and on about this Roslyn thing and how it's the platform for the future and would change everything and that we were all-in on it and "it's going to be great just wait and see". Well, the wait is over. This...
  • The C# Team

    Updated license for September 2012 Roslyn preview available (MattGe)

    • 2 Comments
    As I mentioned in my previous blog post, we ended up with a little too much time between previews, to our subsequent embarrassment. In fact, it came to our attention recently that the licensing for the most “recent” CTP (and admittedly I use...
Page 5 of 6 (142 items) «23456