Click here to Skip to main content
15,896,063 members
Articles / Web Development / Apache

The platform-independent code with Mono: Client-server application sample

Rate me:
Please Sign up or sign in to vote.
4.80/5 (23 votes)
24 Mar 2010CPOL10 min read 74.9K   798   59  
This article shows how we can develop the platform-independent software with Mono usage
using System.Collections.Generic;

namespace InfoCenter.Persistence.Entities
{
    public class Process
    {
        private int _id;
        public int ID 
		{ 
			get
			{
				return _id;
			} 
			set
			{
				_id = value;
			}
		}

        private int _pid;
        public int Pid 
		{ 
			get
			{
				return _pid;
			} 
			set
			{
				_pid = value;
			}
		}
		
		private string _name;
        public string Name
		{
			get
			{
				return _name;
			} 
			set
			{
				_name = value;
			}
		}
		
		private Computer _host; 
        public Computer Host 
		{
			get
			{
				return _host;
			} 
			set
			{
				_host = 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
Software Developer (Senior) Nokia
Germany Germany
Interested in design/development of framework functionality using the best patterns and practices.

Comments and Discussions