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
Post a Comment