how to delete file from directory in c#

create delete operation on if else conditions with out contraints on tables in sql server