Difference between w+ and r+ modes

Both r+ and w+ we can read ,write on file but r+ does not truncate  (delete) the content of file  as well it doesn't create a new file if such file doesn't exits while in w+ truncate the content of file as well as create a new file if such file doesn't exists.

Comments

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System