The #develop teamblog
 Saturday, October 28, 2006
Supposed you want to call a method and don't know the return type you can use this handy completion feature:

int getSomeObscureType()
{
    return 1;
}      

void test()
{
    ? x = getSomeObscureType();
}

After you typed the semicolon (highlighted in red), the placeholder "?" is replaced by the return type of the called method:

void test()
{
    int x = getSomeObscureType();
}

Categories: Markus
Saturday, October 28, 2006 1:40:16 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]

 



Comments are closed.

© Copyright 2008 SharpDevelop Core Team

Subscribe to this weblog's RSS feed with SharpReader, Radio Userland, NewsGator or any other aggregator listening on port 5335 by clicking this button.   RSS 2.0|Atom 1.0  Send mail to the author(s)

 

Copyright ©2000-2007 IC#Code. All rights reserved. Projects sponsored by AlphaSierraPapa.