Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Beginning Visual C#
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Visual C#
This is the forum to discuss the Wrox book Beginning Visual C#, Revised Edition of Beginning C# for .NET v1.0 by Karli Watson, David Espinosa, Zach Greenvoss, Jacob Hammer Pedersen, Christian Nagel, Jon D. Reid, Matthew Reynolds, Morgan Skinner, Eric White; ISBN: 9780764543821
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 10th, 2003, 09:31 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default C# Basics

Hello,

In VB.NET, you can dynamically create arrays in such a way as below:
Code:
objTable.PrimaryKey = new DataColumn() { objTable.Columns("ID") }
What is the C# equivalent? I couldn't find anything on the web.

Thanks,

Brian Mains
__________________
Brian
Reply With Quote
  #2 (permalink)  
Old January 14th, 2004, 03:07 AM
Registered User
 
Join Date: Jan 2004
Location: TianJin, , China.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Doll Send a message via MSN to Doll Send a message via Yahoo to Doll
Default

That's easy ,such as
<baseType>[]<name>
for example
int[] myIntArray=new int[arraySize]

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
asp basics help - namespaces ( I think?) rmullins1 ASP.NET 2.0 Basics 4 September 3rd, 2008 04:42 PM
Need some help on basics jagan7 Java Basics 3 September 9th, 2007 02:44 AM
problems with basics help becky Visual Web Developer 2005 0 September 13th, 2006 04:49 PM
Basics Andy122 Dreamweaver (all versions) 3 January 2nd, 2005 02:36 PM
PHP basics limsra BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 August 18th, 2004 07:28 AM



All times are GMT -4. The time now is 02:57 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.