C# tip: use params for method that takes variable number of arguments 12 years ago In C# there is a params keyword which allows a method parameter to take variable number of arguments. MSDN Some… Phantomjs talk in Ottawa JS Meetup 12 years ago Thanks to everyone who came out last night at OttawaJS for the phantomjs talk, the slides are located at slid.es.… C# tip: out parameter keyword 12 years ago In C# there is the out parameter keyword which causes arguments to be passed by reference. It is like the… C# the use of ref keyword 12 years ago In C# when using the ref keyword it causes an argument to be passed by reference, not by value. In… C# tip: Use Path Combine for file or directory path information 12 years ago .NET provides in its System.IO namespace the Path class which performs operations on String instances that contain file or directory… Documentation comment your C# code use GhostDoc at least 13 years ago Recently have been going through some old code to review the comments in them from other developers and what I… LINQ tip – Ordering collection using existing array/collection using OrderBy 13 years ago Here is a LINQ tip where you may wish to order a collection with an existing ordering of another collection.… C# tip – Marking method or class as Obsolete/Deprecated 13 years ago Obsolete or Deprecated? How do you mark a class or method as deprecated/obsolete? By using the Obsolete attribute [crayon-6a1c9f0a907d2312511235/] C# Null Coalescing Operator 13 years ago The ?? operator is called the null coalescing operator. It is used for providing a default value for Nullable types… C# tip property with different accessibility scopes 13 years ago In C# you can have property with different scope (property accessors). Properties in C# can be marked as public, private,… Next» « Previous