menu

Recent questions tagged c#

1 vote
1 answer
Why do I need unsafe code? Explain to me, please, why a non-secure code is needed? ...
by Rtinase
asked Sep 18, 2021
1 vote
2 answers
How do I get rid of duplication in the controller? I started to study .NET CORE and had a question about data sampling: I basically need to do the same actions for two actions, so I'm thinking of putting those actions i ...
by LWXD
asked Sep 18, 2021
3 votes
1 answer
A collection of c# problems? There are any books with problems on c#? Now I look into the beginners guide to c# by Paul Mueller, I like the presentation of the material, and footnotes, and so on, bu ...
by JoJoMuro
asked Sep 17, 2021
1 vote
1 answer
And you didn't even know what the commenter was talking about, did you? How nice. And you didn't even know what the commenter was talking about, did you? How nice. And you didn't even know what the commenter was talking about, did you? How nice. ht ...
1 vote
2 answers
How to import data from a specified excel file into windows forms c On the Internet I find only how to display a table with the choice of file on the computer, but how to make that when you open the form table is already displayed? ...
by amsmurff
asked Sep 16, 2021
1 vote
2 answers
As in console C Good morning, everyone! Solving a problem. I need to access the Linux terminal with an application. static void terminalInput(string command) { ...
by Midzakikayo
asked Apr 4, 2021
2 votes
1 answer
Are there any nuances in working with the COM port on c Trying to work with two com ports on c There is no problem with Uno. With Micro - silence. Switched places - no result. If you connect to Micro with a putty, you can see ...
1 vote
2 answers
Is the implementation of the API: new Car().Run(100) correct? Hello, I have a task: there is a car and a bicycle, the car has a maximum speed of 300 km/h, the bicycle has 40 km/h, I need to implement the appropriate classes and tak ...
by eliasum
asked Apr 4, 2021
2 votes
4 answers
What to use to automate actions in the browser in parallel or multithreaded mode? Hello! Please tell me what system or library is better to use to automate the work of multiple browsers programming language is not so important important that it was ea ...
by Ilya_VE
asked Apr 4, 2021
1 vote
1 answer
How do you get the remainder of a division if the left number is less than the right number? Greetings, there is a need to define in Unity the tilt of an object which has a rotation step of 45 degrees, i.e. 0, 45, 90, etc. How do you determine that an angle is 4 ...
by sstas
asked Apr 4, 2021
1 vote
2 answers
How to work with an XML file in a C application Good evening. There is a folder with XML-files with many elements, nesting and complex structure, which need to be written in several linked tables. But before writing ...
by kurbanov_samir
asked Apr 4, 2021
1 vote
2 answers
How do I split a line by spaces? There is this code var rand = new Random(); int count = 0; var words = Text.Split(' '); // Заполнение ключа for (int i = 0; i ...
by evgenysemashko
asked Apr 4, 2021
1 vote
2 answers
image
What's wrong with the code? click events should give you information about the machine. The parking class contains properties about the parking and the car And in the methodИдёт поиск и возвращает ...
by Vladlen234
asked Apr 4, 2021
1 vote
1 answer
How to keep order in paralleling? I automate my work with "online casinos". Each request either increases my wallet, or decreases. (logical).The value of the bet is static. But here's the question, if I ...
by Radzhab
asked Apr 3, 2021
1 vote
3 answers
How to deserialize Nullable types into XML attributes? Hi. I have such a contract: Serializablepublic class XmlContract{ XmlAttribute("ImportantAttribute") DefaultValue(null) public decimal? Field { get; ...
by hax
asked Apr 3, 2021
3 votes
1 answer
How do I navigate between pages in Windows Presentation Foundation? In trying to find an answer to my question, the only thing I have achieved is the ability to go to a page in the way below: Main.Content = new Page(); However, I don't k ...
by MiiZZo
asked Apr 3, 2021
1 vote
2 answers
Is it worth doing a chat room on gRPC? We need to make a chat room for the ASP.NET Core site. There will be general, group and private correspondence with file attachments. The choice is between SignalR and g ...
by sergeyiljin
asked Apr 3, 2021
1 vote
2 answers
How to make a permanent background Process in C All in all, it's very simple ... try { psi.FileName = @"C:/Users/User/AppData/Local/Programs/Python/Python38-32/python.exe"; var ...
by iamserge
asked Apr 3, 2021
1 vote
1 answer
I can't get a function from another script, why not? I have a script where objects are created and I need to refer to it through the Other script so that when the player touches it, it happened to him some actions (the cod ...
by maxemga
asked Apr 2, 2021