Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️History of CSharp 2.0
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️History of CSharp 2.0
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️C# 2.0 • Generics • Partial types • Anonymous methods • Iterators • Nullable types • Getter/Setter separate accessibility • Static classes • And more...
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️C# 2.0 • Generics • Partial types • Anonymous methods • Iterators • Nullable types • Getter/Setter separate accessibility • Static classes • And more...
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️C# 3.0 • Implicitly typed local variables • Object and collection initializers • Auto-properties • Anonymous types • Extension methods • Query expressions • Lambda expressions • Expression trees • And more...
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️C# 3.0 • Implicitly typed local variables • Object and collection initializers • Auto-properties • Anonymous types • Extension methods • Query expressions • Lambda expressions • Expression trees • And more...
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️C# 4.0 • Dynamic binding • Named and optional parameters • Generic co- and contravariance • And more...
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️C# 4.0 • Dynamic binding • Named and optional parameters • Generic co- and contravariance • And more...
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️C# 5.0 • Asynchronous methods using Async and Await • Caller info attributes
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️C# 5.0 • Asynchronous methods using Async and Await • Caller info attributes
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️The state of the Compiler • It’s been a black box • Roslyn to the rescue! • .NET Compiler Platform • Microsoft decides to re-write the compiler • Compiler written in C# • Easier to extend and maintain • Open Source!
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️The state of the Compiler • It’s been a black box • Roslyn to the rescue! • .NET Compiler Platform • Microsoft decides to re-write the compiler • Compiler written in C# • Easier to extend and maintain • Open Source!
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️C# 6.0 Overview • Auto-property initializers • Getter-only auto-properties • Assignment to getter-only auto-properties from constructor • Parameter-less struct constructors • Using Statements for Static Members • Dictionary Initializer • Await in catch/finally • Exception filters • Expression-bodied members / Copyright ©2014 by Readify Pty Ltd 8 › Nullpropagation › Stringinterpolation › nameofoperator › And more..
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️C# 6.0 Overview • Auto-property initializers • Getter-only auto-properties • Assignment to getter-only auto-properties from constructor • Parameter-less struct constructors • Using Statements for Static Members • Dictionary Initializer • Await in catch/finally • Exception filters • Expression-bodied members / Copyright ©2014 by Readify Pty Ltd 8 › Nullpropagation › Stringinterpolation › nameofoperator › And more..
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Auto-Property Initializers
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Auto-Property Initializers
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Auto-property initializers in a nutshell
class Person { public string Name { get; set; } = "Anonymous"; }
class Person { public string Name { get; } = "Anonymous"; }
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Auto-property initializers in a nutshell
class Person { public string Name { get; set; } = "Anonymous"; }
class Person { public string Name { get; } = "Anonymous"; }
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Auto-property initializers in a nutshell
class Person
{
public string Name { get; }
public Person()
{
Name = “Abhishek";
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Auto-property initializers in a nutshell
class Person
{
public string Name { get; }
public Person()
{
Name = “Abhishek";
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Auto-property initializers in a nutshell
/ Copyright ©2014 by Readify Pty Ltd
class Person
{
private readonly string <Name>k__BackingField = “Abhishek";
public string Name
{
get
{
return this.<Name>k__BackingField;
}
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Auto-property initializers in a nutshell
/ Copyright ©2014 by Readify Pty Ltd
class Person
{
private readonly string <Name>k__BackingField = “Abhishek";
public string Name
{
get
{
return this.<Name>k__BackingField;
}
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Parameter-less struct constructors
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Parameter-less struct constructors
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Parameter-less struct constructors in a nutshell
struct Point
{
public int X { get; } // Read Only!
public int Y { get; } // Read Only!
public Point()
{
X = 100;
Y = 100;
}
}
Copyright ©2014 by Readify Pty Ltd @ fekberg
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Parameter-less struct constructors in a nutshell
struct Point
{
public int X { get; } // Read Only!
public int Y { get; } // Read Only!
public Point()
{
X = 100;
Y = 100;
}
}
Copyright ©2014 by Readify Pty Ltd @ fekberg
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Parameter-less struct constructors in a nutshell
struct Point
{
private readonly int <X>k__BackingField;
private readonly int <Y>k__BackingField;
public int X
{
get
{
return this.<X>k__BackingField;
}
}
public int Y
{
get
{
return this.<Y>k__BackingField;
}
}
public Point()
{
this.<X>k__BackingField = 100;
this.<Y>k__BackingField = 100;
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Parameter-less struct constructors in a nutshell
struct Point
{
private readonly int <X>k__BackingField;
private readonly int <Y>k__BackingField;
public int X
{
get
{
return this.<X>k__BackingField;
}
}
public int Y
{
get
{
return this.<Y>k__BackingField;
}
}
public Point()
{
this.<X>k__BackingField = 100;
this.<Y>k__BackingField = 100;
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Parameter-less struct constructors in a nutshell
struct Point
{
public int X { get; }
public int Y { get; }
public Point(int x, int y)
{
X = x;
Y = y;
}
public Point() : this(100, 100)
{
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Parameter-less struct constructors in a nutshell
struct Point
{
public int X { get; }
public int Y { get; }
public Point(int x, int y)
{
X = x;
Y = y;
}
public Point() : this(100, 100)
{
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Using Statements for Static Members
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Using Statements for Static Members
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Using Statements for Static Members in a nutshell
class Program
{
static void Main(string[] args)
{
var angle = 90d;
Console.WriteLine(Math.Sin(angle));
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Using Statements for Static Members in a nutshell
class Program
{
static void Main(string[] args)
{
var angle = 90d;
Console.WriteLine(Math.Sin(angle));
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Using Statements for Static Members in a nutshell
using System.Console;
using System.Math;
class Program
{
static void Main(string[] args)
{
var angle = 90d;
WriteLine(Sin(angle));
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Using Statements for Static Members in a nutshell
using System.Console;
using System.Math;
class Program
{
static void Main(string[] args)
{
var angle = 90d;
WriteLine(Sin(angle));
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Using Statements for Static Members in a nutshell
using System.Console;
using System.Linq.Enumerable;
class Program
{
static void Main(string[] args)
{
foreach (var i in Range(0, 10))
WriteLine(i);
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Using Statements for Static Members in a nutshell
using System.Console;
using System.Linq.Enumerable;
class Program
{
static void Main(string[] args)
{
foreach (var i in Range(0, 10))
WriteLine(i);
}
}
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
Forwarded from عکس نگار
▪️CSharp 7.0 Hacks and Features
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Dictionary Initializers
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages
⏹The presentation talks about latest version of C# with context to next version of it.
⚪️Dictionary Initializers
Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary
by @D4NTESPARDA
@ @ProgrammingLanguages