Questions tagged as '.net'

1
answer

What are the differences of ".NET"?

I took a look at this response , but did not answer my question. As far as I know, there is the .NET Framework, .NET Core, ASP.NET, .NET Standart, and Mono but I do not know the difference between them and I do not know which one to use for p...
asked by 10.02.2018 / 02:20
2
answers

Working with a DateTime instance without the time information

My tests had been running successfully, when "by magic" one of them began to fail: var data1 = DateTime.Now.AddDays(1); ...processos ...processos var data1 = DateTime.Now.AddDays(1); Assert.Throws<DataException>(() =>...
asked by 21.11.2015 / 02:24
3
answers

How to install SQLite to be part of a C # project?

I'm creating a desktop application in C # of registry that will use database. Which database to use? I was advised to use SQLite , but I'm not fully understanding how to use it. What version of SQLite should I download, could you help me...
asked by 18.12.2015 / 20:18
2
answers

What is IEnumerable and IEnumerator?

I've done a combo of questions about IEnumerable and IEnumerator to not only help me but everyone who needs a more didactic explanation. Question 1    Someone could explain in a more didactic way what these   interfaces and...
asked by 21.03.2017 / 17:24
2
answers

Error: Object reference not set to an instance of an object, how to solve?

I have the ChamadaEfetuada(MAluno) : bool method that verifies that the call was made for a given student, this method is used in another method ChamadaEfetuada() : bool that instead of checking if the call was made to a single stu...
asked by 19.11.2015 / 02:57
4
answers

How to get the number of records in a query in SQLite?

I'm listing the records of a table with the code below: SQLiteCommand comando = new SQLiteCommand("SELECT * FROM Cadastro " +filtro, conn); SQLiteDataReader receber = comando.ExecuteReader(); But before listing, I need to check if there is...
asked by 19.08.2015 / 21:13
3
answers

How to put music in console application with C #

I'm creating a game in C # (console application) and need to put a background music, how do I?     
asked by 01.11.2016 / 21:59
2
answers

Which .NET should I use?

I will start developing a program with C # using WinForms (Basic Agenda with MySQL) and it is my question to use framework . This program may be available on other computers and I do not know which Windows might be installed. What aspects...
asked by 10.02.2017 / 04:40
2
answers

Saving file path in MySQL

I'm having difficulty saving file address to the database. When saving the address to the bank it is adding the amount of times I used OpenFileDialog to save a file. Save the address always so C:\Users\phili\Desktop\PDF_SGIM_QUALIDA...
asked by 21.06.2016 / 17:34
2
answers

Override methods based on name only

I'm creating an abstract base class to provide a pattern for other classes. Base class methods must be overridden in the derived class. Now comes the cat's leap. The override should only happen based on the method name, regardless of the p...
asked by 10.07.2016 / 19:23