Hi Readers,
In this article, Giving you the solutions for our day to day facing problems/errors while coding in C#.NET.
Note: This article is going to keep on updating erros with solutions in different scenarios either it may runtime/compiletime.
In this article, Giving you the solutions for our day to day facing problems/errors while coding in C#.NET.
Note: This article is going to keep on updating erros with solutions in different scenarios either it may runtime/compiletime.
1. Compilation error : Too many characters in character literal
    Reason: In C#, Adding single quote to multiple characters (Strings) Ex: 'Hello Nuthan!'
    Solution: To fix this, "Hello Nuthan!"
2. Compilation error : The name 'console' does not exist in the current context
    Reason: Either no namespace is included or case-sensitive or spelling mistake
   Soultion: For this error, We changed from console to Console and this class is available in under System Namespace.
Happy Coding :)
Yours TechiNuthan
 
 
 
No comments:
Post a Comment