ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What are the strengths that characterize C# than vb.net ?

user-image
تم إضافة السؤال من قبل Mohamed Yousif , Senior Software Engineer , MedicaSoft
تاريخ النشر: 2014/08/25
Sreeyush Sudhakaran
من قبل Sreeyush Sudhakaran , TECHNICAL ANALYST(SOFTWARE ENGINEER) , NATIONAL BANK OF ABUDHABHI

    Allows blocks of unsafe code (like C++/CLI) via the unsafe keyword, support for pointers, Multi-line and intra-line comments . 

Iterative for-loops can contain multiple conditionals 

The get & Set property may implement separate interfaces. In VB you'd have to define two properties instead: a read-only property implementing one interface, and a write-only property implementing the other interface.  

Can use the coalesce operator ?? to return the first non-null value (ex. null ?? null ??1 returns1).

 

To name a few

Rameez Ahmed Sayad
من قبل Rameez Ahmed Sayad , .Net Consultant , Proximus Luxembourg

Apart from the features differences which are minimal , I like the syntax , I prefer the brackets to the dim end and LINQ especially seems a lot easier in C# . Refactoring also seems more visible to me in C#.

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟