I have a class like this:
public Class Work
{
public DataTable GetWork()
{
//return a datatable which contains information about working hourse
}
}
I want to declare another method isnide the GetWork method.
Actually I want to create a class in which I can call something like this:
DataTable myData=Work.GetWork.ToDays()//Returns work days
DataTable myOtherData=Work.GetWork.ToHour();//Returns work hours
How can I achieve the above state? Thanks in advance and pardon my poor english :(