Today we are going to explore yet another new feature of C# 6.0 which will be coming in this release. This is my fourth post in the series of C# 6.0 New Features. Don't forget to read my previous post in this Series :
Today we will be learning about String Interpolation/String Concatenation with respect to C# 6.0.
String Concatenation - It's used to join the different records to the users and to accomplish this we either use "+" symbol or string.Format method to format and to organize it. With the new release of C# 6.0, it's now a old mechanism.
But now with C# 6.0, Developer can directly put expressions in the string literal to show the values in proper format and you can even align or specify different format to your values. And one of the best is, Developer can write conditions within string literals with additional strings as content.
Below are the few examples :
Hope you like this feature and since Microsoft is yet to release the stable version of Visual Studio 2015 and C# 6.0, so you can expect quite a lot more feature in String Interpolation. Stay tune to my series of post on C# 6.0 Features. Happy Coding.
Microsoft is back with the brand new Surface 3 tablet but compared to original Surface RT and Surface 2, configuration is between different. Surface RT and Surface 2 didn't let you run the traditional application but with Surface 3 Microsoft is ditching ARM processor and Windows 8.1 RT and brings full version of Windows 8.1 up-gradable to Windows 10 with an Intel Atom chip.
With the Launch of Surface 3 its very much confirmed that Windows 8.1 RT is distant idea and Microsoft wants to forget its mistake.
Surface RT and Surface 2 used a 10.6-inch display with 16:9 aspect ratio but with Surface 3 Microsoft improved it to 10.8-inch display with 3:2 aspect ratio. Another major design compared to Surface 3 Pro is the kickstand. In Surface 3 Pro Microsoft introduced Multi-Position kickstand but with Surface 3 user can now adjust kickstand to 3-position.
To help with lap use, Microsoft is upgrading its smaller Surface Type Covers to accommodate the Surface 3. Just like the Surface Pro 3, they snap into place underneath the screen with magnets to help make the keyboard a lot more sturdy in your lap. While you can use the new Surface 3 Type Covers on the Surface Pro 3, and vice versa.
Best selling point of Surface Pro 3 is the stylus which Microsoft is bringing to Surface 3 and Pen is same as what you use in Surface Pro 3. Also there are various color option for Stylus matching with the TypeCover.
Another great feature feature with Surface 3 is that user can now charge Surface 3 with USB. And with Surface 3 user will even get one year free subscription for Office 365 personal.
With good reviews and sales of Surface Pro 3, Microsoft is hoping to get a good response for Surface 3. Main target with the release of Surface 3 is Students and users who like Surface Pro 3 but don't need full power of it.