Skip to main content

Questions tagged [c#]

C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

1 vote
1 answer
170 views

I was asked by @terdon to post this follow-up to a more specific issue I had and resolved over here. Apparently my choice of tools has not been a particularly smart one, so I shall describe the use ...
Zsar's user avatar
  • 121
1 vote
1 answer
2k views

I'm installing C# and dotnet 6.0 SDK in the Linux lubuntu 22.04 version. Following recommendations from Microsoft documentation to install manually such as: mkdir -p $HOME/dotnet && tar zxf ...
Roge's user avatar
  • 11
0 votes
1 answer
583 views

I'm using PopOs 21.10 and use the latest dotnet versions Now I have to install the previous version dotnet core 3.1 I tried wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-...
Question3r's user avatar
2 votes
0 answers
2k views

When I try to make a simple Unit Test project with the following command (inside a project folder called test): dotnet new xunit It fails and this is the output I get: /usr/share/dotnet/sdk/5.0.301/...
user avatar
0 votes
1 answer
489 views

i am a complete c# noob (i know Java though) i have a c# script i modified. I want to run it at startup using a daemon and systemctl (the original is this NZXT automatic fan controller script) the ...
Mohammad Al-Hajj's user avatar
0 votes
1 answer
307 views

I just discovered something really surprising. I can compile a simple C# hello world on my windows computer using csc (from Visual Studio), copy the resulting exe file to my Linux computer, and ...
Mahkoe's user avatar
  • 113
-1 votes
1 answer
164 views

I'm very confused about my move to Linux on my laptop. I want to set up a .netCORE dev enciroment and believe I have everything installed correctly, but none of the IDEs I have tried (Atom and VSCode) ...
aJynks's user avatar
  • 99
0 votes
0 answers
707 views

This isnt a duplicate of How can I embed subtitles into videos with ffmpeg? Im asking for something else, and that question didnt solve my problem. So im making a string Concatenation XAML App that ...
Mister SirCode's user avatar
1 vote
0 answers
62 views

I work with C# in my spare time and have written a number of programs as one of my hobbys. So I dont consider myself a programmer, I just like to write solutions for problems I come across. My latest ...
Roo's user avatar
  • 11
0 votes
0 answers
649 views

I have been trying to run a simple dot net application as a daemon. I took a help from many of the below given links and did as suggested. Links: http://pmcgrath.net/running-a-simple-dotnet-core-linux-...
Himanshu Singh's user avatar
2 votes
1 answer
162 views

I used the file command on a c# source file, and linux thought it was a c++ file. What is the reason for this?
J. Czekaj's user avatar
8 votes
2 answers
6k views

I want to learn C# on a Debian system. What do I have to install? Is there something like an interactive prompt where I can try running snippets of code? I have to learn C# and I have a dual boot ...
Pierre B's user avatar
  • 2,293
0 votes
1 answer
474 views

I'm trying to compile in Mono on Lubuntu 16.04.1 a very helpful open-source Windows program, "Ketarin". It uses a function, "GetUpdateRect", which it finds in user32.dll, using this code: [...
JimH44's user avatar
  • 101
0 votes
1 answer
746 views

I am running Ubuntu 16.04 and the Awesomium Web Browser C# Framework as well as Mono 4.4.2 with the environment variable MONO_PATH set to /usr/lib/mono/4.5 and the environment variable ...
Frank's user avatar
  • 711
0 votes
1 answer
180 views

I would like to know why compilation of default.aspx.cs under Ubuntu Linux 16.04 with a code behind pointing to default.aspx.cs fails when I enter http://127.0.0.1/default.aspx at the web browser. ...
Frank's user avatar
  • 711

15 30 50 per page