Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int i = 0, i < array.Length, i++){
- MethodA (i);
- MethodB (i);
- MethodC (i);
- }
- void MethodA (int i) {
- //do something
- }
- void MethodB (int i) {
- //do something
- }
- void MethodC (int i) {
- //do something
- }
- void MethodA () {
- for(int i = 0, i < array.Length, i++){
- //do something
- }
- }
- void MethodB () {
- for(int i = 0, i < array.Length, i++){
- //do something
- }
- }
- void MethodC () {
- for(int i = 0, i < array.Length, i++){
- //do something
- }
- }
- void MethodA () {
- for(int i = 0, i < array.Length, i++){
- //do something
- MethodB (i);
- }
- }
- void MethodB (int i) {
- //do something
- MethodC (i);
- }
- void MethodC (int i) {
- //do something
- }
Add Comment
Please, Sign In to add comment