GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  Basics
Go To First  |  Previous Question  |  Next Question 
 Basics  |  Question 33 of 42    Print  
What are the differences between C# and VB.NET apart from syntax?which is more powerful,how do we determine which language to be used when designing a .NET app?

  
Total Answers and Comments: 4 Last Update: March 14, 2007     Asked by: prabhasana 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Abhishek Agrawal
 

C# is designed as a purely object oriented language from the scratch

while VB.net was designed to port the existing VB programmers to dot net framework as VB.net is having the same feel as VB

there are many  features in C# which are not available in VB.net like

 1)Delegates which are equivalent to function pointers in VC++

 2)pointers (using unmanaged code)



Above answer was rated as good by the following members:
chintan.desai, sanjayashokbhatt
January 10, 2006 04:00:05   #1  
Ritesh Diyawar        

RE: What are the differences between C# and VB.NET apa...
1 C# Case censetive but vb.net not2 c# conversion done Explictly but vb.net implictly3 Must have break statement in Default section but not in vb.net
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
February 15, 2006 04:32:45   #2  
Abhishek Agrawal        

RE: What are the differences between C# and VB.NET apa...

C# is designed as a purely object oriented language from the scratch

while VB.net was designed to port the existing VB programmers to dot net framework as VB.net is having the same feel as VB

there are many features in C# which are not available in VB.net like

1)Delegates which are equivalent to function pointers in VC++

2)pointers (using unmanaged code)


 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
August 15, 2006 14:01:29   #3  
Frost        

RE: What are the differences between C# and VB.NET apa...
ok VB.NET has Delegates? I am losted as to the differances I have used both languages and I really cannot find any advantage (other then syntax) one has over the other?
 
Is this answer useful? Yes | No
March 14, 2007 04:50:08   #4  
ti_abhi Member Since: March 2007   Contribution: 2    

RE: What are the differences between C# and VB.NET apa...
VB.NET does have delegates. Pointers cant be said to be an advantage Even Java claiming to a pure Object Oriented Language stays away from pointers. Its just for backward compatibility and letting users do what they used to with c/c++.

Unmanaged code is never recommended and therefore should not be treated as an advantage.

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape