int varvalor;
int var01 = varvalor * 1;
Console.Write("Digite um número para ser multiplicado: ");
var01 = Convert.ToInt32 (Console.ReadLine());
Console.WriteLine();
I wanted to write in Console.WriteLine(); these lines of code that is...
I am creating a simple Poker game, in this game I defined that the cards would be structs . According to my business rules, each card has a value , a name and a suit .
The Valor property corresponds to the range of 2 to 14 (this...
I have an application that connects to the database via NHibernate , so some operations are performed as Save, Update e Delete . But when performing these procedures it is incredible how memory accumulation is done by not automatical...
I ran an application in Visual Studio Code Analysis and in several methods I received the following message:
CA2200 Rethrow to preserve stack
details 'fooBLO.FooMethod (DataProjectDTO, string)' rethrows a caught
exception and specifies...
I created a web service where you have enumerators to keep track of an integer attribute, I would like to know how I can access this enumerator from another project in which I am using this web service.
Edit:
So far in my reports I have been using tables and binding my datasets to those. But today I had to use a List to create a card (I'm still trying to understand how it works).
When to use Table, Matrix and List and their differences?...
When trying to install the newer version of .net, an error occurred informing:
Installation will not take place. See the reasons below.
Details
The .NET Framework 4.7.1 or a later update has already been installed on the comp...
How can I pass an anonymous object to a method, and then traverse it?
What I'm trying to do is the following:
public static string QueryStringToUrl(string url, Dictionary<string, string> query)
{
var uriBuilder = new UriBuilder(ur...
What's the difference in using Dictionary<string, string> and NameValueCollection ?
I searched, but only found in English in the SOpt same, I used the translator, but the translation was strange and I did not understand.
I am migrating to a Visual Studio 2017 a legacy project that uses a modal window to collect connection data to the database and format a connection string.
The code below displays an error:
var dialog = new DataConnectionDialog();
C...