mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Merge pull request #1960 from roymiloh/master
[C#/en] Fix to "extension methods"
This commit is contained in:
commit
c139e9aefe
@ -630,7 +630,7 @@ on a new line! ""Wow!"", the masses cried";
|
||||
|
||||
public static class Extensions
|
||||
{
|
||||
// EXTENSION FUNCTIONS
|
||||
// EXTENSION METHODS
|
||||
public static void Print(this object obj)
|
||||
{
|
||||
Console.WriteLine(obj.ToString());
|
||||
|
Loading…
Reference in New Issue
Block a user