what is difference between c and C#

Answers were Sorted based on User's Feedback



what is difference between c and C#..

Answer / azhar iqbal

C is structed language whereas C# is object oriented.

Is This Answer Correct ?    147 Yes 15 No

what is difference between c and C#..

Answer / varsha vilas kalebag

C IS STRUCTURE PROGRAMMING LANGUEGES & C++ IS OBJECT
ORIENTED LANG

Is This Answer Correct ?    108 Yes 18 No

what is difference between c and C#..

Answer / shiyon ranjan raika

c is structed language whereas c# is oriented

Is This Answer Correct ?    48 Yes 3 No

what is difference between c and C#..

Answer / bharti bhattad

1)c# is managed code tht access the memore legaly bt in c++
there is ptr which access tht ilegaly.
2)c# is type safe bt c++ is not.
3)in c#,no multiple inheritance bt in c++ there is.
4)c# is case sensitive bt c++ is not.
5)c# is type safe bt c++ is not.
6)c#,there is CLR for delition of memory but in c++,there is
nt CLR.

Is This Answer Correct ?    50 Yes 18 No

what is difference between c and C#..

Answer / subrata mandal

C is more on functions. C++ is the OOP version of C. and C#
is more on the designs.

Is This Answer Correct ?    35 Yes 9 No

what is difference between c and C#..

Answer / ansh pratap singh

C is the structured programming and lot of function based
language while C# is case sensitive object oriented
programming language which give the output under the CLR.

Is This Answer Correct ?    26 Yes 3 No

what is difference between c and C#..

Answer / vishakha walsetwar

In C# Garbage collection is done by CLR
In C its not.

Is This Answer Correct ?    13 Yes 3 No

what is difference between c and C#..

Answer / shivani

c is unmanaged code and c# is managed by the .NET CLR
(common language runtime)

Is This Answer Correct ?    10 Yes 4 No

what is difference between c and C#..

Answer / banvari lal

c is structural language while c# is a oriented language

Is This Answer Correct ?    6 Yes 0 No

what is difference between c and C#..

Answer / subrata mandal

C# is case sensitive bt c is not.

Is This Answer Correct ?    35 Yes 34 No

Post New Answer

More Programming Languages AllOther Interview Questions

What is the Difference between in memory database and physical database

0 Answers  


Write a program to implement BFS/ DFS routine in a connected graph

1 Answers  


When we delete logfiles such as screenshots how does it affect the ldf file? Ive seen huge change while adding screenshots in the ldf file but a very minor one deleting them.Please Explain

0 Answers  


could u please also write an example of a code that involves instances from an abstract class just as u did for interfaces because u said it could also work which i really doubt. thanks

0 Answers  


Given: coordinates of rectangle-> left bottom and right top points. the rectangles create a hole.Find the maximum area of the hole. eg. 4 rectangles create a hole in between. find its area.

0 Answers   Manhattan,






Explain with examples any 2 features of OOPS.

0 Answers   Tavant Technologies, Verifone,


Mainly Related to Oracle, DBMS , Oracle Stored Procedures, Functions, Oracle 9i Architecture, Redo logs..., Views,

0 Answers   Indian Overseas Bank,


Write a shell program to test whether a given year is leap year or not ?

0 Answers   Patni,


When we have two versions of the dot net installed how does the compiler know which version of DLL it has to select to an application.

0 Answers   Tesco,


I'm trying to solve this. But I'm not figuring the right solution. Can some one help what the answer is for the question below? You can use as many variables as you need, there are no negative numbers, all numbers are integers. You do not know the size of the integers, they could be infinitely large, so you can't count on truncating at any point. There are NO comparisons allowed, no if statements or anything like that. There are only four operations you can do on a variable. 1) You can set a variable to 0. 2) You can set a variable = another variable. 3) You can increment a variable (only by 1), and it's a post increment. 4) You can loop. So, if you were to say loop(v1) and v1 = 10, your loop would execute 10 times, but the value in v1 wouldn't change so the first line in the loop can change value of v1 without changing the number of times you loop. You need to do 3 things. 1) Write a function that decrements by 1. 2) Write a function that subtracts one variable from another. 3) Write a function that divides one variable by another. 4) See if you can implement all 3 using at most 4 variables. Meaning, you're not making function calls now, you're making macros. And at most you can have 4 variables. The restriction really only applies to divide, the other 2 are easy to do with 4 vars or less. Division on the other hand is dependent on the other 2 functions, so, if subtract requires 3 variables, then divide only has 1 variable left unchanged after a call to subtract. Basically, just make your function calls to decrement and subtract so you pass your vars in by reference, and you can't declare any new variables in a function, what you pass in is all it gets.

1 Answers   Microsoft,


Define distributed queries. can you explain me as soon as possible

0 Answers   HCL,


SYNFOSYS PLACEMENT PAPER 2010 Hi Friends I have attended the recent synfosys test 2010. Here r some questions which i remember. Section – I 1) There are 12 balls weigh similar but one is dissimilar (more/less). How to find the dissimilar ball with minimum no of weighs? 2) There r 7people carrying 7bags. Each bag contains 7cats. Each cat has 7small cats. How many total legs r there? 3) There are 12 balls weigh similar but one is dissimilar (more/less). How to find the dissimilar ball with minimum no of weighs? 4) 5) There r 2 poles each 15 meters high. A cable of length 16 meters is tied between pillars top. For its maximum the cable lies down above 7mts high from the ground. What is the distance between pillars? ------------------------------------------------------------ ------------------------------------------------ Section -II What is the value of 11^5 Some Other quetions ------------------------------------------------------------ ------------------------------------------------ Section - III 16) Serialization and deserialization? 17) Will finally block execute even though there is an exception & return statement are there in catch block? Explain? 18) memory leak? How can we avoid it? 19) virtual destructor? 20) Two program codes for code optimization? ------------------------------------------------------------ ------------------------------------------------ Section – IV Q) Program for finding the alternate digits of the number If number is 35846 then Sum1=3+8+6=17 Sum2=5+4=9 Q) Program for Single linked list? ------------------------------------------------------------ ------------------------------------------------ Section - V Q) What is software engineering? Explain SDLC Q) Explain any two upcoming IT Scenarios? ------------------------------------------------------------ ------------------------------------------------ Regards Gopinath Allanku +91 9885457211

2 Answers   synfosys,


Categories