Home
Forums
Programming
Web Development
Tutorials
Snippets
Blogs
Freelance
Jobs
Lounge
Login
Join for Free!
Programming Help
C and C++
Visual Basic
Java
VB.NET
C#
ASP.NET
PHP
ColdFusion
Perl and Python
Ruby
Databases
Other Languages
Game Programming
Software Development
Computer Science
Industry News
Web Development
Web Development
HTML & CSS
JavaScript
Graphic Design
Flash & ActionScript
Blogging
SEO & Advertising
Web Servers & Hosting
Site Check
What's Here?
Members:
150,399
Replies:
508,453
Topics:
80,156
Snippets:
2,669
Tutorials:
709
Total Online:
971
Members:
65
Guests:
906
[X]
My Assistant
Loading. Please Wait...
Dream.In.Code
>
Programming Help
>
C#
Welcome to Dream.In.Code
Become a C# Expert!
Join 150,399 C# Programmers for FREE!
Get instant access to thousands
of C# experts, tutorials, code snippets, and more! There are 971 people online right now.
Registration is fast and FREE...
Join Now!
Chat
LIVE
With a C# Expert
class intializing
class intializing
Options
javagoutom
6 Mar, 2008 - 04:53 AM
Post
#1
New D.I.C Head
Joined:
20 Sep, 2007
Posts:
25
My Contributions
to intialize a class we use
CODE
className obj=new className();
Let me know that why the set of braces is there after the className()....
This Post Was Helpful!
Register for Free to Make These Ads Go Away!
bhandari
RE: Class Intializing
6 Mar, 2008 - 04:57 AM
Post
#2
D.I.C Addict
Joined:
31 Jan, 2008
Posts:
747
Dream Kudos:
900
My Contributions
because you are calling the constructor method which will do some initializations for your object. You can define a custom constructor.
This Post Was Helpful!
Display Mode:
Standard
·
Switch to: Linear+
·
Switch to: Outline
Track this topic
·
Email this topic
·
Print this topic
·
Subscribe to this forum
Time is now: 1/9/09 07:03PM
Invision Power Board
v2.1.7 © 2009 IPS, Inc.
Licensed to: MediaGroup1
Advertising
|
Terms of Use
|
Privacy Policy
|
About Us
|
Site Map
Forum Index:
Programming Help
|
C and C++
|
Visual Basic
|
Java
|
VB.NET
|
C#
|
ASP.NET
|
PHP
|
ColdFusion
|
Perl and Python
|
Ruby
|
Databases
|
Other Languages
|
Game Programming
|
Software Development
|
Computer Science
|
Industry News
|
Programming Tutorials
|
C++ Tutorials
|
Visual Basic Tutorials
|
Java Tutorials
|
VB.NET Tutorials
|
C# Tutorials
|
Linux Tutorials
|
PHP Tutorials
|
ColdFusion Tutorials
|
Windows Tutorials
|
HTML/JavaScript Tutorials
|
CSS Tutorials
|
Flash Tutorials
|
Web Promotion Tutorials
|
Photoshop Tutorials
|
Software Development Tutorials
|
Database Tutorials
|
Other Language Tutorials
|
ASP.NET Tutorials
|
Copyright 2001-2008
MediaGroup1 LLC
, All Rights Reserved
A
MediaGroup1 LLC
Production - Version 6.0.2.1.36
Server: secure2
Search
Updated!
w00t
Over 509,000 Pages!
Advanced Forum Search
Be Social
Live C# Help!
C# Tutorials
Serial Port Communication in C#
Basic Client/Server Chat Application in C#
C# Basics Quick Reference (Cheat Sheet)
Create an AutoComplete TextBox Control in C#
C# - Reading each character of a string
Cross Thread Communication in C#
Basic Calculator in C#
C# Flags
Read config file in Class Library
Disable an applications close button
71 More C# Tutorials...
Reference Sheets
C# Snippets
Populating Tree View nodes from sql server 2000
Get connection string from the web.config
Read value from Resource file in C#
Validate IP address with Regular Expression
TreeView Drag n Drop
Search Text file for String
Clear a form
Get checked item in gridView (ASP.Net) and store in session
DataGridView - Get Selected List
Find all classes within a Namespace
272 More C# Snippets...
DIC Chatroom
Join our IRC Chat
Bye Bye Ads
Monthly Drawing
Top Contributors
Top 10 Kudos This Month
AdamSpeight2008
(75)
girasquid
(75)
Barnz
(50)
DillonSalsman
(50)
jacobjordan
(50)
kryton46
(50)
gothik12
(25)
mostyfriedman
(25)
NevilleDNZ
(25)
~NJ
(25)