If I have build an application using visual studio that do something when some system event happens, how can I simulate such system events so that I can debug the application?
First my question:
How can I put some code that will be executed when the OS is shutdown?
----
Then what I have done:
I read about SessionEnding, if I add an event handler to SystemEvents.SessionEnding I can do that.
I found this in...
Today I received a C# solution. It includes multiple projects and multiple files. (Several screens- forms I guess)
I don't even want to build or run at this point. I just want to see the screens.
When clicking on a cs file (that i believe -but I am not sure- it is generated by the designer), I...
I am having a problem with some code which uses Task.Delay. I am probably using it bad because when I try it to wait 2 ms (1000 times) it waits completely different times
My code is
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
#if...
I am reading a lot about threading and asynchronous processing in C#, and I am getting dizzy already. Apparently there many ways to do this and I don't know what is the difference.
So far I get (there are more apparently)
The old Thread class
The asynchronous invocation with BeginInvoke and...
I am reading some C# code now and I find something like
_mediaCapture?.Dispose();
You could imagine that is near impossible to google something like "?." so I would like to ask, what does this means and where can I learn more
Thanks
I have used google to try and find a definition of what a "COM Pointer" is and I could not find it.
Can someone point me where to look to find this information.
I am trying to understand https://docs.unity3d.com/ScriptReference/VR.WSA.WebCam.PhotoCaptureFrame.GetUnsafePointerToBuffer.html...
Hello. This is my first post here. I am a programmer with C and C++ experience, and lately I have been heavily programming in C#. I suppose it is quite common I don't use all features at once so, for the first time I am dealing with Interfaces. I would very much appreciate if someone can help me...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.