I'm transferring my project to MVC, and would like to know if you can have more than one Views folder in the project, or if you have a CSS load outside of BundleConfig , have a static page somewhere bugar all my pages.
I have the following code:
var minhaData = TimeZoneInfo.ConvertTimeBySystemTimeZoneId(DateTime.UtcNow, meuTimeZone);
If meuTimeZone = "E. South America Standard Time"; then the value returned to minhaData is timezone -03:00...
I have to print a string that can vary in size. What I need is if this string does not fit on the page the remaining text is printed on another. I know for this I need to do something using e.HasMorePages but I do not know how. I've b...
We are looking at ways to develop functionality for a system, which will be in C # .Net.
I would like to hear opinions on how we can do this, if we can use some frameworks or something else.
Access to multiple banks
We need the syste...
I have a string Array.
string[] nomes =
{
"Maria",
"João",
"Francisco",
"José",
"Antonio",
"Osvaldo",
"Francimar",
"Cirineu"
};
I would like to display them exactly like this in the Console
Maria João...
Does anyone know / have built some static code analysis rule (for a FxCop or Gendarme ) that looks for possible loopholes in the code that incur a division by zero? / p>
That is, a logic that analyzes the IL of the assembly and criticizes t...
Is there a way to call an executable other than by process?
I need something that does not use the code below to call an executable because when I end a process from an application that is not native to Windows, I can not call it again with t...
In C # I use the following code to create the Managed Thread:
Thread thread = new Thread(new ThreadStart(minhaFuncao));
In C ++ I did:
using namespace System::Threading;
.
.
Thread^ thread = gcnew Thread(gcnew ThreadStart(...
I have software that logs logs of errors from it even inside a "logs" folder. Each log file is created with the date of the current day, and is therefore unique to the current day. Example: 30-04-2014.log .
I use StreamWriter to log t...