In many place on internet or book I read about these two words interchangeably. Both are same or different?
Visual C# is a development tool published by Microsoft, to develop applications based around the C# language.
C# is a programming language that can be implemented in various ways. Visual C# is Microsoft's implementation of C# through their .NET frameworks. Anyway, if you're like 99% of the people using C#, then you are using Microsoft's implementation.
They are the same. There isn't really any product named "Visual C#"
It may be a mixup, either with Visual Studio that is the IDE for Microsoft's implementation of C#, with Visual C# Express which is a free limited version of the IDE only supporting development in C#, or with Visual Basic which is another language used in the same IDE.
Related
I am developing desktop application in visual studio 2008 using c# for a machine which cuts the material in two parts using laser. At the electronics hand my friend uses a QT programming language to made a library for serial communication and axis handling. As we know QT programming uses a MinGW compiler while C# uses a VC++. There is many ways to use QT Library in C# like using Qt MSVC add-in you can compile library in Visual Studio's compiler, I have tried and also got succeeded in this, but there are some limitations of QT library to execute functionality like threads,etc on MSVC compiler. So now I think, if my C# application able to compile on MinGw compiler using Visual Studio IDE then it becomes very easy to execute all QT library functionality on windows platform through my code.
In simple words, Is there is any way to change the compiler of Visual Studio to MinGW for compilation successfully code of both different platform?
Related: How do I set GNU G++ compiler in Visual studio 2008
Additional Advice:
I've used Qt for years and never had a threading issue using QThread and the MSVC or MinGW toolchain. My advice would be to look into the QtCreator IDE, it is an optional install in the tools section of Qt. It has come a long way, especially on Windows and Linux. With the proper configuration you can test side-by-side compilations using different toolchains.
I made the switch from Visual Studio IDE a few years back and haven't regretted it.
Although, I used Ubuntu for C++ programming, I have recently started programming in C# in Ubuntu. Earlier, I used Microsoft Visual Studio for that. I am using Emacs as my text editor.
I am really missing the IntelliSense feature of Visual Studio. How can I get that feature in Emacs? or can I get that feature in Emacs ?
I have used auto complete mode in Emacs, but it is not working in C#.
have you tried Monodevelop? i am also trying find a IDE to code in c#. for now, i am using mono deveop. it's not feature full as visual studio, but it has a limited auto complete feature based on .net frame work 4.0.
I didn't try it in linux though. i am using it in mac. but, it would worth a trial if you have time.
I am trying to find a way to generate UML diagrams (sequence diagrams, class diagram, etc) from my C# code written in Visual Studio 2012.
I saw a link on http://office.microsoft.com/en-us/visio-help/about-reverse-engineering-code-to-the-uml-HP001208803.aspx that I could bring my Visual Studio project into Visio.
But its first part where it says "In the Visual Studio environment, reverse engineering is activated from a command on the Project menu." doesn't work for me because I cannot find a reverse engineering option under the Project menu.
How can I generate UML diagrams from C# code written in Visual Studio 2012 into Visio 2010?
Microsoft no longer considers Visio to be a software engineering tool. There was a version known as "Visio for Enterprise Architects", which had this integration with Visual Studio. It was available with the highest-end edition of Visual Studio.
I believe it was last supported with Visual Studio 2005, though that might have been 2003.
Visual Studio Ultimate now has its own built-in UML features which do not rely on Visio.
Blast from the past. It's been a while since I've reverse engineered anything into UML so my knowledge may be outdated.
In any case, as far as I remember, code reverse engineering using Visio is a Visio feature not a Visual Studio feature, thought some versions of Visual Studio have their own modelling features.
In order to use Visio reverse engineering you need make sure the Visio UML addin is installed (it should be available in Professional and above versions of Visio, but may not be installed by default.)
Here's a rather old step by step of the process for an old version of Visio and Visual Studio. I don't think the process has changed that much (though obviously the languages supported have changed.)
In any case I never liked Visio for UML (truth be told I never liked Visio.) I rather liked Sparx System's Enterprise Architect for modelling, and their reverse engineering was quite good when I used it on .Net 2.0. I don't know how their current version copes with the newer features. I also like their "from scratch" modelling environment better.
Finally keep in mind UML is supposed to be a modelling not a programming language. I.e. it is meant to convey the high level design so the overall architecture of a solution can be more easily understood; or to model key dynamic interactions, again, so the implemented or proposed solutions to the modeled problem can be more easily understood.
Reverse engineered UML diagrams often have too much information for them to be useful, and it is difficult in any case to translate the precise semantics of a specific language into UML. You may be better off creating diagrams from scratch. Other than deployment and package diagrams, it should be understood that UML diagrams represent a high level overview or specific high level dynamic interaction representation, not an as-developed representation.
This depends on which version of the product you are using. I have Visual Studio Professional 2012 and I don't see this option. This makes sense if you look at the product features. If, however, you look at the product features of Visual Studio 2012 Ultimate, you will see UML modelling, and various other visualisation tools.
Visual Studio 2010 non-Ultimate version allowed for this UML generation by using Feature Pack, which hasn't been developed for Visual Studio 2012 yet. As Dominic mentioned (he beat me to it), Visual Studio 2012 Ultimate should allow for this though.
Visual Studio Ultimate 2012 can generate very nice sequence diagrams for C# code when you just select a member (method name); and it fails constantly at my place if I do the same for in VB code.
This in contrast to Enterprise Architect from Sparx, the most advanced CASE tool for UML and other modelings AFAIK.
What is the simplest version of Visual Studio (professional, enterprise, or other) that I could purchase that supports C# or F# development?
It looks like F# is downloadable from Microsoft for no charge and comes in configurations
that would allow .Net and non-.Net development with or without Visual Studio. Am I missing something?
Is the same true for C#? That is is it downloadable without cost?
Thank you.
The simplest single version of Visual Studio which supports both developing in F# and C# is professional.
It's possible to install multiple free versions of the Visual Studio shell to allow you to develop C# and F# locally
C# via Express SKU
F# via Free Tools + Isolated Shell
This won't give you a single IDE though for developing in both languages.
C# is downloadable without cost as either part of the Windows SDK (which provides a commandline compiler csc) or Visual C# Express, which provides an IDE.
F# is available either in commandline form (fsc) or as a Visual Studio plugin, which requires the VS Shell (which is freely downloadable) or a full (non-Express) Visual Studio.
This means that you must purchase at least VS Professional to open both types of projects in the same editor, but you could also use a combination of VS Express and VS Shell for free.
Visual Studio Express Editions allows you to develop in NET languages. For example Microsoft Visual C# 2010 Express and it has no cost.
However it lacks many features. If you need a more powerful IDE, you can use SharpDevelop. It has no cost and allow you to develop in C#, F# and many more. Give it a try. Good luck!
Since there is a Sharpdevelop 3.0 ( http://www.icsharpcode.net/OpenSource/SD/Download/ ) can anybody tell me how it compares to the Express Editions ? ( http://www.microsoft.com/Express/ )
I tried to find differences, but could only find this old post http://community.icsharpcode.net/blogs/mattward/pages/VisualStudioExpressComparison.aspx
I wrote a blog-post about it, you can find it here
In my conclusion I say:
Conlusion
If I have to choose for web applications than the express edition wins easily. The build in webserver, the graphical designer with split screen functionality and javascript debugging just make it too good.
If you think you really need to work with a database from within the IDE than also SharpDevelop is not for you. If you want to create a windows forms or console application both will work fine, if you want to build these applications more seriously and use a source control system, static code analysis and stylecop from the IDE you need SharpDevelop !
If the express editions would allow third party extensibility (Resharper) and solve my little annoyances, it would be number one.
If SharpDevelop would get a resharper add-in, a graphical designer for web pages and a build in web server, it would be number one.
SharpDevelop is a free/opensource project. Where as Microsoft Visual Studio Express Edition is a crippled Visual Studio lacking some of the tool/features that help in release commercial software.
If you are planing on using Visual Studio in the future, then use express edition. Otherwise I would highly recommend SharpDevelop.
In terms of features, they both have debuggers, they both have syntax highlighting and code completion. They both will have all the features you expect from a full out RAD IDE for .Net.
The other issue that is worth mentioning is the unit testing support in Sharpdevelop. Nunit can be integrated into the IDE and that is a huge gain IMO. Unit testing in #Develop is far superior to MSTest and Nunit with VS is not integrated into the IDE.