Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the proper way to declare a Microsoft class to use in my code. The quick and dirty way I am doing it here, I know, is not correct

xarzu

IS-IT--Management
Jan 16, 2012
19
0
1
US
What is the proper way to declare a Microsoft class to use in my code. The quick and dirty way I am doing it here, I know, is not correct

> Microsoft SharePoint.Client.List newList = null;

I think it is something like this

> Microsoft.SharePoint.Client.List newList = new Microsoft.SharePoint.Client.List();

proper-way.png
 

Part and Inventory Search

Sponsor

Back
Top