No announcements
Found 2582603 threads
-
0 Votes
Static class vs singleton class
A static class can be used as a convenient container for sets of methods that just operate on input parameters and do not have to get or set ...Answered | 3 Replies | 20572 Views | Created by Swapnil.Mandgaonkar - Saturday, May 1, 2010 12:55 PM | Last reply by - Friday, November 20, 2015 6:02 AM -
0 Votes
Static Class and Static Constructor?
Static Classes A class can be declared static, indicating that it contains only static members.Answered | 3 Replies | 4473 Views | Created by Ritesh Handa - Tuesday, November 10, 2009 5:40 AM | Last reply by Jai Mallesh Babu - Tuesday, November 10, 2009 8:21 AM -
0 Votes
Caching without static
In this case, I would use some form of static caching concept.Answered | 4 Replies | 3055 Views | Created by Amandeep Bhatia - Wednesday, May 6, 2009 5:35 PM | Last reply by Reed Copsey, Jr - Wednesday, May 6, 2009 7:11 PM -
3 Votes
static classes
Some classes will never be instanced, and only static members in it.Answered | 4 Replies | 3348 Views | Created by Muhammad Adeel Siddiqui21 - Monday, December 13, 2010 4:09 AM | Last reply by Lucas Luo - Monday, December 13, 2010 1:21 PM -
0 Votes
static class
Static class makes implementation easier.Answered | 5 Replies | 1745 Views | Created by velsamy ananthavelu - Tuesday, October 18, 2011 6:03 AM | Last reply by velsamy ananthavelu - Wednesday, October 19, 2011 6:47 PM -
2 Votes
static class
Hi, We can declare static members inside a class without marking a class as static.Answered | 17 Replies | 3622 Views | Created by velsamy ananthavelu - Tuesday, October 18, 2011 7:10 AM | Last reply by velsamy ananthavelu - Friday, October 21, 2011 6:02 AM -
1 Votes
Static Class
what advantage/perfomance static methods gives over instance methods I would not think of static vs. instance methods in terms of performance - but ...Answered | 2 Replies | 3413 Views | Created by nehakapoor - Wednesday, January 27, 2010 8:37 PM | Last reply by Reed Copsey, Jr - Wednesday, January 27, 2010 8:56 PM -
2 Votes
static class and static function
For a standalone function (as opposed to a class member), "static" means, roughly, "only available in this source file".Answered | 5 Replies | 872 Views | Created by Jeff0803 - Tuesday, September 8, 2015 9:57 PM | Last reply by Jeff0803 - Wednesday, September 9, 2015 12:56 AM -
2 Votes
Private contructors, Static Contructors and Static Classes
If a class has one or more private constructors and no public constructors, then other classes (except nested classes) are not allowed to create instances ...Answered | 4 Replies | 2337 Views | Created by NewCoder61 - Saturday, July 14, 2012 4:40 AM | Last reply by Sambath Raj.C - Monday, July 16, 2012 9:47 AM -
0 Votes
Regarding static class
Only if he wants more than one instance of the same class.Answered | 2 Replies | 2218 Views | Created by Mou_kolkata - Monday, July 11, 2011 1:51 PM | Last reply by Noam B - Monday, July 11, 2011 2:11 PM -
2 Votes
Static class
When you use static class you can't create object instance of that class which will hold everything that you set to that class.Answered | 4 Replies | 1206 Views | Created by diny333 - Thursday, March 7, 2013 4:48 PM | Last reply by Tonchi91 - Thursday, March 7, 2013 7:01 PM -
0 Votes
Static Class Question
The determination about static vs instance should be based upon the usage you intend and what the type/method represents.Answered | 3 Replies | 748 Views | Created by C_Newbie01 - Monday, February 3, 2014 7:47 PM | Last reply by CoolDadTx - Monday, February 3, 2014 8:26 PM -
3 Votes
Static classes
You can use these [static constructors] in any class, static or not, to perform any operations with the static elements.Answered | 5 Replies | 2304 Views | Created by NewCoder61 - Thursday, November 1, 2012 2:17 AM | Last reply by Michael Samteladze - Friday, November 2, 2012 2:50 PM -
0 Votes
static class
Hello bhuvanabsr, Static classes are not instaciable, can not be used as return type and you can not declare a variable of static class type.Answered | 5 Replies | 3963 Views | Created by bhuvanabsr - Tuesday, March 29, 2011 11:31 AM | Last reply by WolfgangKluge - Tuesday, March 29, 2011 3:45 PM -
0 Votes
static class
The CLR doesn't have a notion of static classes.Answered | 1 Replies | 3446 Views | Created by Jalil Sabri - Wednesday, November 12, 2008 9:24 PM | Last reply by nobugz - Wednesday, November 12, 2008 9:43 PM -
0 Votes
Static Classes?
http://www.dotnetperls.com/static-classSEO India | SEO Services IndiaAnswered | 4 Replies | 5492 Views | Created by Kyron - Thursday, March 24, 2005 2:28 PM | Last reply by SEO Services India - Tuesday, April 30, 2013 9:33 AM -
0 Votes
Binding to a static property NOT in a static class
If you only provide a static property, there is no object to retrieve an interface from, so that's why you need the backing of a regular class to get the INotifyPropertyChanged ...Answered | 4 Replies | 6254 Views | Created by Nir_haham - Sunday, April 13, 2008 8:19 AM | Last reply by Carbaholic - Friday, December 18, 2009 1:04 AM -
0 Votes
Benefit of Static Class & Static Methods?
Static class.Answered | 2 Replies | 4758 Views | Created by GurunGuns - Sunday, August 30, 2009 11:40 PM | Last reply by codevanced - Monday, August 31, 2009 7:42 AM -
0 Votes
Static Class Instance
Is there any performance issue of using Single Static Class Instance with large amount of methods??Answered | 12 Replies | 2576 Views | Created by Dharmalinga Raja - Thursday, July 28, 2011 2:05 PM | Last reply by Sheng Jiang 蒋晟 - Saturday, July 30, 2011 3:10 PM -
4 Votes
Memory Allocation to Static Class
A "static" class is a class that only contains static members, *and* is explicitly marked as "static", using a flag ...Answered | 11 Replies | 46679 Views | Created by Ajay Beni - Thursday, May 22, 2008 6:51 AM | Last reply by Simple Samples - Friday, June 12, 2015 6:38 AM - Items 1 to 20 of 2582603 Next ›
No announcements