What is the error in the conditional below and how to solve it?
private void Botão_Click(object sender, EventArgs e)
{
if(Pbox.Show();)
Pbox.Hide();
else(Pbox.Hide();)
Pbox.Show();
}
private void Pbox_Click(object send...
How can I convert this algorithm from c to c #?
int main () {
char nome[50];
float LIM=20, soma=0.0, media, mediaTurma;
float a, b, c, d, e, f, g, h, i, j;
int x, y;
for (x=0; x<=LIM;x++){...
I'm developing a C # application and need to do the following:
I need to initially enter a site on a specific page. However it is necessary to start a session, do not just put the link directly from the login page. You must enter the Home pag...
Good Afternoon
string nr = ABC:1
I would like to get the number after ":", how would you do it?
nr = nr.substring(...);
Expected result:
for nr = ABC:50
nr = 50;
for nr = LKfasEWF:5039
nr = 5039
Good afternoon, I'm using microsoft.office.interop.word to convert pdf documents to pdf in WCF, however the only interopr to run WCF is online only interopr does not work, where it is necessary to restart the WCF service for it works again.
D...
These days I came across a problem that I can not solve and I do not know much where it starts.
I have these 4 fields in my system, where, if the user infuses the percentage discount,
the system automatically shows to the user, in the f...
I'm already trying to make a program that does the following: Ask a user to type a number of numbers and then to enter the number of numbers that he wants to have in the combination and then the program prints the combinations and the quantities...
I have this code in View
@using (Html.BeginForm("VisualizaJogoParaExclusao", "Relatorios", FormMethod.Post))
{
<div class="row">
<div class="span12">
<input class="form-control input-...
I need to mount this json from a string and pass it as a parameter:
I did this:
string s = "{\"Matriz\":12, \"Filial\":21}";
In the click of my button I have this:
private void Click_Service(object sender, EventArgs e)
{...
I have these values:
x = 5;
long[] b = new long[]{5,1,2,3};
I need to make a program that adds the items in the b array so that the result is always equal to 5 (x). You can repeat the items, type:
[1,1,1,1,1] or [5] or [2,3] or [1,1,3] o...