Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am looking to see if it is possible to look at the source code of well-known functions
I'm new to programming and early on I am being introduced to methods such as System.Console.WriteLine(); and was wondering if it is possible to look at the code of this System in some way (such as using object explorer for instance).
I was told that hovering the cursor over and pressing F12 shows the Assembly and metadata: is there a way to look at exactly what System.Console.WriteLine(); is doing?
Since you do have multiple implementations of .NET you do have multiple implementations of the System.Console.WriteLine()
.NET framework
.NET core
Mono
I suppose you are looking for .NET framework but generally, there are multiple implementations.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I need to include in an application I am developing, a feature to allow easy customization of a module. In fact it will be nice to use some kind of scripting to modify the behaviour of a calculation process that the application provides. I am developing the application in C# and Roslyn... but how can I pass a context (parameters and values) to a Roslyn script and receive a response back?
If C# is appropriate language for your case Roslyn is a good choice.
Take a look at Microsoft.CodeAnalysis.CSharp.Scripting NuGet package. It allows to execute pieces of C# code stored in plain strings.
For example:
await CSharpScript.EvaluateAsync("Console.WriteLine(\"Hello world!\")");
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I m working with a large project whith meets in mvc c# and looking for methods (plugins for visual studio, addons, frameworks) for tracking object in controller,views during the app works. Any methods exist for that ? I do not want use logging via nlog or log4net.
Try Application Insights (https://learn.microsoft.com/en-us/azure/application-insights/app-insights-overview). It integrated very nice in Visual Studio, has a free plan as well and is created for scenario's like this.
Just to satisfy my curiosity, why do you not want to use a logging framework?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I would like to use a C# .NET diff/comparison library for text files (C++ to be more precise, but it should not matter).
I have found a lot of libraries in the topic but what I need is a something that is part of the .NET library or it comes from Microsoft. The reason of this restriction is that I do not have to go over our company's long open source tool approval process.
Does C# .NET has such feature?
An example for the usage: I have two slightly different .cpp files. I have to create one .cpp file which will have a #ifdef according to the differences of the two files and we can use one file at two places controlled by a predecessor definition.
There is no such built in functionality in any Microsoft .Net library.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I need a quickstart for the connect ... maybe someone with experience on C# and how to make CSTA Link ? I just find one example but in Perl on Perl CSTA Example, but I still don't know hot to do on C#.
Thanks a lot!
Best Regards.
Siemens exposes CSTA API's. You can use those. There is a CSTADLL which is a collection of software for the Microsoft .NET platform that allows you to perform ACSE and CSTA operations for any of the three CSTA phases.
There are two namespaces you should have a look at: Com.Objsys.Csta.Common and Com.Objsys.Csta.Devices - depending on what exactly you are about to do.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Is there any way to expose public static function for invocation to an outside tool?
In java you can annotate the method and than you can invoke it via JMX.
I am talking about c# .NET web application.
Thanks
There are nothing standard and built in. You can manually create a page and assign appropriate methods for button handlers manually, and provide all layout for input parameters. Less intuitive and usability way (and more dangerous) doing this via query string parameters, but I would not recommend this.