473,396 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Anonymous classes

Does anyone know if or when anonymous class support will be added to C#?

Nov 16 '05 #1
4 9487
Hi
What I know will be added to Whidbey is the anonoums methods features
http://www.c-sharpcorner.com/Code/20...eyFeatures.asp
Also generics will be available (which are the templates of C++)
Check this link
http://blogs.msdn.com/brada/archive/.../02/83112.aspx
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC

Nov 16 '05 #2

"No One" <no***@yahoo.com> wrote in message
news:41***************@yahoo.com...
Does anyone know if or when anonymous class support will be added to C#?


Chances are they will not ever be added. The framework seems to be leaning
towards the anonymous method front moreso than interface based mechanisms
java uses.

I don't think anon. classes actually offer anything that makes them
worthwhile.
Nov 16 '05 #3
"Daniel O'Connell [C# MVP]" wrote:
"No One" <no***@yahoo.com> wrote in message
news:41***************@yahoo.com...
Does anyone know if or when anonymous class support will be added to C#?


Chances are they will not ever be added. The framework seems to be leaning
towards the anonymous method front moreso than interface based mechanisms
java uses.

I don't think anon. classes actually offer anything that makes them
worthwhile.


I can think of many things they offer. Creating a concrete abstract class or
interface is one of the best.

I guess I missed something on anonymous methods. Do you mean anonymous
delegates?

Nov 16 '05 #4
Mohamoss wrote:
Hi
What I know will be added to Whidbey is the anonoums methods features
http://www.c-sharpcorner.com/Code/20...eyFeatures.asp
Also generics will be available (which are the templates of C++)
Check this link
http://blogs.msdn.com/brada/archive/.../02/83112.aspx
Mohamed Mahfouz


How about adding refactoring to VS? How about fixing the build bugs?

Anonymous methods sure look like anonymous classes to me.

Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ed Severn | last post by:
I'm sorry of this question has been posed and answered many times before. But I have avoided using the "package" statement because of this. Most of my classes have no "package" statement, and...
0
by: Carlos Ribeiro | last post by:
I thought about this problem over the weekend, after long hours of hacking some metaclasses to allow me to express some real case data structures as Python classes. I think that this is something...
11
by: G Fernandes | last post by:
I've heard some mention "anonymous" objects in c.l.c and other places (conversations), and I was wondering what exactly these are. Anonymous seems to imply that there is no name, but no name...
0
by: Cordell Lawrence | last post by:
Okay guys, We are wondering if this is a bug in Framework 2.0.40607 and looking for some clarification on the issue. Take a look at the folowing code. public delegate bool BoundryTest(int...
6
by: Gaijinco | last post by:
I have always felt that there are a lot of topics that you learned the facts but you only grasp the matter sometime down the road. For me, two of those topics are inner classes and anonymous...
6
by: 2b|!2b==? | last post by:
I have the following declaration in a header file (MyClass.h) //contents of MyClass.h class MyClass { public: MyClass() MyClass(const MyClass&); ... };
2
by: Lachlan Gunn | last post by:
Hello. I have a library (SQLObject) that stores data as class variables. I would like to set a class variable in a certain context, specific to a certain instance of an object. This would...
0
by: Peter Duniho | last post by:
On Mon, 01 Sep 2008 16:14:10 -0700, Blip <blip@krumpli.comwrote: Briefly, an anonymous method is exactly that: a method without a name. When you use the "delegate" keyword to declare an...
8
by: Tim Chase | last post by:
I've got code similar to the following class Action: def __init__(self, ...): pass def __call__(self, ...): pass def get_help(self, ...): pass class Backend: class _Load(Action): def...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.