Email: Password:       Forgot Password 
    .netCodeSG
A Saarsha Group Online Community for dot net codes group like C#, Asp.NET, VB.NET, Sharepoint, JavaScript, JQuery, Ajax, SQL, WCF, WPF.
 
TECHNOLOGIES:
How to create an assembly in C# . ?

Posted On: 16/11/2013 23:43:35

The following are the steps to create a private assembly (by default all assemblies are private) using Visual C# 2005 Express Edition.

  1. Select File->New Project
  2. From Templates, select Class Library
  3. Enter name MakeLibrary
  4. A class library is created using a single class Class1
  5. Rename class to MakeMyLib and add the following code.

6.  namespace MakeLibrary

7.  {

8.      public class MakeMyLib

9.      {

10.        protected int v = 0;

11.        public MakeMyLib(int v)

12.        {

13.            this.v = v;

14.        }

15.        public int Value

16.        {

17.            get

18.            {

19.                return v;

20.            }

MOST VIEWED QUESTION:
 
         HOME   |   Submit Article   |   Contact Us   |   About Us   |   Terms & Condition   |   Advertise With us