In the " UsingCsla4-05-WPF-SL-v0.4 " ebook, there is a static class TimeStampExtension on page no.68 as given below:
public static class TimeSampExtension
public static bool Matches(this byte stamp1,byte stamp2)
I dont understand:
how does this keyword work?
why is it used?
Look up ExtensionMethods and syntax in MSDN. this keyword means that the Matches method is an extension method to byte type.
Copyright (c) Marimer LLC