Tag: interview questions and answers

C#.NET Interview Questions and Answers – Part 2

C#.NET Interview Questions and Answers – Part 2 11. What are the different type of comments provided by C# for documentation ? C# supports three different types of comments– Single Line Comments Eg : //– Multi Line comments Eg : /* */– XML Documentation Comments Eg : /// 12. What are the predefined typed in C# ? The predefined types in C# includesValue types like…

C#.NET Interview Questions and Answers – Part 3

C#.NET Interview Questions and Answers – Part 3 21. What is the use of Nan values for double and float in C# ? Nan in C# is generally used to represent special values in .NET . For example , in Silverlight and WPF , the values double.Nan is generally used to represent the automatic values. 22. What is the difference between Double and decimal in…