mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 06:47:54 +02:00
[C#/en] Fix to "extension methods"
over using "extension functions", it's more accurate.
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user