Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 10th, 2003, 10:31 PM
Friend of Wrox
 
Join Date: Jun 2003
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
 
Old January 14th, 2004, 04:07 AM
Registered User
 
Join Date: Jan 2004
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]






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
Basics Andy122 Dreamweaver (all versions) 3 January 2nd, 2005 03: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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.