Are resource files (.resx) secure?

I have a resource file called AppSecrets.resx, and the bit of code below to check the login credentials of the “super duper admin user”. This admin user is distinct from normal admin users, as it is hard coded into the app. It works, but could someone sniff out the contents of the .resx-file on a live website?

Or is it just as secure to just leave the password as plain text in the MVC controller .cs-file?

string superduperadminpassword = AppSecrets.superduperadminpassword; if (login.UserName == "admin" && login.Password == superduperadminpassword) {     // Do some stuff ...     return RedirectToLocal(login.ReturnUrl); }