Programming in C# (@programmingincs) header
Programming in C# (@programmingincs) profile picture

C# .NET programming and information. Visual Studio tips and tricks.

Joined August 2018
Photo by Programming in C# (@programmingincs)Photo by Programming in C# (@programmingincs)Photo by Programming in C# (@programmingincs)Photo by Programming in C# (@programmingincs)Photo by Programming in C# (@programmingincs)Photo by Programming in C# (@programmingincs)Photo by Programming in C# (@programmingincs)Photo by Programming in C# (@programmingincs)Photo by Programming in C# (@programmingincs)Photo by Programming in C# (@programmingincs)
Programming in C# retweeted
It's really out! (Image description: photo of C# in Depth 4th edition)
43
111
8
728
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
2
6
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
2
5
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
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
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
2
1
3
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.
1