
C# .NET programming and information. Visual Studio tips and tricks.
Joined August 2018
- Tweets28
- Following12
- Followers220
- Likes9
Programming in C# retweeted
Introducing .NET 5 devblogs.microsoft.com/dotne…
In @VisualStudio we can use Ctrl + G to jump to line.
#code #csharp #Dotnet #VisualStudio #dotnetcore
Beginning with #csharp 7.3, tuple types support the == and != operators. These operators work by comparing each member of the left argument to each member of the right argument in order. These comparisons will stop evaluating members as soon as one pair is not equal.
#programming
In #VisualStudio you can see the return value of function in the autos windows or use $ReturnValue in the watch/immediate window.
#programming #csharp #dotnet #dotnetcore #code #coding
Best Practices for Using Strings in .NET | Microsoft Docs docs.microsoft.com/en-us/dot…
C# 7.2 introduced new compound access modifier: private protected. A private protected member is accessible by types derived from the containing class, but only within its containing assembly.
#programming #csharp #dotNET #code #visualstudio #dotNET
2
In C# 7.2 the conditional expression may produce a ref result instead of a value result.
#programming #CSharp #Dotnet #VisualStudio #dotnetcore #code #coding
1
In C# 7.2 hex and binary numeric literals may now begin with an _
#programming #code #csharp #Dotnet #code #coding #language #VisualStudio #dotnetcore
1
Named arguments free you from the need to remember or to look up the order of parameters in the parameter lists of called methods. The parameter for each argument can be specified by parameter name.
#programming #csharp #Dotnet #dotnetcore #VisualStudio #code #coding #developer
We can get the value of custom attribute using reflection.
#programming #code #coding #csharp #dotnet #visualstudio #dotnetcore #development
Announcing .NET Core 2.2 Preview 3
#programming #Dotnet #dotnetcore #csharp #VisualStudio
blogs.msdn.microsoft.com/dot…
You can add keyword-like descriptive declarations, called attributes, to annotate programming elements. Attributes allow you to place extra descriptive info into metadata that can be extracted using reflection.
#programming #csharp #Dotnet #VisualStudio #code #coding #development
An "adapter function" that negates a given predicate - whenever the given predicate evaluates to true, the resulting function evaluates to false, and vice versa.
#programming #csharp #Dotnet #visualstudio #code #Developer #coding #dotnetcore
1
Pure functions and functional programming with C# functionalprogrammingcsharp.…
3 ways to convert string to integer:
Int32.Parse - if you expect the input to be valid integer
Convert.ToInt32 - returns 0 if the input string is null
Int32.TryParse - allows for more control when the input is invalid
#programming #Csharp #Dotnet #code #coding #VisualStudio
New features in Entity Framework Core 2.2 Preview 2:
- Spatial extensions for SQL Server and in-memory
- New EF Core provider for Cosmos DB
- Collections of owned entities
- Query tags
#csharp #programming #EntityFramework #Dotnet #code blogs.msdn.microsoft.com/dot…
2















