Paul, both are correct.
using alias (SP in your example) allows you to use that alias to represent
the namespace name

here is a detailed explanation
http://msdn.microsoft.com/en-us/library/sf0df423(v=vs.71).aspx

On Thu, Mar 15, 2012 at 8:55 AM, explanation Paul Noone <
paul.no...@ceosyd.catholic.edu.au> wrote:

> Hi all,****
>
> Quick question regarding usings and abbreviations.****
>
> I have seen examples, such as below, where both are used. Yet I have
> projects that just use the second using statement and they work as
> expected. Which is correct?****
>
> using Microsoft.SharePoint.Client; ****
>
> using SP = Microsoft.SharePoint.Client;****
>
> Kind regards,
>
> Paul Noone****
>
> ** **
>
> ---------------------------------------------------
> Online Developer/SharePoint Administrator****
>
> Infrastructure Team, ICT
> Catholic Education Office, Sydney
> p: (02) 9568 8461****
>
> f: (02) 9568 8483
> e: paul.no...@ceosyd.catholic.edu.au
> w: http://www.ceosyd.catholic.edu.au/****
>
> ** **
>
> _______________________________________________
> ozmoss mailing list
> ozmoss@ozmoss.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
>
>
_______________________________________________
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to