sentence: this is infrequently seen in modern code , but occurs in some uses of c. resource management without raii the dispose pattern many garbage-collected languages , including java , c# and python , support various forms of the dispose pattern to simplify cleanup of resources .