Questions tagged [C#] (7211)

1
answer

Can we say upgrade/downgrade instead of upcasting/downcasting in C#?

What's the difference? Are in fact one.
Elisha asked April 19th 20 at 12:48
3
answers

How to implement the algorithm of the Fibonacci search?

Good time of day. I did a lot of digging on the Internet and don't quite understand one thing. Search using the Fibonacci what is it like? I made a very simple program, and at first I thought that this is the same search.. But began to doubt and confused at the end. The program itself is simple and works, but in fact it is...
Earline asked April 19th 20 at 12:47
1
answer

How to set the interval in C#?

How to set the interval between execution of commands in C#?
kolby.Predovic33 asked April 19th 20 at 12:46
2
answers

Which operating system to choose for programming games in Unity3D?

Good afternoon. As previously had no experience in developing games, then ask for advice. Plan to study development in Unity3D. At home I have Mac and Windows, but the computer with Windows already old and hence the question of whether to upgrade the computer with Windows or it is possible to develop on the Mac Pro? What pi...
chanelle_Wilderm asked April 19th 20 at 12:46
1
answer

How to pass method parameters in c#?

studied the methods, now I have a question about using ref, out. As I understand it, the ref can recover data from a variable, and then pass the processed data is the same variable, and this variable will change the value to something that came from the ref But the out does not take values from variable and must be initiali...
Collin.McKenzie21 asked April 19th 20 at 12:46
1
answer

How to make a timer?

Lol I s****camping 3 times already done all OK and now the head does not cook... need help -- initialized variables with the top == Seconds = 0; Minutes = 0; Hour = 0; private void timer1_Tick(object sender, EventArgs e) { Seconds++; label9.Text = Convert.ToString(Seconds); if (Seconds == 2) { Minutes++; label16.Te...
jackson.Waelc asked April 19th 20 at 12:44
0
answer

What should be the grammar for speech recognition?

My program needs to recognize it, I use SpeechRecognitionEngine, but his work needed and GrammarBuilder Grammar, so I can not understand what should be the full grammar for speech recognition and not individual phrases
Emmet_Grim asked April 19th 20 at 12:42
1
answer

BitmapFactory.DecodeFile returns null on Android version Lollipop and higher (Xamarin Android)?

Sawing the app on Xamarin. Normal activity with the vyuha. Encrypt files using the AES algorithm, the encryption method used here is a (decoding similar): public static void Encode(string inputPath, string outputPath, string _key, string _iv) { using (Aes aes = Aes.Create()) { aes.Key = Encoding.Unicode.GetBytes(_key); a...
nyasia_Klocko asked April 19th 20 at 12:42
0
answer

How to add an implementation of JS in CefSharp?

like add a new method CefSharpSettings.LegacyJavascriptBindingEnabled = true; CefSharpSettings.WcfEnabled = true; chromeBrowser.JavascriptObjectRepository.Register("DevForm_class," new DevForm_class(chromeBrowser, this), isAsync: false, options: BindingOptions.DefaultBinder); added here public Form1() // after InitializeC...
Ford79 asked April 19th 20 at 12:40
2
answers

How in c# to create an object depending on the type?

May I have some Type object t. Also, there are a number of classes with a common interface (even if the classes are called A, B, and the interface - AB). They have constructors that take as arguments the same settings. How can I create an object of the appropriate type depending on t? To use switch/if and such is not desira...
Graham_Mo asked April 19th 20 at 12:39