|
-
Jul 10th, 2008, 06:01 PM
#1
Thread Starter
Hyperactive Member
A few C# questions.
What is the difference between C# and Visual C#?
Are people mainly using C# creating Console Applications or Windows Forms applications?
-
Jul 10th, 2008, 07:47 PM
#2
Re: A few C# questions.
 Originally Posted by maikeru-sama
Are people mainly using C# creating Console Applications or Windows Forms applications?
It depends on the application. At my office, we use C# maily for Windows Forms Apps, Web Services, Windows Services, and Web Sites.
-
Jul 10th, 2008, 07:59 PM
#3
Re: A few C# questions.
C# is the programming language, which some people may call Visual C# anyway. Visual C# is the Microsoft IDE, which many will call just C# anyway, used to develop in C#.
Those who develop in C# use it for everything. You can create any type of application that will run on a Windows system in C#. Thanks to Mono you can also run C# apps on Unix/Linux-based systems.
-
Jul 11th, 2008, 09:28 AM
#4
Thread Starter
Hyperactive Member
Re: A few C# questions.
Thanks for clearing that up JMC.
-
Jul 11th, 2008, 04:49 PM
#5
Frenzied Member
Re: A few C# questions.
 Originally Posted by jmcilhinney
C# is the programming language, which some people may call Visual C# anyway. Visual C# is the Microsoft IDE, which many will call just C# anyway, used to develop in C#.
Those who develop in C# use it for everything. You can create any type of application that will run on a Windows system in C#. Thanks to Mono you can also run C# apps on Unix/Linux-based systems.
That was a whole lotta C#.
-
Jul 11th, 2008, 07:50 PM
#6
Re: A few C# questions.
yeah it depends on what kind of project..right now, our team use ASP.NET 2.0 using C#...
And we use VC# 2005 as our IDE...
Greg
-
Jul 12th, 2008, 11:24 AM
#7
Hyperactive Member
Re: A few C# questions.
C Sharp could also be used to program into phone devices.
-
Jul 12th, 2008, 03:30 PM
#8
Thread Starter
Hyperactive Member
Re: A few C# questions.
 Originally Posted by JenniferBabe
C Sharp could also be used to program into phone devices.
Can you not do this in VB.Net?
-
Jul 12th, 2008, 06:03 PM
#9
Thread Starter
Hyperactive Member
Re: A few C# questions.
Reading through the book I bought, I had another question about Visibility Keywords.
I am trying to understand the meaning of the word Assembly when it is used in the context below:
internal = This member is accessible by any code within the assembly.
Does Assembly mean everything in the entire Project (Web/Win Form, Class, Module etc etc)?
-
Jul 12th, 2008, 09:32 PM
#10
Re: A few C# questions.
An assembly is a .NET executable file, i.e. an EXE or a DLL. Each project you create that compiles to an EXE or a DLL represents an assembly. The idea of internal types and members is that any other assembly that references your DLL will not be able to see them, so they are for internal use only. My favourite example of this is the DataRow class. It is defined in the System.Data.dll assembly as a public class, but its constructor is declared internal. That means that it's not possible for any of us to create a DataRow object directly. We have to call the NewRow method of a DataTable to create a DataRow. Note that the DataTable class is also declared in the System.Data.dll assembly, so it IS able to access the DataRow constructor.
Any .NET language can be used to develop applications for any system that can run a CLR. Windows Mobile devices run a CLR so any .NET language can be used to develop for that platform.
-
Jul 12th, 2008, 10:08 PM
#11
Thread Starter
Hyperactive Member
Re: A few C# questions.
 Originally Posted by jmcilhinney
An assembly is a .NET executable file, i.e. an EXE or a DLL. Each project you create that compiles to an EXE or a DLL represents an assembly. The idea of internal types and members is that any other assembly that references your DLL will not be able to see them, so they are for internal use only. My favourite example of this is the DataRow class. It is defined in the System.Data.dll assembly as a public class, but its constructor is declared internal. That means that it's not possible for any of us to create a DataRow object directly. We have to call the NewRow method of a DataTable to create a DataRow. Note that the DataTable class is also declared in the System.Data.dll assembly, so it IS able to access the DataRow constructor.
Any .NET language can be used to develop applications for any system that can run a CLR. Windows Mobile devices run a CLR so any .NET language can be used to develop for that platform.
Good stuff as usual JMC.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|