menu

Recent questions tagged c#

1 vote
1 answer
image
How do I make a description of the functions inside the unity itself? I remember when I put one of the Assets about a year ago, there was a popup next to each variable and button in the script that would explain what the button or variable ...
by phobious
asked Sep 24, 2021
1 vote
1 answer
Why does the error The specified deps.json does not exist? Good afternoon! When entering the command to create EntityFrameworkCore\Add-Migration Initial, the specified deps.json C:\Users\XXX\source\repos\Shop\Shop\Shop.deps.jso ...
by pandinus
asked Sep 24, 2021
1 vote
2 answers
How do I compare the files in the directory with the files in the archive? Such a task: There are "reference" files that are compiled into several archives, and then into one common archive. There is already unpacked the whole thing with some ...
by tiakuv
asked Sep 24, 2021
1 vote
1 answer
How do I use a void variable? My knowledge of c# is limited) Explain how, after declaring an array, to calculate the sum of the minimum and maximum values. Apparently my program is wrong, because I g ...
by evans_85
asked Sep 24, 2021
2 votes
2 answers
How to track Exception in all methods? There is a device that returns an error and then needs to be re-initialized, the error can occur in different methods, but the error id is the same. How can I handle exc ...
by electronik777
asked Sep 24, 2021
2 votes
1 answer
How to read a file sequentially from the right line number? How to read a file sequentially from the right line number. I find the first line to read as follows while ((line = text.ReadLine()) != null) { ...
by electronik777
asked Sep 24, 2021
1 vote
1 answer
Sort datagridview. How do I sort the column where the datasource is a dictionary? So, I have a dictionary of the dictionary type that I convert to ToArray() to put it in a datasource, how do I sort the values in ascending order in the second column (i ...
by cats_is_cool
asked Sep 23, 2021
1 vote
1 answer
The initial movement of Unity 2d? How to implement the code in the Start() method so that at the beginning the object has a random direction of movement in 2D? I'm just a beginner, help please ...
by artur_agishev
asked Sep 23, 2021
1 vote
1 answer
How do I know my user name with c#? How to find out the computer user's nickname in C sharp, I need it badly ...
by Foraho
asked Sep 22, 2021
1 vote
1 answer
image
How to create a property based on a collection of a class in another C# class? How to create a property in the SecondClass class that should be a collection of firstClass created in the Program class where we added its objects - coll1. The first t ...
by IvanS1989
asked Sep 22, 2021
1 vote
2 answers
How does Task work? Good afternoon, started to learn asynchronous programming. And I noticed this peculiarity: There is an application that asynchronously makes a lot of get requests. I am ...
by iXelper
asked Sep 22, 2021
2 votes
2 answers
image
How to solve the problem with objects passing through each other? At the start of the game all objects enter each other and continue moving together, and the must move one after the other. Codeusing System.Collections;using System.Co ...
by TonyMatony
asked Sep 21, 2021
2 votes
1 answer
How do I add a list like the one in the picture to Windows Forms? I'm writing a Windows Forms password manager as my term paper. I've already come up with the design. This is a slightly modified design of the Firefox Lockwise program. ...
by Chamalion
asked Sep 21, 2021
1 vote
1 answer
Which GuidRepresentation should I write? I use guids in my queries and everything works. But when you build it, you get vornings 'BsonValue.implicit operator BsonValue(Guid)' is obsolete: 'Use the BsonBinaryDa ...
by MykolaPetiukh
asked Sep 21, 2021
1 vote
1 answer
image
How do you turn a character when he goes up a hill? Hi all. Here's a picture. I have a problem that I need to turn the character when he goes up (photo below) and I do not know how to do it. Can you help me? ...
by Globalwinner228
asked Sep 21, 2021
1 vote
2 answers
An ASP.NET web service and its admin panel (a Windows application) are two different applications, or can they fit into one? There is the task described in the title. There must be a service that sticks out (albeit within the same company) and this service needs an admin interface (adding/rem ...
1 vote
2 answers
Is it possible to query a site by ip in C#? Hello, everyone! Can you tell me who knows if it is possible to query a site not by domain, but by ip? ...
by CityzenUNDEAD
asked Sep 21, 2021
1 vote
1 answer
Are there any ready-made HTML constructor libraries? Good day! There is an idea for myself to create a program for creating HTML letters and sending them. But that's how to implement it yet to think. And here is a quest ...
by xXNullXx
asked Sep 21, 2021
1 vote
1 answer
Where can I find KPScript documentation for KeePass? KeePass supports automation through KPScript By writing a program with a .kps extension in C# Found an example in the form of // // KeePass Master Key informatio ...
by shasoft
asked Sep 21, 2021
1 vote
2 answers
How can I limit the maximum speed so that the object does not accelerate to infinity? RequireComponent(typeof(Rigidbody))RequireComponent(typeof(CapsuleCollider))public class MoveController : MonoBehaviour{ public float Speed = 0.3f; //Переменная с ...
by Orehktatura
asked Sep 21, 2021