C# is case sensitive, what is mean by case sensitive
Answers were Sorted based on User's Feedback
Answer / pankaj
Case sensitive means that every charcter that is written in
in small latter is different from Capital latter
ex - a is different from A.
now in case of c#
every keyword like
1. Main() is different from main().
2.Console is different from console.
Is This Answer Correct ? | 29 Yes | 1 No |
Answer / kishoreg
The First thing that we need to aware is C# is case-
sensitive.If you are used to program using either c,c++
then definitely you might have come across the case-
sensitive nature.
Small Example to case[i.e, either UPPER or lower]
sensitive .
We used to define Main as
static void Main()
{
....
}
but instead if you write the [M]ain as [m]ain then it will
give you error becoz both are different identifier.
This is what case-sensitive.Most of the time VS-IDE will to
your rescue if you gone wrong somewhere with the c# syntax.
Hope it is helpful.
Is This Answer Correct ? | 21 Yes | 3 No |
Answer / rajkamal
Case Sensitive means treating/Allowing/Considering Upper
Case Letters as Different as Lower Case vise versa.
Is This Answer Correct ? | 8 Yes | 2 No |
What is the Use Of Interfaces? For example I have a interface as shown below? Interface IMyInterface { public void MyMethod(); } class MyClass : IMyInterface { public void Mymethod() { Some Code } } class Program { static void Main(string[] args) { MyClass obj = new MyClass(); obj.MyMethod(); } } Here What is My Question is? If i remove Interface and run this code, it will executed then what is the Use of the interface? Can any one give me the solution for this Problem? Thanks in Advance!
What are the access allowed for compilation units(namespace),class and structs and what are its default access?
What do constructors do in c#?
What is manifest ?
What is parsing? How to parse a date time string?
Is c# scripting language?
In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList<string, AddInProject> m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList<string, AddInProject>(); } } }
Why do we need a singleton class?
Can hashtable have duplicate keys?
User's session is explicitly killed by which method ?
How many bytes is a long c#?
FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new Dotnet(); NOW THE QUESTION IS WHICH IS CALLED AS OBJECT ?EITHER dn OR new Dotnet() and CAN YOU PROVE YOUR ANSWER?????PLEASE REPLY...