As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Why we need CLR Hosting? Can I do CLR Hosting using C#? If yes then please give an example.
CLR hosting is when you have a native application which wants to run the CLR within the same process. It makes no sense to talk about CLR hosting using C#, as you're already running the CLR if you're running C# code (beyond some very strange situations).
Basically, if you need to ask about it, you almost certainly don't need to do it.
See MSDN for more information.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I have some basic code made in C#. Is it possible to compile it for Android with little to no code changes?
You would need to use something like Xamarin (formerly MonoTouch).
Yes, you can develop application for android!
Xamarin For Android - Not a free product, full functional trial is available.
Dot42 - Not free for commercial use.
You can use them!
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
(I do hope my question still fits into what is allowed to ask here)
Having successfully developed and deployed iPhone applications using MonoTouch, I was looking for ways to do it for OS X, too.
What I found was MonoMac (also on Github) which looks promising to me.
Since most stuff seems to be from 2010/2011 I'm unsure whether this is still up-to-date.
My questions therefore are:
Are there any real-world applications out there that were recently successfully submitted to the Mac OS X AppStore?
Would you recommend using it for commercial projects nowadays?
Are there any working alternatives? (beside learning Objective C, which I'm currently doing)
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am working on image processing library in c#.
want to improve performance/speed and better memory management.
I am using Bitmap class and its just array manipulations.
Can someone suggest me, how to improve it. any guidelines?
The first thing to do is to find out where your problem lies. I would suggest using the built-in Visual Studio profiler to figure out where your execution performance bottlenecks are.
There's an MSDN article here that explains how to use the profiler.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
Over the last few years I have grown rather fond of python. I enjoy coding in it a lot more than in other languages. Recently, a coworker told me that he preferred C#. I am having a hard time understanding his choice. When ever I code with C# I feel like its Java but for Microsoft products only. He also added that he is very pleased with the work Microsoft has put into C#. This seems to contradict what I have been lead to believe.
Anyways, which language would you say is more expressive? Which would you use to develop an application and why? What are some of the advantages and disadvantages of using one over the other?
Thanks!
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
BITS, the Windows background intelligent transfer service.
Looks like there are a few C# wrappers around that manage the interop to BITS, does anybody have any opinions on the best one?
I found problems with using the Managed_BITS codeproject article and I found an even better wrapper:
http://www.codeplex.com/sharpbits
http://nuget.org/packages/SharpBITS
Less code, a lot cleaner and unlike the codeproject, it did not hide away those parts of the BITS interface that I actually need to use.
Check out the following:
http://www.codeproject.com/KB/cs/Managed_BITS.aspx
http://www.simple-talk.com/dotnet/.net-tools/using-bits-to-upload-files-with-.net/