BT

Xamarin.Studio 5.9 Now Supports C# 6

| by Sergio De Simone Follow 12 Followers on May 15, 2015. Estimated reading time: 1 minute |

The recently released Xamarin.Studio 5.9 adds support for C# 6, improvements to Sketches, new debugger’s visualizers, and more.

C# 6 Support

C# 6 will be officially released in Visual Studio 2015, which is only available as Community Edition. Still, Xamarin.Studio already supports C# 6 new features, such as:

  • ? null-conditional operator, which allows to safely dereference an optional variable: name?.Substring(' ');

  • string interpolation, e.g., string.Format ($"{fname} {lname}");

  • lamba-arrow operator for single-methods expressions, which allows to define properties and methods in a single statement:

    public string Fullname => string.Format ("{0} {1}", fname, lname);
    public override string ToString() => string.Format("{0}, {1}", lname, fname)
    

InfoQ has already covered C# 6 new features previously.

New project dialog

The project dialog has been redesign to allow an easier selection of the desired template and allows for a better handling of platform specific options. Furthermore, the new WatchKit wizard makes it easier to select the parent project for your WatchKit extension and whether it supports a glance and/or notifications.

Improved debugger experience

The new C# debugger that comes with Xamarin.Studio 5.9 adds new data inspectors for types such as strings, points, sizes, rectangles, colors, map locations, images, etc. Furthermore, inspecting a variable has become easier thanks to a new “eye” tool that you can hover over to get the inspector displayed.

Besides that, Xamarin.Studio 5.9 also adds many improvements to Sketches, which is a live coding evironment able to provide a live display of produced data, and to iOS Designer tool, which is a visual designer for Storyboards.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT