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, ...
Get Programming PERL in the .NET Environment now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.