Posts by Nicolas Sylverio • 167 points
5 posts
-
6
votes1
answer196
viewsQ: What is the difference between performance between different types of string concatenation?
I know 4 different types of concatenation of string in the c#: // string Interpolation $"valor {variavel} R$"; // Verbating string @"texto qualquer pula a linha e continua o texto"; // concatenar 2…
-
3
votes1
answer77
viewsQ: What is the scope of variables on an ASP.NET MVC page?
I have a view layout: <div> <h1>Pagina Principal<h1> </div> <div> <h3>Simular<h3> </div> <div class="row">…
-
1
votes1
answer174
viewsA: Isolate presentation layer domain
I would use interfaces for dependency injection, and another layer of crosscutting to map through the projects the classes needed with their interfaces. In this project on the github of Eduardo…
-
2
votes1
answer955
viewsA: Convert string to XML
Try using this conversion. public static class Serializa { public static string SerializaParaString<T>(this T valor) { XmlSerializer xml = new XmlSerializer(valor.GetType()); StringWriter…
c#answered Nicolas Sylverio 167 -
1
votes2
answers1871
viewsQ: What does "At Execution Time" mean?
Eae Galera all good? In my researches I always find references to the term "At runtime", But looking for the term to get more information, I can’t locate anything relevant. I’d like to understand…
c#asked Nicolas Sylverio 167