Tag: Comment

Commenting Code in PowerShell

This short article will explain in simple steps on how to comment the code in PowerShell. How to Comment Code in PowerShell ? You can use the # symbol to provide a comment in PowerShell. The newer version of PowerShell provides additional options for commenting with the help of <# #> block . This block can be used generally for the help comments. Visit PowerShell…

How to Add Comment in XAML and Silverlight?

You can add comment in XAML using the following format <!– Your Comment –> How to Add Comment in XAML and Silverlight? Sample code snippet demonstrating the inclusion of the comments in XAML page. <!–This Section is a Grid Layout–> <Grid x:Name=”LayoutRoot” Background=”White”> <Canvas x:Name=”ACCanvas” xmlns=”http://schemas.microsoft.com/client/2007″ xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” Background=”Green” Width=”400″ Height=”300″ > <Ellipse x:Name=”ACEllipse” Fill=”Red” Stroke=”Pink” Width=”200″ Height=”200″/> </Canvas> </Grid>