i used this way to convert a string to int but when i use the converted variable i got this error

Error 1 Use of unassigned local variable 'last_Crawl_Date' F:\3RD YEAR\2nd term\Advanced programing\project\Copy of Re-Visit version\WebCrawler\ReVisit.cs 142 38 WebCrawler

hope you can help me and reply as soon as possible

>Error 1 Use of unassigned local variable 'last_Crawl_Date'

You must initialize the local variables.

DateTime last_Crawl_Date=DateTime.Now;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.