anlex N
03/23/2024, 3:33 PMhfhbd
03/23/2024, 3:54 PManlex N
03/23/2024, 4:19 PMChrimaeon
03/23/2024, 5:59 PMFor example, you can write new functions for a class or an interface from a third-party library that you can’t modify. Such functions can be called in the usual way, as if they were methods of the original class. This mechanism is called an extension function. There are also extension properties that let you define new properties for existing classes.
Chrimaeon
03/23/2024, 6:00 PMhfhbd
03/23/2024, 6:22 PManlex N
03/24/2024, 3:31 AMChrimaeon
03/24/2024, 6:48 AM