This file contains hidden or 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
{{mainTableName->secondaryTableName->rowName}} | |
//EXAMPLE: {{$house->saleotherroom->room3}} |
This file contains hidden or 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
@if(isset($tableName->field)) | |
@endif | |
//example: @if(isset($house->bedrooms)) | |
<strong>Bedrooms:</strong> {{$house->bedrooms}} <br/><br/> | |
@endif |
This file contains hidden or 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
composer dump-autoload |
This file contains hidden or 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
php artisan command:seo "your keywords for a new file" | |
//then copy a link from a file CopyLinks.txt |
This file contains hidden or 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
StringBuilder x = new StringBuilder(), | |
y = x; | |
x.Append("hello, "); | |
y.Append("world"); | |
Console.WriteLine(x.ToString()); | |
x = null; | |
Console.WriteLine(x); //blank line |
This file contains hidden or 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 Person | |
{ | |
//Creating fields | |
private string firstName; | |
private string lastName; | |
//Creating a constructor: | |
public Person(string firstName, string lastName) | |
{ | |
this.firstName = firstName; |
This file contains hidden or 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
//creating a method with FirstName property | |
public string FirstName | |
{ | |
get { return firstName; } | |
set | |
{ | |
lastName = value; | |
} | |
} |
This file contains hidden or 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 Person | |
{ | |
//Creating a property | |
public string FirstName { get; private set; } | |
public string LastName { get; private set; } | |
//Creating a constructor: | |
public Person(string firstName, string lastName) | |
{ | |
FirstName = firstName; |
This file contains hidden or 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
string strFileName = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + @"\Application\keywords.csv"; | |
//Path to the file name |
This file contains hidden or 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 Person | |
{ | |
//Creating a property | |
public string propFirstName { get; private set; } | |
public string propLastName { get; private set; } | |
//Creating a constructor: | |
public Person(string firstName, string lastName) | |
{ |