Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extending C# Functionality

Tags:

c#

.net

Is there any way to extend C#? Or is it completely closed?

I don't mean extension methods, I'm asking about really extending the language, by improving or adding functionality to it?

I know there are .NET reference sources, but that's not enough to compile binaries.

like image 746
matteeyah Avatar asked Aug 20 '15 22:08

matteeyah


People also ask

How do I extend C drive greyed out?

As here is no unallocated space after the C partition drive, so extend volume greyed out. You need to have an “unallocated disk space” to the right of the Partition\Volume you wish to extend on the same drive. Only when “unallocated disk space” is available “extend” option is highlighted or available.

Can I extend the C drive?

To expand system partition (C: driver) size Before expanding C drive size, need to confirm there is unallocated space next to C drive. Right click on C drive then select “Extend volume”, then follow the onscreen instruction to finish the process.


1 Answers

The Microsoft project "Roslyn" may be the key term you're looking for here. It's a C# and VB.NET compiler that will allow you to extend the language if that's what you'd like to experiment with.

The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with rich code analysis APIs.

The source code can be found on GitHub here: https://github.com/dotnet/roslyn

Doing a quick google, I found this blog post which goes through an example (albeit, this was an old post, so things may have changed).

like image 158
Matt Tester Avatar answered Oct 03 '22 19:10

Matt Tester