//SERVICES.DLL using Interfaces; namespace Services { internal class Users : IUser { public Users GetUserByName (string Name) { //Implementation } } } //INTERFACES.DLL namespace Interfaces { public interface IUser { Users GetUserByName(string Name); } public class Users { public string FirstName {get; set;} public string LastName {get; set;} } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)