c# - Copying from PDF to Visual Studio -


the problem can't copy code pdf visual studio same: ie got

public class productdatabaseinitializer : dropcreatedatabasealways<productcontext>  {  protected override void seed(productcontext context)     {  getcategories().foreach(c => context.categories.add(c));  getproducts().foreach(p => context.products.add(p));    } 

and constant wall of text in visual studio:

public class productdatabaseinitializer : dropcreatedatabasealways { protected override void seed(productcontext context) { getcategories().foreach(c => context.categories.add(c)); getproducts().foreach(p => context.products.add(p)); }

how hell should copy that, because if copy notepad stays same above...

after pasting code in visual studio, mark , press ctrl-k, f format selected code.

alternatively, can press ctrl-k, d reformat whole document.


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -