Questions tagged as 'c#'

4
answers

Changing app.config connectionStrings physically in runtime

In my app.config I have the following lines of code: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> </configSections> <connectionStrings> <add name="ControleBD"...
asked by 22.07.2014 / 16:26
3
answers

Alternatives to develop in C # in Linux? [closed]

My notebook has Ubuntu 14 operating system installed. I have great desire to join development in the CSharp language. But I would like to know if there is any good alternative in OS like Linux, since it does not have a Visual Studio of life....
asked by 29.04.2016 / 14:37
2
answers

Pass generic list as parameter

Is it possible to pass a generic list by parameter? Ex: I have List<Pessoa> and List<object> . and I have my method: public void FaçaAlgo(List<T> lista) { } How can I get my method to receive both Lis...
asked by 29.04.2015 / 15:25
2
answers

I can not do Reports

The problem is not how to do it. But I can not do everything because the Reporting that brings the report viewer to report design does not appear, I've tried to find it in several ways but it does not seem to have this in my ultimate VS2013. Do...
asked by 17.12.2014 / 08:56
1
answer

How do I change the legend of a chart?

I'm developing an application in C # using the Windows Form chart. I would like to know how to put the x-axis values as the caption of it. string[]nomes={"eduardo", "jorge", "chris", "matheus" }; int[] idades = { 23, 10, 70, 80 }; List<i...
asked by 30.11.2015 / 00:09
1
answer

Copy DLL to directory with .nuspec without referencing it in the project

I created a local NuGet. It worked well, until we found a problem that I can not resolve immediately. The following: There is a reference in the project, which calls another reference. Well, it turns out that this reference can not be added as a...
asked by 21.12.2015 / 19:01
3
answers

How to format the name of an item in a listbox?

I'm having a project where I have to upload files over a network to a server. WhenIclickthe"add" button it opens a box for the person to select the files they want to send and adds them to a list that stores objects of type "File". So far...
asked by 19.05.2016 / 00:45
2
answers

Is using version control on the production server a good practice?

In the company I currently work in, we have a Web system (C # ASP.NET) where we use the Team Foundation Server 2013 development environment. On the production server we do not use any version controls: we use FTP only, a discussion here of how w...
asked by 08.05.2015 / 16:19
1
answer

How do I allow another application to start mine?

I've done a bit of research, but I do not know how to do it to be in the list of applications that can open a certain type of file, for example, a photo. What I want is as if whatsapp (or any other application) places my app in the list of appli...
asked by 15.07.2015 / 13:32
2
answers

Class, Superclass and Subclass

Regarding inheritance by code reuse in C # I have the following doubt: What is the difference between classes , superclasses and subclasses ? Does this change anything when doing code reuse? Additional Information: Terminology Mean...
asked by 01.09.2017 / 15:43