This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void Method(string word) | |
{ | |
char[] chart = new char[word.Length]; | |
for(int i=0; i<word.Length; i++) | |
{ | |
chart[i] = word[i]; | |
for(int j = 0; j < chart.Length; j++) | |
{ | |
Console.Write(chart[j]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void Method(string word) | |
{ | |
char[] chart = new char[word.Length]; | |
for(int i=0; i<word.Length; i++) | |
{ | |
chart[i] = word[i]; | |
for(int j = 0; j < chart.Length; j++) | |
{ | |
Console.Write(chart[j]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Samurai { | |
public IWeapon Weapon { get; private set; } | |
public Samurai(IWeapon weapon) | |
{ | |
this.Weapon = weapon; | |
} | |
} | |
public class WarriorModule : NinjectModule | |
{ |