Click here to Skip to main content
15,891,431 members
Articles / Programming Languages / C#

Dynamic Assemblies

Rate me:
Please Sign up or sign in to vote.
2.94/5 (10 votes)
24 Aug 2008CPOL8 min read 37.5K   636   30  
Creating Dynamic assemblies in C#
using System;
using System.Collections.Generic;
using System.Text;

namespace DynamicAssemblyDemo
{
    public class Rule
    {
        public Rule(string Name, string body, string item, string returnType)
        {
            this.name = Name;
            this.body = body;
            this.item = item;
            this.returnType = returnType;
        }

        string name = string.Empty;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        string body = string.Empty;

        public string Body
        {
            get { return body; }
            set { body = value; }
        }

        string item = string.Empty;

        public string Item
        {
            get { return item; }
            set { item = value; }
        }

        string returnType = string.Empty;

        public string ReturnType
        {
            get { return returnType; }
            set { returnType = value; }
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Sri Lanka Sri Lanka
PhD, BSc(Eng), MCP (Web Development)

Comments and Discussions