Front End Connect behind the front-end experience Free Lance Freelance Tools C# Generate PDF What makes C# great again C# advent Calendar Business Startup advise React Advance Features Function vs Class Components Below the surface Controllable React Components Getting Started With React
Week Reading: 12/15/2017
C# 7 Series, Part 7: Ref Returns In Parameters in C# 7.2 – Read-only References 5 More C# Extension Methods for the Stocking! How to Encrypt and Decrypt Connection Strings in Web.Config File C# attributes you should know #1: [DebuggerTypeProxy] .NET API Browser Video
C# Version History
C# Version History Version Features Visual Studio Framework C# 7.2 Reference semantics with value types Non-trailing named arguments Leading underscores in numeric literals private protected access modifier Visual Studio 2017 version 15.5 .NET Core/ .NET Framework 4.7.1 C# 7.1 async Main method default literal expressions Inferred tuple element names Visual Studio 2017 version 15.3 .NET […]
C# Difference between ref and out parameters
In C# by default the parameters are always passed by value but you can also use out and ref keywords for passing parameters by reference. Both keywords are identical with the only difference of initializing the value of the variable. However, ref and out are treated differently at run-time but they are treated same at […]
C# List of String Functions
String Functions string.IsNullOrEmpty() – read more here Code Sample: string output = string.IsNullOrEmpty(someString) ? “0” : someString; You can also use the null coalescing operator (??), but it would not handle empty strings. string output = somePossiblyNullString ?? “0”; string.sNullOrWhiteSpace() – Indicates whether a specified string is null, empty, or consists only of white-space characters. […]
C# virtual vs override
Virtual vs Override Virtual means making another version of same method in a child class, simply check for newer implementations before calling but abstract method is guaranteed to be overridden in all derived classes. In programming terminology it means that it can modify a method, property, indexer or event declaration and allow it to be […]
C# Collection of reserved keywords
Keywords A abstract as B base bool break byte C case catch char checked class const continue D decimal default delegate do double E else enum event explicit extern F false finally fixed float for foreach G goto I if implicit in int interface internal is lock longnamespace Main() – this is the method where […]
Visual Studio 2017
Using Quick Actions and Refactorings
C# Identifiers and Keywords
Identifiers and Keywords Collection Set of objects grouped together Contextual keywords Can be used as identifiers. With contextual keywords, ambiguity cannot arise within the context in which they are used. Link to Collections of reserved and contextual words Identifiers Are names that programmers choose for their classes, methods, variables, and so on. An identifier must be a […]
Monthly Progress with Fitbit Charge 2 – November 2017
My Profile Days Steps Floors Miles Calories Minutes 1 8595 2 3.5 1929 68 2 10933 15 4.68 1901 69 3 12487 28 5.34 1980 79 4 13958 7 5.63 2402 116 5 13193 1 5.33 2369 65 6 10909 10 4.72 2024 66 7 12199 20 5.25 1962 68 8 8691 23 3.55 1838 […]