Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: Microsoft Dynamics Development Pin
Pete O'Hanlon5-Apr-11 23:43
mvePete O'Hanlon5-Apr-11 23:43 
GeneralRe: Microsoft Dynamics Development Pin
Pravin Patil, Mumbai6-Apr-11 1:28
Pravin Patil, Mumbai6-Apr-11 1:28 
GeneralRe: Microsoft Dynamics Development Pin
Pete O'Hanlon6-Apr-11 2:00
mvePete O'Hanlon6-Apr-11 2:00 
Questionstatic method Pin
arkiboys5-Apr-11 22:49
arkiboys5-Apr-11 22:49 
AnswerRe: static method Pin
Pete O'Hanlon5-Apr-11 22:52
mvePete O'Hanlon5-Apr-11 22:52 
GeneralRe: static method Pin
arkiboys5-Apr-11 23:47
arkiboys5-Apr-11 23:47 
GeneralRe: static method Pin
Luc Pattyn5-Apr-11 23:52
sitebuilderLuc Pattyn5-Apr-11 23:52 
GeneralRe: static method Pin
arkiboys5-Apr-11 23:57
arkiboys5-Apr-11 23:57 
So,
1- A static class should have all it's methods as static.
2- A static class can be referred to without creating an instance of it.
3- If a class is NOT static and one or more of it's methods are static, then those static methods can be referred to without creating an instance but to refer to the non static methods, first, an instance of the class must be created.

Am I right please?
GeneralRe: static method Pin
Luc Pattyn6-Apr-11 0:13
sitebuilderLuc Pattyn6-Apr-11 0:13 
GeneralRe: static method Pin
arkiboys6-Apr-11 0:27
arkiboys6-Apr-11 0:27 
GeneralRe: static method Pin
Pete O'Hanlon6-Apr-11 1:15
mvePete O'Hanlon6-Apr-11 1:15 
AnswerRe: static method Pin
Groulien5-Apr-11 23:07
Groulien5-Apr-11 23:07 
AnswerRe: static method Pin
Alan Balkany6-Apr-11 4:26
Alan Balkany6-Apr-11 4:26 
GeneralRe: static method Pin
arkiboys6-Apr-11 4:50
arkiboys6-Apr-11 4:50 
AnswerRe: static method Pin
Ravi Bhavnani8-Apr-11 9:28
professionalRavi Bhavnani8-Apr-11 9:28 
GeneralRe: static method Pin
Rob Grainger11-Apr-11 13:32
Rob Grainger11-Apr-11 13:32 
GeneralRe: static method Pin
Ravi Bhavnani12-Apr-11 1:53
professionalRavi Bhavnani12-Apr-11 1:53 
QuestionProblem to convert my code and don't know how to search for it over google Pin
Naveed7275-Apr-11 15:44
Naveed7275-Apr-11 15:44 
AnswerRe: Problem to convert my code and don't know how to search for it over google Pin
davidnz5-Apr-11 18:42
davidnz5-Apr-11 18:42 
GeneralRe: Problem to convert my code and don't know how to search for it over google Pin
Naveed7275-Apr-11 19:24
Naveed7275-Apr-11 19:24 
AnswerRe: Problem to convert my code and don't know how to search for it over google Pin
Naveed7275-Apr-11 22:10
Naveed7275-Apr-11 22:10 
AnswerRe: Problem to convert my code and don't know how to search for it over google Pin
Luc Pattyn5-Apr-11 22:47
sitebuilderLuc Pattyn5-Apr-11 22:47 
AnswerRe: Problem to convert my code and don't know how to search for it over google Pin
Luc Pattyn5-Apr-11 23:02
sitebuilderLuc Pattyn5-Apr-11 23:02 
GeneralRe: Problem to convert my code and don't know how to search for it over google Pin
Naveed7275-Apr-11 23:18
Naveed7275-Apr-11 23:18 
GeneralRe: Problem to convert my code and don't know how to search for it over google Pin
Luc Pattyn5-Apr-11 23:39
sitebuilderLuc Pattyn5-Apr-11 23:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.