Questions tagged as 'visual-studio'

1
answer

Set up shortcut in vs code for indentation

I'm new to this, then, sorry if I make a mistake in the post. My doubt seems simple, but I'm not unfolding. Basically, it's like setting up a shortcut in VSCODE for indentation in my codes.     
asked by 13.12.2016 / 23:53
4
answers

How to use unsafe code in a Web Site

I was trying to practice the use of pointers in C #, so I created a website in the following method: public static Nodo[] MontaTree(){ //... código ... } Obviously the above code does not make it possible to use pointers, so we need keywor...
asked by 10.04.2017 / 18:51
2
answers

Create 'prop' or 'propfull' shortcut in Visual Studio

I would like to create within Visual Studio a shortcut of type prop or propfull so that it automatically creates a snippet of code. TAB public int MyProperty { get; set; } TAB private int myVar; public int MyProperty {...
asked by 18.05.2018 / 18:06
2
answers

Generate random CPF in C #

I need a generic class to generate valid CPF to send value to fields with selenium webdriver. Does anyone have the code? Thank you.     
asked by 24.09.2014 / 02:45
4
answers

How do I execute a method at the end of each method of my C #

You have a parent class and a daughter, and would like to execute a particular method, such as an event, always at the end of each method call for the child classes. How can I do it?     
asked by 23.06.2014 / 13:40
2
answers

What is the difference between step over and step into debugger mode?

I would like to know what is the difference between F10 (step over) and F11 (step into). When should I use F10 and when should I use F11 ?     
asked by 09.02.2017 / 00:49
1
answer

Inheritance with interface [closed]

How can I solve the following problem. Scenario: I have a class B that inherits from class A and implements interface I. Problem: The interface I forces the implementation of method X which in turn is implemented in class A, not in B....
asked by 12.06.2014 / 15:51
1
answer

Problem with Nuget Packages Visual Studio

Trying to compile the application, I come across the error:    Severity Code Description Project File Line Suppression State   Error This project references NuGet package (s) that are missing on   this computer. Use NuGet Package Restore to d...
asked by 15.02.2017 / 18:22
1
answer

Development C # Mobile need Mac?

I was researching on mobile development tools (iOS, Android) and came across Xamarin. I found the proposal interesting, especially for working in conjunction with Visual Studio. I downloaded and configured it, however, despite having an inter...
asked by 08.10.2014 / 22:37
1
answer

What to do when Avast detects a threat in a harmless application?

I did a network stresser, no viruses, and blessed Avast! Alert and destroy my project:     
asked by 20.10.2015 / 22:57