NET: הבדלים בין גרסאות בדף
תוכן שנמחק תוכן שנוסף
מ מחיקת תמונה |
|||
שורה 45:
'''Visual Basic:'''
<div style="text-align:left; direction:ltr;"><pre>
{{NET/CodeBlock
{{NET/Code|This is a comment|VBComment}}<br>
{{NET/Code|This is sample code block|VBsummary}}<br>
{{NET/Code|Dim|Keyword}} x {{NET/Code|As|Keyword}} Integer = 5<br>
{{NET/Code|Dim|Keyword}} s {{NET/Code|As|Keyword}} String = {{NET/Code|Hello World!|String}}
'''תוצאה:'''
{{NET/CodeBlock
{{NET/Code|This is a comment|VBComment}}<br>
{{NET/Code|This is sample code block|VBsummary}}<br>
{{NET/Code|Dim|Keyword}} x {{NET/Code|As|Keyword}} Integer = 5<br>
{{NET/Code|Dim|Keyword}} s {{NET/Code|As|Keyword}} String = {{NET/Code|Hello World!|String}}</div>
}}
<br>
'''#C:'''
<div style="text-align:left; direction:ltr;"><pre>
{{NET/CodeBlock
{{NET/Code|This is a one line comment|C#Comment}}<br>
{{NET/Code|This is sample code block|C#summary}}<br>
שורה 68:
{{NET/Code|String|Class}} s = {{NET/Code|Hello World!|String}};<br>
{{NET/Code|This is a<br>multi line comment|C#CommentP}}
'''תוצאה:'''
{{NET/CodeBlock
{{NET/Code|This is a one line comment|C#Comment}}<br>
{{NET/Code|This is sample code block|C#summary}}<br>
שורה 77:
{{NET/Code|String|Class}} s = {{NET/Code|Hello World!|String}};<br>
{{NET/Code|This is a<br>multi line comment|C#CommentP}}
}}
[[קטגוריה:שפות תכנות]]
|