how to find Main folder where bin folder exists using application.startuppath in c#
IF
application.startuppath=D:\Test\ThreadExample\DnsL ookup\DnsLookup\bin\Debug
Then i need to find the folder exactly like :
D:\Test\ThreadExample\DnsLookup\DnsLookup
how ??