0

I know i can use < para /> to create multiline function comments

 /// <summary>
 /// updates the car scrolling.<para />
 /// there are also colors 
 /// <para />while clearall will remove all  </summary>
 /// <param name="status">optional to add a new car  </param>
 public void UpdateDrawing(int updatestatus = bgcar.color.none)

but that behaviour isnt like a linebreak \n it rather behaves like a double line brake ( \n\n ). Is there a way to have only a single line break. So textblocks could be created for intellisence

Peter
  • 2,043
  • 1
  • 21
  • 45
  • 1
    Possible duplicate of [XML multiline comments in C# - what am I doing wrong?](https://stackoverflow.com/questions/2547327/xml-multiline-comments-in-c-sharp-what-am-i-doing-wrong) – mjwills Jul 07 '17 at 09:41
  • What about `environment.newline` ? and did you mean intellisense? It looks like @mjwills is correct with that link – someguy76 Jul 07 '17 at 09:42
  • Read my question. Not a duplicate i've tried
    and
    as well but its ignored by intellisense. While that causes empty lines and doesnt behave like inline \n also environment.newline isn't available in /// commments.
    – Peter Jul 07 '17 at 11:31

1 Answers1

0

Try this:

/// <summary>
/// <para>updates the car scrolling.</para>
/// <para>there are also colors</para>
/// <para>while clearall will remove all</para>
/// </summary>

Intellisense

mjwills
  • 23,389
  • 6
  • 40
  • 63