Solved

Research on C#

Posted on 2002-05-07
2
250 Views
Last Modified: 2010-04-17
i am going to do the research on C# for my degree in computer science, and i would like to know what's the special or unique technology/method that C# have, such as RMI in Java. And i would like to have some recommendation on which topic will be suitable, and where can i learn more on that topic?
0
Comment
Question by:zeBes
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
CJ_S earned 50 total points
ID: 6993745
Since C# is based on .Net just like all other .net programming languages there is not too much uniqueness. However there are some new techniques from which one of them is the unsafe keyword. The unsafe keyword gives you the ability to create code without having the garbage collector regain the memory you use. That part is totally yours to control. Some more information may be necessary :-)

When you write normal code you use variables, object and classes. Whenever you create a variable or an object you will use some of the available memory. Sometimes though you won't need it anymore. The garbage collector (implemented in the .net platform) will then take care of that. It will free the memory without you knowing. As you can imaginer this can give you some troubles if you want to keep the memory. the only way to do that is by writing unsafe code. You get your own memory space and the garbage collector won't even look at it. It'll always be there whenever you request it untill you free that memory!

The unsafe keyword also allows you to use pointers, references etc. Basically C++ code.

However, instead of writing some special articly or researching a special topic from C# you might want to look into the garbage collector itself. It covers the whole .net platform in divers languages. Just an idea.

Links about unsafe keyword:
http://www.dotnetextreme.com/code/unsafe.asp
www.softsteel.co.uk/tutorials/cSharp/lesson5.html
(search for "unsafe C#")

Links about the garbage collector:
www.csharphelp.com/archives/archive180.html
(search for "garbage collector C#")


CJ
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 6993746
Good luck!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question