.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 9th, 2004, 09:54 PM
summer00 summer00 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 17 summer00 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 14 sec
Reputation Power: 0
Pointers in C#?

I have came across with some .net articles, and i found that there are pointers in C#. Actually i prefer to program using java because there is no pointers...Since C# is similar to java, then is pointers really necessary?

Reply With Quote
  #2  
Old September 16th, 2004, 01:43 AM
akashthakural akashthakural is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Chandigarh
Posts: 6 akashthakural User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 59 sec
Reputation Power: 0
Send a message via MSN to akashthakural Send a message via Yahoo to akashthakural
You seem to be mistaken, there are no pointers in C#.

Reply With Quote
  #3  
Old October 4th, 2004, 02:42 AM
MrKoala MrKoala is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 13 MrKoala User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by akashthakural
You seem to be mistaken, there are no pointers in C#.
I think I remember that there are pointers. They're absolutely not necessary though.
When you have an entity that uses pointers, it must be qualified as 'unsafe'. Then the compilation of this entity can fail if the proper compile option is set. (something like "do not authorise unsafe entities")

If you like to program in Java, well, don't use pointers. Don't assert nullity by hand. Let the language do it for you. Pointers are bad. But they're quick. But they're bad.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > Pointers in C#?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT