Posts by Thiago • 79 points
8 posts
-
-2
votes1
answer58
viewsQ: How to upload content from other files using javascript?
I have a field: <div class="conteudo"></div> . I’m wanting to put the text sequinte inside the content div <p>Conteúdo</p> . To try to achieve this goal I am using the…
-
0
votes1
answer33
viewsQ: How to select an element based on content
I have a table <table> <tr> <th>Link</th> <th>Descrição</th> </tr> <tr> <td>Fonts para web</td> <td><a…
-
-1
votes2
answers84
viewsA: repetition cycle For chained, in C # Sharp, initiation
bool val,val1; [...] do { Console.Write("\n\t Insira o ano de nascimento do empregado"); val = int.TryParse(Console.ReadLine(), out anonascim); …
-
0
votes2
answers30
viewsA: I need to solve an image resizing problem in C#
int size = 400; int w; int h; if (image.Width > image.Height) { h = size; w = image.Width * size / image.Height; } else { w = size; h =…
-
3
votes2
answers106
views -
0
votes0
answers55
viewsQ: Except System.Platformnotsupportedexception when trying to compile code with Codedom
I’m using a code, which I saw in a reply of this page: var csc = new CSharpCodeProvider(); var parameters = new CompilerParameters( new[] { "mscorlib.dll", "System.Core.dll" }, "teste.exe", true) {…
-
0
votes0
answers272
viewsQ: Add Reference to Visual Studio 2019
I used Visual Studio 2017, and had an area to add reference. When I switched to Visual Studio 2019, I noticed that the button changed its name. When I try to add a reference it doesn’t work, the box…
-
0
votes0
answers40
viewsQ: How to execute a string’s instructions
I have a string: string str="for(int x = 0; x < 10; x++) Console.Write(\"hello\");" How do I execute the instructions for this string? for(int x = 0; x < 10; x++) Console.Write("hello");…