News

In this article we’ll see how we can design and develop our own logging framework with ease, and walk through the steps to build a simple logger in C#. First off, you will need to understand the ...
So I have a method:<BR><BR><pre class="ip-ubbcode-code-pre">int Foo()</pre><BR><BR>It either returns a value if successful or NULL if not. If I'm not mistaken, if I ...
I'm trying to write a simple C# (.NET 1.1) class with a couple of properties. One of the properties is going to be SiteGuid, which relates to the SiteGuid of a SharePoint SPSite object.
Below is a simple implementation of a primary ... Using overloaded constructors with a primary constructor in C# You can use overloaded constructors in any class that has a primary constructor.
Case matters when moving from one language to another and, often, variable naming conflicts can be as simple as that ... vary by the case of their first letters, this class works just fine in C#, ...
Simple C# structure. struct JustSomeStructure { int TypicalPrivateMember; } ' ----- Simple Visual Basic structure. Structure JustSomeStructure Dim TypicalPublicMember As Integer End Structure At the ...
Creating a new form in C# is fairly simple, thanks to the Form class. But what about referencing an existing one? Step through this sample code and see how it's done. Much of the time in the real ...