Questions tagged as 'c#'

0
answers

Error in the TASKKILL command

I would like to close a program when it fails on my system, for this I am using: TASKKILL /F /IM executavel.exe /T I used to develop a machine with W7 and it worked, but the one of the client uses W10 and does not close, any tips of what ca...
asked by 18.05.2018 / 15:53
1
answer

Load a window only once after reloading the site in asp.net C #

Having this window whenyoufirstaccessawebsite,howdoIonlyappearonceevenafterI'vereloadedthewebsite,ordoIreturntothehomepageandnotshowupagain?<inputtype="radio" id="rd"> <div class="bg"> <div class="box">...
asked by 18.05.2018 / 17:39
3
answers

Shuffle numbers from a list? [duplicate]

Well, initially I do not understand much of a list in C #, but I have a list of type int that will always have 4 elements that are: 1, 2, 3 e 4 , I'm assigning them with .Add , if someone knows another Give me a little help...
asked by 10.09.2015 / 06:20
1
answer

Integration tests using sqlite memory two api calls

I am having trouble making an insert call (and creating the database) after the query occurs that the database is in memory the problem is that the acada call the database dies. It would be interesting to be able to do the database creation in m...
asked by 19.05.2018 / 23:11
0
answers

How do I assign one gameObject to another?

I have a question about the C # language using Unity I was wondering how can I get a gameObject and assign to another gameObject . I created a array with 4 gameObjects with images and wanted to assign those gameO...
asked by 20.05.2018 / 04:49
1
answer

I want to use 2 threads inside the foreach C #

I do not have much experience in C #. But I'm trying to understand the code of a program I have here. Here use the following code: foreach(var item in _main.entrada) { .... } I want to include the _main.said (along with the entry) in the...
asked by 18.05.2018 / 01:23
0
answers

Oracle 10g decompiled scripts

.NET Dll is used to compile scripts, but in Oracle 10g databases the scripts are decompiled and you need to perform the compilation using a SQL Developer , for example. Reported that this occurs only for Oracle 10g. Why does this o...
asked by 22.05.2018 / 20:44
0
answers

Bring related data into a table

I need to bring the sessions of a particular movie, but if there is more than one session in the same cinema, bring only one die and the two schedules side by side. Anyone have any way to do it? It's my first application with Asp.Net and I'm a b...
asked by 16.05.2018 / 03:30
0
answers

Method return the same hashcode in C # and java

I have the method in C #: private static string GetMD5(string strPlain) { UnicodeEncoding UE = new UnicodeEncoding(); byte[] HashValue, MessageBytes = UE.GetBytes(strPlain); MD5 md5 = new MD5CryptoServiceProv...
asked by 15.05.2018 / 20:56
1
answer

Error installing Xamarin - JDK does not install

Hello! I'm having this problem after the Xamarin installation is completed . I have tried to download sdk from the Oracle site, but the installer simply does not start, nothing happens. I've also tried to completely uninstall VS2017 and r...
asked by 15.05.2018 / 23:03