i created a new instance as follows DateTime mydate=new DateTime(); , now when i am trying to return the current date by using mydate instance , i am not getting mydate.Now property , but i am getting "DateTime.Now" perfectly , i want to know what is the difference between 2 implementations & why the Now property not available with mydate object.??
No comments:
Post a Comment