Questions tagged as '.net'

2
answers

Behavior of parameters in class constructor in C #

I'm having a question regarding the behavior of the parameters passed to the constructor of a class, are they by default ref / out or value? Searching about the behavior of parameters in common methods they are by default values, a...
asked by 30.09.2015 / 22:23
1
answer

Developing in C # and .Net on Linux Ubuntu?

Recently I had to migrate from Windows to Linux, because my working notebook burned and I'm using an old one with Intel Atom and only 2GB of RAM, I was unsure of using Windows because it was a very weak device. I have to work with C # and .Ne...
asked by 01.08.2016 / 03:45
1
answer

Function that converts hexadecimal to binary

Is there a function equivalent to bin2hex() of PHP for C #? I need to convert a hexadecimal to binary. I tried to use TryParse but it did not work.     
asked by 11.05.2016 / 17:23
2
answers

How to create progress bar for file upload via the Google Drive API

I'm uploading a file to Google Drive through their API. request.Upload(); is delaying with no return. How do I make progress? It can be with for even without graphical interface. Shipping method: public static File UploadFil...
asked by 17.06.2015 / 21:02
2
answers

Software Release by Customers

The system I develop has several customers who use it. But I have a problem which is this: if I release a new version of the system, I upload it to ftp , all clients that use it have access to this new version and the system is updated. I do...
asked by 16.07.2015 / 23:05
1
answer

File Comparison

I need to compare different directory files and show the differences. But I do not want to list the name of the files, I just want you to do a comparison of the directories and show the differences of the files. These files would be .cs ....
asked by 21.01.2016 / 12:07
3
answers

How to check if a specific value exists (string) in a list in C #?

I'm trying to set up an input select multiple and leave checked the options that are already present in a certain list. I'm a beginner in C # so the logic of what I need would be something like this: (Note that I'm using Razor) Sorry for...
asked by 14.02.2014 / 14:56
2
answers

SHA512 return in hexadecimal

I found an example of encrypting a string with SHA512. public static string HashedString(string text) { SHA512Managed sha512 = new SHA512Managed(); byte[] hash = sha512.ComputeHash(Encoding.UTF8.GetBytes(text)); StringBuilder res...
asked by 06.09.2018 / 21:44
1
answer

How to make blur effect on button?

Is there any way to 'blur' an image button using C # (Windows Forms)? I know this is possible with WPF, but I can not change that now. If it is not possible, is there anything that gives me a similar result?     
asked by 05.01.2015 / 22:50
1
answer

Two different builds same source Visual Studio

I have a solution with several projects. I need to create two different builds profiles for two situations. Is this possible? In build A I'll show the X, Y, and Z menus. In build B I will only show the Y and Z menus. Is there any way I...
asked by 08.01.2015 / 13:08