Solved

Research on C#

Posted on 2002-05-07
2
246 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
find a node in VST 2 64
countHi challenge 25 100
move one pixel 4 59
control image tags in a string ? 12 111
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This is about my first experience with programming Arduino.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

861 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now