No announcements
Found 1036004 threads
-
0 Votes
C# Access modifiers
This is from the C# Interface specification: " Interfaces members are automatically public, and they cannot include any access ...Answered | 3 Replies | 2515 Views | Created by Kannalu - Sunday, September 19, 2010 10:54 PM | Last reply by DeborahK - Sunday, September 19, 2010 11:42 PM -
0 Votes
Access Modifiers in C#
Hi, Don't we have a way to derive a base class with private access modifier in C#, cause this was absolutely valid in C++ and ...Answered | 1 Replies | 3516 Views | Created by JFSK - Monday, June 25, 2007 11:01 AM | Last reply by nobugz - Monday, June 25, 2007 12:49 PM -
1 Votes
What are the default access modifiers in C# ?
-us/library/cx03xt0t.aspx The above information, I just refer to What are the DefaultAnswered | 1 Replies | 1179 Views | Created by Amal_ES - Thursday, December 18, 2014 11:52 AM | Last reply by Kristin Xie - Friday, December 19, 2014 2:25 AM -
0 Votes
Difference between Access Specifier & Access Modifiers?
C#: Difference between Access Specifier & Access Modifiers? If they r different. then What r Access Specifier? & What r Access ...Answered | 2 Replies | 11827 Views | Created by Get me Ur Idea - Friday, June 18, 2010 6:22 PM | Last reply by John Visio MVP - Saturday, June 19, 2010 1:02 PM -
4 Votes
Whats hapening in this code
What are Access Modifiers in C#? Thanks, Sabah ShariqAnswered | 5 Replies | 419 Views | Created by Ahlompys - Thursday, June 23, 2016 2:39 PM | Last reply by Ahlompys - Friday, June 24, 2016 11:49 AM -
0 Votes
Access modifiers are not allowed on static constructors.
)) return validator; return null; } // GetValidator } // ValidatorFactory And I get the error: ...Answered | 2 Replies | 18045 Views | Created by MDMoura - Tuesday, December 8, 2009 8:44 PM | Last reply by MDMoura - Tuesday, December 8, 2009 9:14 PM -
0 Votes
From c++/cli winform how to access controls in c# custom control ?
I have a weird behaviour when using a c# custom control in my c++/cli winform. I put all Modifiers in the custom control to "Public" in order to ...Answered | 2 Replies | 2973 Views | Created by dave_MA - Tuesday, April 23, 2013 2:32 PM | Last reply by Mike Feng - Thursday, April 25, 2013 9:38 AM -
1 Votes
Using Variable From Another Class
Hi In C# if you do not mention any explicit access modifiers the Framework assigns the private access level. That means those variables can ...Answered | 4 Replies | 2666 Views | Created by Gildarius - Tuesday, July 6, 2010 9:54 PM | Last reply by Tushar Capoor - Wednesday, July 7, 2010 8:38 AM -
3 Votes
FieldInfo for public Event handler wrong?
like IsPublic, IsPrivate, IsFamily to C# access modifiers. Or are you referring to the access modifier of the event itself? That ...Answered | 8 Replies | 868 Views | Created by ellipsisware - Thursday, February 4, 2016 11:22 PM | Last reply by ellipsisware - Monday, February 8, 2016 7:32 PM -
2 Votes
Should scope of fields in properties always be defined explicitly?
Although the language designers will always try to choose sensible defaults, explicitly specifying the access modifiers removes any potential ambiguity or doubt about the code as not ...Answered | 4 Replies | 2357 Views | Created by new to sql server - Monday, February 22, 2010 3:02 AM | Last reply by new to sql server - Monday, February 22, 2010 3:50 AM -
0 Votes
Cannot install new control
Access Modifiers (C# Programming Guide)Answered | 2 Replies | 3240 Views | Created by Willardryan - Thursday, June 10, 2010 2:48 AM | Last reply by Helen Zhou - Tuesday, June 15, 2010 8:10 AM -
0 Votes
What type of properties in .net
I'm not sure if this is the answer you wanted. there are only 2 types of properties in C#. get and set. ofcorse you can use this with the various ...Answered | 2 Replies | 3388 Views | Created by adilahmed - Monday, July 28, 2008 4:53 PM | Last reply by Praveen Rangarajan - Monday, July 28, 2008 8:34 PM -
0 Votes
what does access mean in access modifiers?
Access Modifiers (C# Programming Guide)Answered | 5 Replies | 3317 Views | Created by Swapnil.Mandgaonkar - Tuesday, December 2, 2008 1:13 PM | Last reply by ok_ranger - Tuesday, May 19, 2009 1:49 PM -
0 Votes
Help needing for c# project
access, you will have to set their "modifiers" property in the designer to either public or internal. using System; using ...Answered | 3 Replies | 2716 Views | Created by wookie85 - Monday, June 15, 2009 3:12 AM | Last reply by evok - Monday, June 15, 2009 1:50 PM -
4 Votes
2 Questions about Classes.
Short answer will not help you. At first you need to know the whole purpose of Access Modifiers. The is a good msdn article that you can ...Answered | 7 Replies | 405 Views | Created by Dubbioso - Saturday, August 22, 2015 12:24 AM | Last reply by Dubbioso - Saturday, August 22, 2015 7:37 PM -
1 Votes
Access Modifiers Help
, and instead of trying to figure out how to finesse c#'s access modifiers, you would be better off tweaking your implementation a bit (or the design a bit) to let them work ...Answered | 8 Replies | 4232 Views | Created by mullerup - Friday, August 17, 2007 4:29 PM | Last reply by mullerup - Saturday, August 18, 2007 10:44 PM -
0 Votes
How can I fix these errors?
;'CombateNaval.CombateNaval.CombateNaval_Click(object, System.EventArgs)': cannot change access modifiers when overriding 'protected' inherited member ...Answered | 1 Replies | 3867 Views | Created by S. B_ - Saturday, October 22, 2005 11:44 PM | Last reply by Daniel Rieck - Sunday, October 23, 2005 3:23 PM -
0 Votes
access-modifiers used in class declarations
I could use a little clarity on access-modifiers when they are used to declare a class. For example, in a lot of C# books, they state that an ...Answered | 4 Replies | 2909 Views | Created by jeff00seattle_2 - Monday, February 2, 2009 8:30 AM | Last reply by jeff00seattle_2 - Tuesday, February 3, 2009 4:15 PM -
0 Votes
Difference between the Interface and Abstarct class
In interface, you can only have Public access modifier. In abstract class, all acces modifiers are allowed. For example, if you need to declare abstract ...Answered | 1 Replies | 3699 Views | Created by MANOJ MATHE - Wednesday, January 6, 2010 10:45 AM | Last reply by Thomas Aimonetti - Wednesday, January 6, 2010 10:57 AM -
0 Votes
Encapsulation vs Information Hiding
Encapsulation is just the idea of bring all the aspects an object together into one place. In C# terms, classes provide a means of encapsulation, and access scope ...Answered | 1 Replies | 2037 Views | Created by Arash_89 - Sunday, July 13, 2014 7:46 AM | Last reply by Nick Holmes - Eurofins - Sunday, July 13, 2014 8:27 AM - Items 1 to 20 of 1036004 Next ›
No announcements