Component Sample
We will write our first component in C# and not in PerlNET, as you would expect. This choice is not casual, as the C# language was written especially for .NET, while considering all the tiniest details of this environment, and that is why the structure of programs written in C# is much closer to the structure of .NET assemblies. Therefore, it is rather natural to start advanced programming learning of any .NET-compliant language with C#, as we gain an additional insight into the .NET Framework. We will continue this approach of using C# to delve more deeply into .NET in Chapter 13.
C# Sample
Our example provides simple functionality of a stock item. The code resides in Stock\Cs. Our class defines a constructor, two properties, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access