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
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
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
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
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
IEnumerable<T> exposes the enumerator, which supports a simple iteration over a collection of a specified type.
The following example demonstrates how to implement the IEnumerable<T> interface on custom MyList<T> class.
352 Followers 4K Following3D General artist. Working Part-Time in Retail. Anthropology/Archaeology Degree from Uni. of Texas, Austin and the Art Institute.
340K Followers 850 FollowingFree. Cross-platform. Open source. A developer platform for building all your apps. Official handle of the .NET team at Microsoft.
2K Followers 3K FollowingRSD is a software development company that works completely on remote basis.We believe that distributed teams are one of greatest benefits for clients nowadays.
535K Followers 11 FollowingThe most comprehensive IDE for .NET and C++ devs on Windows. It's packed with a sweet array of tools to elevate every stage of software development.