how to pass variable values between two class in different projects
project1
form1.cs// ui tier
bb obj= new bb();
cc objc = new cc();
obj._Pur_Net_Total_Amount="fun";
objc.method();
project2
class2.cs // business tier
class bb()
{
string Net_Total_Amount = string.Empty;
public string _Pur_Net_Total_Amount
{
get { return Net_Total_Amount; }
set { Net_Total_Amount = value; }
}
}
project 2
form3.cs // business tier
class cc()
{
bb obj = new bb();
method()
{
textbox1.text=obj._Pur_Net_Total_Amount;//here i'm not getting "fun" strin
}
}