I created class library, created Web Application project, then add reference to the class library in the Web Application project as explained here, but can't add "using" for it. (the namespace of customer.cs is also "CDemoLib") (when i added "using CDemoLib;" i got 'cannot resolve symbol CDemoLib'
the code of customer.cs is
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CDemoLib
{
public class Customer
{
private int _age;
private string _name;
public Customer()
{
Age = 0;
Name = "Not available";
}
public int Age
{
get { return _age; }
set { _age = value; }
}
public string Name
{
get { return _name; }
set { _name = value; }
}
}
}