how to find Main folder where bin folder exists using application.sta rtuppath in c#
IF
application.sta rtuppath=D:\Tes t\ThreadExample \DnsLookup\DnsL ookup\bin\Debug
Then i need to find the folder exactly like :
D:\Test\ThreadE xample\DnsLooku p\DnsLookup
how ??
IF
application.sta rtuppath=D:\Tes t\ThreadExample \DnsLookup\DnsL ookup\bin\Debug
Then i need to find the folder exactly like :
D:\Test\ThreadE xample\DnsLooku p\DnsLookup
how ??
Comment