Custom Query (162 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 162)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket Resolution Summary Owner Reporter
#169 fixed Listの要素を削除すると、Listが壊れる dai OverTaker
Description

RemoveAt,Removeでリストに変更した後、リストの内容がおかしくなります。

#console
Imports System.Collections.Generic
Imports System

Dim list As List<String>
list.Add("0")
list.Add("1")
list.Add("2")
list.Add("3")
list.RemoveAt(1)

Console.Write(list)
Console.ReadLine()
#168 fixed エディタでDelegateがキーワードの色にならない。 dai イグトランス (egtra)
Description

題目の通りです。Delegateが通常の黒文字で表示されています。

#167 fixed メンバ関数とデリゲートで戻り値の共変と引数の反変に対応してほしい dai イグトランス (egtra)
Description

まず、このコードがコンパイルできないのがとても不便です。優先度を高にしたのはこのためです。

Class MyClass
	Implements System.ICloneable
Public
	Override Function Clone() As MyClass
	End Function
End Class

また、デリゲートでは反変に対応すると、ライブラリのあらゆるイベントをSystem.EventHandler型のデリゲートで捕まえられるようになり、より統一性のある環境を構築できると思います。

Class MyEventArgs
	Inherits System.EventArgs
End Class

Delegate Sub MyEventHandler(sender As Object, e As MyEventArgs)

'System.EventHandlerはDelegate Sub EventHandler(sender As Object, e As System.EventArgs)と定義されている
Dim e As System.EventHandler
Dim m As MyEventHandler
m += e

メソッドの引数の反変は

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.