Programming languages
135 subscribers
202 photos
36 videos
49 files
249 links
A channel about all kind of programming languages, and their architectures and concepts.
Download Telegram
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
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
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
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
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
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
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
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
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
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
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
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
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 in a nutshell

var people = new Dictionary<string, Person>
{
[“abhishek"] = new Person()
};

var answers = new Dictionary<int, string>
{
[42] = "the answer to life the universe and everything"
};

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.

⚪️Await inside Finallyblock

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.

⚪️Await + Finally in a nutshell
public async Task DownloadAsync()
{
try
{ }
catch
{
await Task.Delay
}
finally
{
await Task.Delay(2000);
}
}

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.

⚪️Exception Filters

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.

⚪️Exception filters in a nutshell
try
{
throw new CustomException { Severity = 100 };
}
catch (CustomException ex) if (ex.Severity > 50)
{
Console.WriteLine("*BING BING* WARNING *BING BING*");
}
catch (CustomException ex)
{
Console.WriteLine("Whooops!");
}

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.

⚪️Null Propagation

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.

⚪️Null propagation in a nutshell

class Person
{
public string Name { get; set; }
public Address Address { get; set; }
}
class Address
{
public string AddressLine1 { get; set; }
public string AddressLine2 { get; set; }
}

var abhishe = new Person
{
Name = “Abhishek"
};
Console.WriteLine(abhishek.Address.AddressLine1);

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.

⚪️Null propagation in a nutshell

class Person
{
public string Name { get; set; }
public Address Address { get; set; }
}
class Address
{
public string AddressLine1 { get; set; }
public string AddressLine2 { get; set; }
}

var abhishek = new Person
{
Name = “abhishek"
};
Console.WriteLine(abhishek.Address.AddressLine1);

Ref: slideshare.net
#WroteBy <Abhishek Sur>
#Date <30 May 2016>
#ProgrammingLanguage
#Microsoft
#DotNeT
#CSharp
#CSharp7
#SlideShare
#Summary

by @D4NTESPARDA
@ @ProgrammingLanguages