Writing C# in Debian
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 computer, but don't feel like powering off Linux and booting Windows just for learning C#.
debian software-installation programming c#
add a comment |
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 computer, but don't feel like powering off Linux and booting Windows just for learning C#.
debian software-installation programming c#
1
Hey, why all the negative votes? Is that because it's a question about a MS technology?
– Pierre B
Nov 26 '17 at 18:45
2
I have edited it not to look like a request for learning materials (which is what it's getting close votes for).
– Michael Homer
Nov 26 '17 at 18:46
add a comment |
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 computer, but don't feel like powering off Linux and booting Windows just for learning C#.
debian software-installation programming c#
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 computer, but don't feel like powering off Linux and booting Windows just for learning C#.
debian software-installation programming c#
debian software-installation programming c#
edited Oct 5 '18 at 16:44
Kusalananda
132k17252414
132k17252414
asked Nov 26 '17 at 18:23
Pierre BPierre B
6402924
6402924
1
Hey, why all the negative votes? Is that because it's a question about a MS technology?
– Pierre B
Nov 26 '17 at 18:45
2
I have edited it not to look like a request for learning materials (which is what it's getting close votes for).
– Michael Homer
Nov 26 '17 at 18:46
add a comment |
1
Hey, why all the negative votes? Is that because it's a question about a MS technology?
– Pierre B
Nov 26 '17 at 18:45
2
I have edited it not to look like a request for learning materials (which is what it's getting close votes for).
– Michael Homer
Nov 26 '17 at 18:46
1
1
Hey, why all the negative votes? Is that because it's a question about a MS technology?
– Pierre B
Nov 26 '17 at 18:45
Hey, why all the negative votes? Is that because it's a question about a MS technology?
– Pierre B
Nov 26 '17 at 18:45
2
2
I have edited it not to look like a request for learning materials (which is what it's getting close votes for).
– Michael Homer
Nov 26 '17 at 18:46
I have edited it not to look like a request for learning materials (which is what it's getting close votes for).
– Michael Homer
Nov 26 '17 at 18:46
add a comment |
2 Answers
2
active
oldest
votes
What do I have to install?
apt install mono-mcs
and optionally
apt install monodevelop
if you want something more like an IDE.
mcs
is the compiler. You can run the compiled program with mono prog.exe
(or as ./prog.exe
with binfmt_misc
support enabled, which I believe Debian will do by default).
Is there something like a prompt where I can try running snippets of code?
apt install mono-csharp-shell
and then
$ csharp
Mono C# Shell, type "help;" for help
Enter statements below.
csharp> Console.WriteLine("Hello world!")
Hello world!
csharp>
add a comment |
To complement the previous answer, there's also the .NET Core SDK, which is has a faster and cleaner implementation of the .NET framework(albeit it's somewhat imcomplete, being a Core CLR. Still really reliable, though). If you don't need C# for WinForms, UWP and WPF development, I really recommend checking it out. By now, most libraries should be supporting .NET Core. Download link: https://dotnet.microsoft.com/download
As for the IDE, there's VS Code, which is the one I'm currently using, and JetBrains Rider. MonoDevelop does have an addon for NET Core support, but I heard it's lacking features(especially on the debug department).
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f407142%2fwriting-c-in-debian%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
What do I have to install?
apt install mono-mcs
and optionally
apt install monodevelop
if you want something more like an IDE.
mcs
is the compiler. You can run the compiled program with mono prog.exe
(or as ./prog.exe
with binfmt_misc
support enabled, which I believe Debian will do by default).
Is there something like a prompt where I can try running snippets of code?
apt install mono-csharp-shell
and then
$ csharp
Mono C# Shell, type "help;" for help
Enter statements below.
csharp> Console.WriteLine("Hello world!")
Hello world!
csharp>
add a comment |
What do I have to install?
apt install mono-mcs
and optionally
apt install monodevelop
if you want something more like an IDE.
mcs
is the compiler. You can run the compiled program with mono prog.exe
(or as ./prog.exe
with binfmt_misc
support enabled, which I believe Debian will do by default).
Is there something like a prompt where I can try running snippets of code?
apt install mono-csharp-shell
and then
$ csharp
Mono C# Shell, type "help;" for help
Enter statements below.
csharp> Console.WriteLine("Hello world!")
Hello world!
csharp>
add a comment |
What do I have to install?
apt install mono-mcs
and optionally
apt install monodevelop
if you want something more like an IDE.
mcs
is the compiler. You can run the compiled program with mono prog.exe
(or as ./prog.exe
with binfmt_misc
support enabled, which I believe Debian will do by default).
Is there something like a prompt where I can try running snippets of code?
apt install mono-csharp-shell
and then
$ csharp
Mono C# Shell, type "help;" for help
Enter statements below.
csharp> Console.WriteLine("Hello world!")
Hello world!
csharp>
What do I have to install?
apt install mono-mcs
and optionally
apt install monodevelop
if you want something more like an IDE.
mcs
is the compiler. You can run the compiled program with mono prog.exe
(or as ./prog.exe
with binfmt_misc
support enabled, which I believe Debian will do by default).
Is there something like a prompt where I can try running snippets of code?
apt install mono-csharp-shell
and then
$ csharp
Mono C# Shell, type "help;" for help
Enter statements below.
csharp> Console.WriteLine("Hello world!")
Hello world!
csharp>
answered Nov 26 '17 at 18:42
Michael HomerMichael Homer
48.7k8130168
48.7k8130168
add a comment |
add a comment |
To complement the previous answer, there's also the .NET Core SDK, which is has a faster and cleaner implementation of the .NET framework(albeit it's somewhat imcomplete, being a Core CLR. Still really reliable, though). If you don't need C# for WinForms, UWP and WPF development, I really recommend checking it out. By now, most libraries should be supporting .NET Core. Download link: https://dotnet.microsoft.com/download
As for the IDE, there's VS Code, which is the one I'm currently using, and JetBrains Rider. MonoDevelop does have an addon for NET Core support, but I heard it's lacking features(especially on the debug department).
New contributor
add a comment |
To complement the previous answer, there's also the .NET Core SDK, which is has a faster and cleaner implementation of the .NET framework(albeit it's somewhat imcomplete, being a Core CLR. Still really reliable, though). If you don't need C# for WinForms, UWP and WPF development, I really recommend checking it out. By now, most libraries should be supporting .NET Core. Download link: https://dotnet.microsoft.com/download
As for the IDE, there's VS Code, which is the one I'm currently using, and JetBrains Rider. MonoDevelop does have an addon for NET Core support, but I heard it's lacking features(especially on the debug department).
New contributor
add a comment |
To complement the previous answer, there's also the .NET Core SDK, which is has a faster and cleaner implementation of the .NET framework(albeit it's somewhat imcomplete, being a Core CLR. Still really reliable, though). If you don't need C# for WinForms, UWP and WPF development, I really recommend checking it out. By now, most libraries should be supporting .NET Core. Download link: https://dotnet.microsoft.com/download
As for the IDE, there's VS Code, which is the one I'm currently using, and JetBrains Rider. MonoDevelop does have an addon for NET Core support, but I heard it's lacking features(especially on the debug department).
New contributor
To complement the previous answer, there's also the .NET Core SDK, which is has a faster and cleaner implementation of the .NET framework(albeit it's somewhat imcomplete, being a Core CLR. Still really reliable, though). If you don't need C# for WinForms, UWP and WPF development, I really recommend checking it out. By now, most libraries should be supporting .NET Core. Download link: https://dotnet.microsoft.com/download
As for the IDE, there's VS Code, which is the one I'm currently using, and JetBrains Rider. MonoDevelop does have an addon for NET Core support, but I heard it's lacking features(especially on the debug department).
New contributor
New contributor
answered 2 hours ago
FluffyBucketSnakeFluffyBucketSnake
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f407142%2fwriting-c-in-debian%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Hey, why all the negative votes? Is that because it's a question about a MS technology?
– Pierre B
Nov 26 '17 at 18:45
2
I have edited it not to look like a request for learning materials (which is what it's getting close votes for).
– Michael Homer
Nov 26 '17 at 18:46