You can use @"db\". The @ tells the compiler not to treat the \ as an escape character.
From MSDN:
because the backslash () is an escape character, literal backslashes in a string must be escaped or the entire string must be @-quoted.