Master C# Logo banner
Welcome to MasterCSharp.com - Master C#, the easy way... - by Saurabh Nandu

 


C# FAQ

Add Comment
 

 
<script language="JavaScript"> function display(Ans) { var change ="document.all."+Ans+".style.display"; if(eval(change+"== 'none'")) {eval(change +"= 'inline'");} else if(eval(change+"== 'inline'")){eval(change+"= 'none'") ;} } </script> <div onclick="display('a1')" style="cursor: hand"><b>1) What is C#?</b></div> <div id=a1 style="display:inline">C# can be defined as, &quot;C# is a simple, modern, object oriented, and type-safe programming language derived from C and C++. C# (pronounced C sharp) is firmly planted in the C and C++ family tree of languages, and will immediately be familiar to C and C++ programmers. C# aims to combine the high productivity of Visual Basic and the raw power of C++.&quot;<br></div><br> <div onclick="display('a2')" style="cursor: hand"><b>2) Is C#, C+++ ( a new version of C++)?</b></div> <div id=a2 style="display:inline">C# is not a upgrade to C++. C# is a totally new Object oriented programming language. You could say its much more easier and Object oriented than C/ C++.<br></div><br> <div onclick="display('a3')" style="cursor: hand"><b>3) Does C# support RAD like Visual Basic?</b></div> <div id=a3 style="display:inline">Yes! C# is a RAD (Rapid Application Development) Language like Visual Basic. It supports the Drag- Drop and Build features of Visual Basic.<br></div><br> <div onclick="display('a4')" style="cursor: hand"><b>4) Where can I get C# Compiler?</b></div> <div id=a4 style="display:inline">The C# compiler is not distributed as a separate entity yet. You will need to download the .NET SDK (131 Mb) from <a href="http://msdn.microsoft.com/net" class="wbox" target="_blank">http://msdn.microsoft.com/net</a> . The SDK contains the C#, VB.NET, JScript Compilers and full documentation and its Free for download.<br></div><br> <div onclick="display('a5')" style="cursor: hand"><b>5) How can I start learning C#?</b></div> <div id=a5 style="display:inline">First download the .NET SDK. The SDK contains compilers, documentation, code samples and Quick Start pages to help you learn faster. You can also visit many web sites which provide tutorials and articles on .NET.<br></div><br> <div onclick="display('a6')" style="cursor: hand"><b>6) Where can I get information on Books on C#?</b></div> <div id=a6 style="display:inline">Check out <a href="http://www.dotnetbooks.com" class="wbox" target="_blank">www.dotnetbook.com</a> they have a listing of all books available for the .NET platform. I have no personal recommendations since I haven't yet read any of the books available. As for the question of free On-line books, there are inline which I know. If you are in India check out <a href="http://www.grenleaf.com" target="_blank" class="wbox">www.grenleaf.com</a>.&nbsp;<br></div><br> <div onclick="display('a7')" style="cursor: hand"><b>7) Is C# easy to learn?</b></div> <div id=a7 style="display:inline">If you are a Java programmer then you will find it very easy to migrate to C# (I did migrate from Java to C#). Also if you are a C / C++ programmer then you will find much similar syntax of C#.<br></div><br> <div onclick="display('a8')" style="cursor: hand"><b>8) Is C# platform Independent?</b></div> <div id=a8 style="display:inline">The answer to this is a bit tactical. C# applications cannot run without the .NET runtime. At present the .NET platform has been released for Win98/ME and Win NT/2000/XP. Microsoft plans to release the .NET runtime for other platforms soon. Now if, a .NET runtime has been released for your platform then all the .NET programs will run on your platform. This is quite similar to the working of SUN Java which is considered to be Platform Independent. In the case of Sun Java you need to install a Java Virtual Machine on your Platform to run Java programs. If your platform does not have a Java VM then it cannot run Java programs. Hence you can consider the concept Java VM similar to the .NET Runtime Environment (not literally ).&nbsp;You can check out the Mono Project where they are porting the .NET Platform and the C# compiler to the Linux platform - <a class="wbox" target="_blank" href="http://www.go-mono.com">www.go-mono.com</a>.<br></div><br> <div onclick="display('a9')" style="cursor: hand"><b>9) I have written programs in C# how can I run it on my Clients Machine?</b></div> <div id=a9 style="display:inline">There is a separate <a class="wbox" target="_blank" href="http://download.microsoft.com/download/.netframesdk/Redist/1.0/W98NT42KMeXP/EN-US/dotnetredist.exe"> .NET Redistributable runtime</a> (20 MB) available, which can be used to install on the client's machine. <br></div><br> <div onclick="display('a10')" style="cursor: hand"><b>10) Is C# better than Java?</b></div> <div id=a10 style="display:inline"><a href="article.aspx?ArticleID=21&amp;&amp;TopicID=10" class="wbox">Read this</a> article for more information.<br></div><br> <div onclick="display('a11')" style="cursor: hand"><b>11) Is C# Object Oriented ?</b></div> <div id=a11 style="display:inline">Yes, C# is a fully Object Oriented Programming Language.<br></div><br> <div onclick="display('a12')" style="cursor: hand"><b>12) What is the future of C#?</b></div> <div id=a12 style="display:inline">Again a very debated topic , I would just say that it should have a good future or else I would not be into C#, right!<br></div><br> <div onclick="display('a13')" style="cursor: hand"><b>13) Where can I download documentation on C# ?</b></div> <div id=a13 style="display:inline">The .NET SDK has enough documentation. But if you still need some more info then check out the <a href="resources.aspx" class="wbox">resources</a> section on my site.<br></div><br> <div onclick="display('a14')" style="cursor: hand"><b>14) Is C# a open standard?</b></div> <div id=a14 style="display:inline">Yes, C# and the CLI specifications were submitted by Microsoft to the ECMA, and they have been ratified as standards. <br></div><br> <div onclick="display('a15')" style="cursor: hand"><b>15) Knowledge which programming language is needed to learn C#? C / C++ or Java ?</b></div> <div id=a15 style="display:inline">Java or C / C++ knowledge or either ONE of these languages will do. But be sure to get your OOP (Object Oriented Programming) concepts clear. Although I think Java programmers will find C# easier. But C++ programmers will also feel at comfortable since a lot of C# syntax is similar to C++.<br></div><br> <div onclick="display('a16')" style="cursor: hand"><b>16) Which editor is required to write C# code ?</b></div> <div id=a16 style="display:inline">You can use any text editor like <b>notepad</b>, to write your C# codes. Just remember to save your C# source code files with the extension <b>.cs</b>.<br> </div><br> <div onclick="display('a17')" style="cursor: hand"><b>17) Where can I find the C# compiler on my computer?</b></div> <div id=a17 style="display:inline">If you have installed the .NET SDK then you shall generally find the C# compiler (csc.exe) in the directory<br> C:\WINNT\Microsoft.NET\Framework\v1.0.xxxx\ (for windows2000/NT)<br> or<br> C:\Windows\Microsoft.NET\Framework\v1.0.xxxx (for Win 98/ME)<br></div><br> <script language="JavaScript" > var ua = window.navigator.userAgent; var msie = ua.indexOf ( "MSIE " ); if ( msie > 0 ) { for( var i = 1; i < 18 ; i++ ) { var temp = "a" + i ; display( temp ); } } </script>

Comments

Add Comment